import * as pulumi from "@pulumi/pulumi"; /** * Returns a specified API. */ export declare function getApi(args: GetApiArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetApiArgs { apiId: string; location: string; project?: string; } export interface GetApiResult { /** * Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts. */ readonly annotations: { [key: string]: string; }; /** * A user-definable description of the availability of this service. Format: free-form, but we expect single words that describe availability, e.g., "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN". */ readonly availability: string; /** * Creation timestamp. */ readonly createTime: string; /** * A detailed description. */ readonly description: string; /** * Human-meaningful name. */ readonly displayName: string; /** * Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with `apigeeregistry.googleapis.com/` and cannot be changed. */ readonly labels: { [key: string]: string; }; /** * Resource name. */ readonly name: string; /** * The recommended deployment of the API. Format: `projects/{project}/locations/{location}/apis/{api}/deployments/{deployment}` */ readonly recommendedDeployment: string; /** * The recommended version of the API. Format: `projects/{project}/locations/{location}/apis/{api}/versions/{version}` */ readonly recommendedVersion: string; /** * Last update timestamp. */ readonly updateTime: string; } /** * Returns a specified API. */ export declare function getApiOutput(args: GetApiOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetApiOutputArgs { apiId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; }