import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets an API proxy including a list of existing revisions. */ export declare function getApi(args: GetApiArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetApiArgs { apiId: string; organizationId: string; } export interface GetApiResult { /** * The type of the API proxy. */ readonly apiProxyType: string; /** * User labels applied to this API Proxy. */ readonly labels: { [key: string]: string; }; /** * The id of the most recently created revision for this api proxy. */ readonly latestRevisionId: string; /** * Metadata describing the API proxy. */ readonly metaData: outputs.apigee.v1.GoogleCloudApigeeV1EntityMetadataResponse; /** * Name of the API proxy. */ readonly name: string; /** * Whether this proxy is read-only. A read-only proxy cannot have new revisions created through calls to CreateApiProxyRevision. A proxy is read-only if it was generated by an archive. */ readonly readOnly: boolean; /** * List of revisions defined for the API proxy. */ readonly revision: string[]; } /** * Gets an API proxy including a list of existing revisions. */ export declare function getApiOutput(args: GetApiOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetApiOutputArgs { apiId: pulumi.Input; organizationId: pulumi.Input; }