import * as pulumi from "@pulumi/pulumi"; import * as enums from "../../types/enums"; /** * Creates an Apigee runtime instance. The instance is accessible from the authorized network configured on the organization. **Note:** Not supported for Apigee hybrid. */ export declare class Instance extends pulumi.CustomResource { /** * Get an existing Instance resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Instance; /** * Returns true if the given object is an instance of Instance. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Instance; /** * Optional. Customer accept list represents the list of projects (id/number) on customer side that can privately connect to the service attachment. It is an optional field which the customers can provide during the instance creation. By default, the customer project associated with the Apigee organization will be included to the list. */ readonly consumerAcceptList: pulumi.Output; /** * Time the instance was created in milliseconds since epoch. */ readonly createdAt: pulumi.Output; /** * Optional. Description of the instance. */ readonly description: pulumi.Output; /** * Customer Managed Encryption Key (CMEK) used for disk and volume encryption. Required for Apigee paid subscriptions only. Use the following format: `projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)` */ readonly diskEncryptionKeyName: pulumi.Output; /** * Optional. Display name for the instance. */ readonly displayName: pulumi.Output; /** * Internal hostname or IP address of the Apigee endpoint used by clients to connect to the service. */ readonly host: pulumi.Output; /** * Optional. Comma-separated list of CIDR blocks of length 22 and/or 28 used to create the Apigee instance. Providing CIDR ranges is optional. You can provide just /22 or /28 or both (or neither). Ranges you provide should be freely available as part of a larger named range you have allocated to the Service Networking peering. If this parameter is not provided, Apigee automatically requests an available /22 and /28 CIDR block from Service Networking. Use the /22 CIDR block for configuring your firewall needs to allow traffic from Apigee. Input formats: `a.b.c.d/22` or `e.f.g.h/28` or `a.b.c.d/22,e.f.g.h/28` */ readonly ipRange: pulumi.Output; /** * Time the instance was last modified in milliseconds since epoch. */ readonly lastModifiedAt: pulumi.Output; /** * Compute Engine location where the instance resides. */ readonly location: pulumi.Output; /** * Resource ID of the instance. Values must match the regular expression `^a-z{0,30}[a-z\d]$`. */ readonly name: pulumi.Output; readonly organizationId: pulumi.Output; /** * Optional. Size of the CIDR block range that will be reserved by the instance. PAID organizations support `SLASH_16` to `SLASH_20` and defaults to `SLASH_16`. Evaluation organizations support only `SLASH_23`. */ readonly peeringCidrRange: pulumi.Output; /** * Port number of the exposed Apigee endpoint. */ readonly port: pulumi.Output; /** * Version of the runtime system running in the instance. The runtime system is the set of components that serve the API Proxy traffic in your Environments. */ readonly runtimeVersion: pulumi.Output; /** * Resource name of the service attachment created for the instance in the format: `projects/*/regions/*/serviceAttachments/*` Apigee customers can privately forward traffic to this service attachment using the PSC endpoints. */ readonly serviceAttachment: pulumi.Output; /** * State of the instance. Values other than `ACTIVE` means the resource is not ready to use. */ readonly state: pulumi.Output; /** * Create a Instance resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: InstanceArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Instance resource. */ export interface InstanceArgs { /** * Optional. Customer accept list represents the list of projects (id/number) on customer side that can privately connect to the service attachment. It is an optional field which the customers can provide during the instance creation. By default, the customer project associated with the Apigee organization will be included to the list. */ consumerAcceptList?: pulumi.Input[]>; /** * Optional. Description of the instance. */ description?: pulumi.Input; /** * Customer Managed Encryption Key (CMEK) used for disk and volume encryption. Required for Apigee paid subscriptions only. Use the following format: `projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+)` */ diskEncryptionKeyName?: pulumi.Input; /** * Optional. Display name for the instance. */ displayName?: pulumi.Input; /** * Optional. Comma-separated list of CIDR blocks of length 22 and/or 28 used to create the Apigee instance. Providing CIDR ranges is optional. You can provide just /22 or /28 or both (or neither). Ranges you provide should be freely available as part of a larger named range you have allocated to the Service Networking peering. If this parameter is not provided, Apigee automatically requests an available /22 and /28 CIDR block from Service Networking. Use the /22 CIDR block for configuring your firewall needs to allow traffic from Apigee. Input formats: `a.b.c.d/22` or `e.f.g.h/28` or `a.b.c.d/22,e.f.g.h/28` */ ipRange?: pulumi.Input; /** * Compute Engine location where the instance resides. */ location?: pulumi.Input; /** * Resource ID of the instance. Values must match the regular expression `^a-z{0,30}[a-z\d]$`. */ name?: pulumi.Input; organizationId: pulumi.Input; /** * Optional. Size of the CIDR block range that will be reserved by the instance. PAID organizations support `SLASH_16` to `SLASH_20` and defaults to `SLASH_16`. Evaluation organizations support only `SLASH_23`. */ peeringCidrRange?: pulumi.Input; }