UNPKG

@pulumi/gcp

Version:

A Pulumi package for creating and managing Google Cloud Platform resources.

99 lines 2.81 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Get information about a Google Apigee Instance. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const myInstance = gcp.apigee.getInstance({ * name: "my-instance-name", * orgId: "organizations/my-org-id", * }); * ``` */ export declare function getInstance(args: GetInstanceArgs, opts?: pulumi.InvokeOptions): Promise<GetInstanceResult>; /** * A collection of arguments for invoking getInstance. */ export interface GetInstanceArgs { /** * The name of the Apigee instance. [3] */ name: string; /** * The Apigee Organization associated with the instance, in the format `organizations/{{org_name}}`. [3] */ orgId: string; } /** * A collection of values returned by getInstance. */ export interface GetInstanceResult { readonly accessLoggingConfigs: outputs.apigee.GetInstanceAccessLoggingConfig[]; readonly consumerAcceptLists: string[]; readonly deletionPolicy: string; readonly description: string; readonly diskEncryptionKeyName: string; readonly displayName: string; /** * The hostname or IP address of the exposed Apigee endpoint. [3] */ readonly host: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The IP range used by the instance. [3] */ readonly ipRange: string; /** * The GCP region where the instance resides. [3] */ readonly location: string; readonly name: string; readonly orgId: string; readonly peeringCidrRange: string; /** * The port number of the exposed Apigee endpoint. [3] */ readonly port: string; /** * The PSC service attachment for the instance. [3] */ readonly serviceAttachment: string; } /** * Get information about a Google Apigee Instance. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const myInstance = gcp.apigee.getInstance({ * name: "my-instance-name", * orgId: "organizations/my-org-id", * }); * ``` */ export declare function getInstanceOutput(args: GetInstanceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetInstanceResult>; /** * A collection of arguments for invoking getInstance. */ export interface GetInstanceOutputArgs { /** * The name of the Apigee instance. [3] */ name: pulumi.Input<string>; /** * The Apigee Organization associated with the instance, in the format `organizations/{{org_name}}`. [3] */ orgId: pulumi.Input<string>; } //# sourceMappingURL=getInstance.d.ts.map