1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. apigee
  5. EnvGroupAttachment
Google Cloud Classic v8.3.1 published on Wednesday, Sep 25, 2024 by Pulumi

gcp.apigee.EnvGroupAttachment

Explore with Pulumi AI

gcp logo
Google Cloud Classic v8.3.1 published on Wednesday, Sep 25, 2024 by Pulumi

    An Environment Group attachment in Apigee.

    To get more information about EnvgroupAttachment, see:

    Example Usage

    Create EnvGroupAttachment Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new EnvGroupAttachment(name: string, args: EnvGroupAttachmentArgs, opts?: CustomResourceOptions);
    @overload
    def EnvGroupAttachment(resource_name: str,
                           args: EnvGroupAttachmentArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def EnvGroupAttachment(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           envgroup_id: Optional[str] = None,
                           environment: Optional[str] = None)
    func NewEnvGroupAttachment(ctx *Context, name string, args EnvGroupAttachmentArgs, opts ...ResourceOption) (*EnvGroupAttachment, error)
    public EnvGroupAttachment(string name, EnvGroupAttachmentArgs args, CustomResourceOptions? opts = null)
    public EnvGroupAttachment(String name, EnvGroupAttachmentArgs args)
    public EnvGroupAttachment(String name, EnvGroupAttachmentArgs args, CustomResourceOptions options)
    
    type: gcp:apigee:EnvGroupAttachment
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args EnvGroupAttachmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args EnvGroupAttachmentArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args EnvGroupAttachmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EnvGroupAttachmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EnvGroupAttachmentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var envGroupAttachmentResource = new Gcp.Apigee.EnvGroupAttachment("envGroupAttachmentResource", new()
    {
        EnvgroupId = "string",
        Environment = "string",
    });
    
    example, err := apigee.NewEnvGroupAttachment(ctx, "envGroupAttachmentResource", &apigee.EnvGroupAttachmentArgs{
    	EnvgroupId:  pulumi.String("string"),
    	Environment: pulumi.String("string"),
    })
    
    var envGroupAttachmentResource = new EnvGroupAttachment("envGroupAttachmentResource", EnvGroupAttachmentArgs.builder()
        .envgroupId("string")
        .environment("string")
        .build());
    
    env_group_attachment_resource = gcp.apigee.EnvGroupAttachment("envGroupAttachmentResource",
        envgroup_id="string",
        environment="string")
    
    const envGroupAttachmentResource = new gcp.apigee.EnvGroupAttachment("envGroupAttachmentResource", {
        envgroupId: "string",
        environment: "string",
    });
    
    type: gcp:apigee:EnvGroupAttachment
    properties:
        envgroupId: string
        environment: string
    

    EnvGroupAttachment Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The EnvGroupAttachment resource accepts the following input properties:

    EnvgroupId string
    The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/envgroups/{{envgroup_name}}.


    Environment string
    The resource ID of the environment.
    EnvgroupId string
    The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/envgroups/{{envgroup_name}}.


    Environment string
    The resource ID of the environment.
    envgroupId String
    The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/envgroups/{{envgroup_name}}.


    environment String
    The resource ID of the environment.
    envgroupId string
    The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/envgroups/{{envgroup_name}}.


    environment string
    The resource ID of the environment.
    envgroup_id str
    The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/envgroups/{{envgroup_name}}.


    environment str
    The resource ID of the environment.
    envgroupId String
    The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/envgroups/{{envgroup_name}}.


    environment String
    The resource ID of the environment.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the EnvGroupAttachment resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the newly created attachment (output parameter).
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the newly created attachment (output parameter).
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the newly created attachment (output parameter).
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the newly created attachment (output parameter).
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the newly created attachment (output parameter).
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the newly created attachment (output parameter).

    Look up Existing EnvGroupAttachment Resource

    Get an existing EnvGroupAttachment resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: EnvGroupAttachmentState, opts?: CustomResourceOptions): EnvGroupAttachment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            envgroup_id: Optional[str] = None,
            environment: Optional[str] = None,
            name: Optional[str] = None) -> EnvGroupAttachment
    func GetEnvGroupAttachment(ctx *Context, name string, id IDInput, state *EnvGroupAttachmentState, opts ...ResourceOption) (*EnvGroupAttachment, error)
    public static EnvGroupAttachment Get(string name, Input<string> id, EnvGroupAttachmentState? state, CustomResourceOptions? opts = null)
    public static EnvGroupAttachment get(String name, Output<String> id, EnvGroupAttachmentState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    EnvgroupId string
    The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/envgroups/{{envgroup_name}}.


    Environment string
    The resource ID of the environment.
    Name string
    The name of the newly created attachment (output parameter).
    EnvgroupId string
    The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/envgroups/{{envgroup_name}}.


    Environment string
    The resource ID of the environment.
    Name string
    The name of the newly created attachment (output parameter).
    envgroupId String
    The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/envgroups/{{envgroup_name}}.


    environment String
    The resource ID of the environment.
    name String
    The name of the newly created attachment (output parameter).
    envgroupId string
    The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/envgroups/{{envgroup_name}}.


    environment string
    The resource ID of the environment.
    name string
    The name of the newly created attachment (output parameter).
    envgroup_id str
    The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/envgroups/{{envgroup_name}}.


    environment str
    The resource ID of the environment.
    name str
    The name of the newly created attachment (output parameter).
    envgroupId String
    The Apigee environment group associated with the Apigee environment, in the format organizations/{{org_name}}/envgroups/{{envgroup_name}}.


    environment String
    The resource ID of the environment.
    name String
    The name of the newly created attachment (output parameter).

    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:

    $ pulumi import gcp:apigee/envGroupAttachment:EnvGroupAttachment default {{envgroup_id}}/attachments/{{name}}
    
    $ pulumi import gcp:apigee/envGroupAttachment:EnvGroupAttachment default {{envgroup_id}}/{{name}}
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Google Cloud Classic v8.3.1 published on Wednesday, Sep 25, 2024 by Pulumi