import * as pulumi from "@pulumi/pulumi"; /** * An `Environment Group attachment` in Apigee. * * To get more information about EnvgroupAttachment, see: * * * [API documentation](https://cloud.google.com/apigee/docs/reference/apis/apigee/rest/v1/organizations.envgroups.attachments/create) * * How-to Guides * * [Creating an environment](https://cloud.google.com/apigee/docs/api-platform/get-started/create-environment) * * ## Example Usage * * ## Import * * EnvgroupAttachment can be imported using any of these accepted formats: * * * `{{envgroup_id}}/attachments/{{name}}` * * * `{{envgroup_id}}/{{name}}` * * When using the `pulumi import` command, EnvgroupAttachment can be imported using one of the formats above. For example: * * ```sh * $ pulumi import gcp:apigee/envGroupAttachment:EnvGroupAttachment default {{envgroup_id}}/attachments/{{name}} * ``` * * ```sh * $ pulumi import gcp:apigee/envGroupAttachment:EnvGroupAttachment default {{envgroup_id}}/{{name}} * ``` */ export declare class EnvGroupAttachment extends pulumi.CustomResource { /** * Get an existing EnvGroupAttachment 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: EnvGroupAttachmentState, opts?: pulumi.CustomResourceOptions): EnvGroupAttachment; /** * Returns true if the given object is an instance of EnvGroupAttachment. 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 EnvGroupAttachment; /** * The Apigee environment group associated with the Apigee environment, * in the format `organizations/{{org_name}}/envgroups/{{envgroup_name}}`. */ readonly envgroupId: pulumi.Output; /** * The resource ID of the environment. */ readonly environment: pulumi.Output; /** * The name of the newly created attachment (output parameter). */ readonly name: pulumi.Output; /** * Create a EnvGroupAttachment 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: EnvGroupAttachmentArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering EnvGroupAttachment resources. */ export interface EnvGroupAttachmentState { /** * The Apigee environment group associated with the Apigee environment, * in the format `organizations/{{org_name}}/envgroups/{{envgroup_name}}`. */ envgroupId?: pulumi.Input; /** * The resource ID of the environment. */ environment?: pulumi.Input; /** * The name of the newly created attachment (output parameter). */ name?: pulumi.Input; } /** * The set of arguments for constructing a EnvGroupAttachment resource. */ export interface EnvGroupAttachmentArgs { /** * The Apigee environment group associated with the Apigee environment, * in the format `organizations/{{org_name}}/envgroups/{{envgroup_name}}`. */ envgroupId: pulumi.Input; /** * The resource ID of the environment. */ environment: pulumi.Input; }