1. Packages
  2. Google Cloud Native
  3. API Docs
  4. apigee
  5. apigee/v1
  6. InstanceAttachment

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.apigee/v1.InstanceAttachment

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Creates a new attachment of an environment to an instance. Note: Not supported for Apigee hybrid. Auto-naming is currently not supported for this resource.

    Create InstanceAttachment Resource

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

    Constructor syntax

    new InstanceAttachment(name: string, args: InstanceAttachmentArgs, opts?: CustomResourceOptions);
    @overload
    def InstanceAttachment(resource_name: str,
                           args: InstanceAttachmentArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def InstanceAttachment(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           instance_id: Optional[str] = None,
                           organization_id: Optional[str] = None,
                           environment: Optional[str] = None)
    func NewInstanceAttachment(ctx *Context, name string, args InstanceAttachmentArgs, opts ...ResourceOption) (*InstanceAttachment, error)
    public InstanceAttachment(string name, InstanceAttachmentArgs args, CustomResourceOptions? opts = null)
    public InstanceAttachment(String name, InstanceAttachmentArgs args)
    public InstanceAttachment(String name, InstanceAttachmentArgs args, CustomResourceOptions options)
    
    type: google-native:apigee/v1:InstanceAttachment
    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 InstanceAttachmentArgs
    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 InstanceAttachmentArgs
    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 InstanceAttachmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InstanceAttachmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InstanceAttachmentArgs
    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 instanceAttachmentResource = new GoogleNative.Apigee.V1.InstanceAttachment("instanceAttachmentResource", new()
    {
        InstanceId = "string",
        OrganizationId = "string",
        Environment = "string",
    });
    
    example, err := apigee.NewInstanceAttachment(ctx, "instanceAttachmentResource", &apigee.InstanceAttachmentArgs{
    	InstanceId:     pulumi.String("string"),
    	OrganizationId: pulumi.String("string"),
    	Environment:    pulumi.String("string"),
    })
    
    var instanceAttachmentResource = new InstanceAttachment("instanceAttachmentResource", InstanceAttachmentArgs.builder()
        .instanceId("string")
        .organizationId("string")
        .environment("string")
        .build());
    
    instance_attachment_resource = google_native.apigee.v1.InstanceAttachment("instanceAttachmentResource",
        instance_id="string",
        organization_id="string",
        environment="string")
    
    const instanceAttachmentResource = new google_native.apigee.v1.InstanceAttachment("instanceAttachmentResource", {
        instanceId: "string",
        organizationId: "string",
        environment: "string",
    });
    
    type: google-native:apigee/v1:InstanceAttachment
    properties:
        environment: string
        instanceId: string
        organizationId: string
    

    InstanceAttachment 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 InstanceAttachment resource accepts the following input properties:

    InstanceId string
    OrganizationId string
    Environment string
    ID of the attached environment.
    InstanceId string
    OrganizationId string
    Environment string
    ID of the attached environment.
    instanceId String
    organizationId String
    environment String
    ID of the attached environment.
    instanceId string
    organizationId string
    environment string
    ID of the attached environment.
    instance_id str
    organization_id str
    environment str
    ID of the attached environment.
    instanceId String
    organizationId String
    environment String
    ID of the attached environment.

    Outputs

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

    CreatedAt string
    Time the attachment was created in milliseconds since epoch.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    ID of the attachment.
    CreatedAt string
    Time the attachment was created in milliseconds since epoch.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    ID of the attachment.
    createdAt String
    Time the attachment was created in milliseconds since epoch.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    ID of the attachment.
    createdAt string
    Time the attachment was created in milliseconds since epoch.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    ID of the attachment.
    created_at str
    Time the attachment was created in milliseconds since epoch.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    ID of the attachment.
    createdAt String
    Time the attachment was created in milliseconds since epoch.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    ID of the attachment.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi