1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. eais
  5. ClientInstanceAttachment
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.eais.ClientInstanceAttachment

Explore with Pulumi AI

alicloud logo
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

    Import

    EAIS Client Instance Attachment can be imported using the id, e.g.

    $ pulumi import alicloud:eais/clientInstanceAttachment:ClientInstanceAttachment example <instance_id>:<client_instance_id>
    

    Create ClientInstanceAttachment Resource

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

    Constructor syntax

    new ClientInstanceAttachment(name: string, args: ClientInstanceAttachmentArgs, opts?: CustomResourceOptions);
    @overload
    def ClientInstanceAttachment(resource_name: str,
                                 args: ClientInstanceAttachmentArgs,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def ClientInstanceAttachment(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 client_instance_id: Optional[str] = None,
                                 instance_id: Optional[str] = None,
                                 category: Optional[str] = None,
                                 ei_instance_type: Optional[str] = None,
                                 status: Optional[str] = None)
    func NewClientInstanceAttachment(ctx *Context, name string, args ClientInstanceAttachmentArgs, opts ...ResourceOption) (*ClientInstanceAttachment, error)
    public ClientInstanceAttachment(string name, ClientInstanceAttachmentArgs args, CustomResourceOptions? opts = null)
    public ClientInstanceAttachment(String name, ClientInstanceAttachmentArgs args)
    public ClientInstanceAttachment(String name, ClientInstanceAttachmentArgs args, CustomResourceOptions options)
    
    type: alicloud:eais:ClientInstanceAttachment
    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 ClientInstanceAttachmentArgs
    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 ClientInstanceAttachmentArgs
    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 ClientInstanceAttachmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ClientInstanceAttachmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ClientInstanceAttachmentArgs
    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 clientInstanceAttachmentResource = new AliCloud.Eais.ClientInstanceAttachment("clientInstanceAttachmentResource", new()
    {
        ClientInstanceId = "string",
        InstanceId = "string",
        Category = "string",
        EiInstanceType = "string",
        Status = "string",
    });
    
    example, err := eais.NewClientInstanceAttachment(ctx, "clientInstanceAttachmentResource", &eais.ClientInstanceAttachmentArgs{
    	ClientInstanceId: pulumi.String("string"),
    	InstanceId:       pulumi.String("string"),
    	Category:         pulumi.String("string"),
    	EiInstanceType:   pulumi.String("string"),
    	Status:           pulumi.String("string"),
    })
    
    var clientInstanceAttachmentResource = new ClientInstanceAttachment("clientInstanceAttachmentResource", ClientInstanceAttachmentArgs.builder()
        .clientInstanceId("string")
        .instanceId("string")
        .category("string")
        .eiInstanceType("string")
        .status("string")
        .build());
    
    client_instance_attachment_resource = alicloud.eais.ClientInstanceAttachment("clientInstanceAttachmentResource",
        client_instance_id="string",
        instance_id="string",
        category="string",
        ei_instance_type="string",
        status="string")
    
    const clientInstanceAttachmentResource = new alicloud.eais.ClientInstanceAttachment("clientInstanceAttachmentResource", {
        clientInstanceId: "string",
        instanceId: "string",
        category: "string",
        eiInstanceType: "string",
        status: "string",
    });
    
    type: alicloud:eais:ClientInstanceAttachment
    properties:
        category: string
        clientInstanceId: string
        eiInstanceType: string
        instanceId: string
        status: string
    

    ClientInstanceAttachment Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ClientInstanceAttachment resource accepts the following input properties:

    ClientInstanceId string
    The ID of the ECS or ECI instance bound to the EAIS instance.
    InstanceId string
    The EAIS instance ID.
    Category string
    EAIS instance category, valid values: eais, ei, default is eais.
    EiInstanceType string
    The Ei instance specification, which is used to filter matching specifications for updating.
    Status string
    The status of the resource
    ClientInstanceId string
    The ID of the ECS or ECI instance bound to the EAIS instance.
    InstanceId string
    The EAIS instance ID.
    Category string
    EAIS instance category, valid values: eais, ei, default is eais.
    EiInstanceType string
    The Ei instance specification, which is used to filter matching specifications for updating.
    Status string
    The status of the resource
    clientInstanceId String
    The ID of the ECS or ECI instance bound to the EAIS instance.
    instanceId String
    The EAIS instance ID.
    category String
    EAIS instance category, valid values: eais, ei, default is eais.
    eiInstanceType String
    The Ei instance specification, which is used to filter matching specifications for updating.
    status String
    The status of the resource
    clientInstanceId string
    The ID of the ECS or ECI instance bound to the EAIS instance.
    instanceId string
    The EAIS instance ID.
    category string
    EAIS instance category, valid values: eais, ei, default is eais.
    eiInstanceType string
    The Ei instance specification, which is used to filter matching specifications for updating.
    status string
    The status of the resource
    client_instance_id str
    The ID of the ECS or ECI instance bound to the EAIS instance.
    instance_id str
    The EAIS instance ID.
    category str
    EAIS instance category, valid values: eais, ei, default is eais.
    ei_instance_type str
    The Ei instance specification, which is used to filter matching specifications for updating.
    status str
    The status of the resource
    clientInstanceId String
    The ID of the ECS or ECI instance bound to the EAIS instance.
    instanceId String
    The EAIS instance ID.
    category String
    EAIS instance category, valid values: eais, ei, default is eais.
    eiInstanceType String
    The Ei instance specification, which is used to filter matching specifications for updating.
    status String
    The status of the resource

    Outputs

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

    CreateTime string
    The creation time of the resource
    Id string
    The provider-assigned unique ID for this managed resource.
    RegionId string
    The region ID of the resource
    CreateTime string
    The creation time of the resource
    Id string
    The provider-assigned unique ID for this managed resource.
    RegionId string
    The region ID of the resource
    createTime String
    The creation time of the resource
    id String
    The provider-assigned unique ID for this managed resource.
    regionId String
    The region ID of the resource
    createTime string
    The creation time of the resource
    id string
    The provider-assigned unique ID for this managed resource.
    regionId string
    The region ID of the resource
    create_time str
    The creation time of the resource
    id str
    The provider-assigned unique ID for this managed resource.
    region_id str
    The region ID of the resource
    createTime String
    The creation time of the resource
    id String
    The provider-assigned unique ID for this managed resource.
    regionId String
    The region ID of the resource

    Look up Existing ClientInstanceAttachment Resource

    Get an existing ClientInstanceAttachment 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?: ClientInstanceAttachmentState, opts?: CustomResourceOptions): ClientInstanceAttachment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            category: Optional[str] = None,
            client_instance_id: Optional[str] = None,
            create_time: Optional[str] = None,
            ei_instance_type: Optional[str] = None,
            instance_id: Optional[str] = None,
            region_id: Optional[str] = None,
            status: Optional[str] = None) -> ClientInstanceAttachment
    func GetClientInstanceAttachment(ctx *Context, name string, id IDInput, state *ClientInstanceAttachmentState, opts ...ResourceOption) (*ClientInstanceAttachment, error)
    public static ClientInstanceAttachment Get(string name, Input<string> id, ClientInstanceAttachmentState? state, CustomResourceOptions? opts = null)
    public static ClientInstanceAttachment get(String name, Output<String> id, ClientInstanceAttachmentState state, CustomResourceOptions options)
    resources:  _:    type: alicloud:eais:ClientInstanceAttachment    get:      id: ${id}
    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:
    Category string
    EAIS instance category, valid values: eais, ei, default is eais.
    ClientInstanceId string
    The ID of the ECS or ECI instance bound to the EAIS instance.
    CreateTime string
    The creation time of the resource
    EiInstanceType string
    The Ei instance specification, which is used to filter matching specifications for updating.
    InstanceId string
    The EAIS instance ID.
    RegionId string
    The region ID of the resource
    Status string
    The status of the resource
    Category string
    EAIS instance category, valid values: eais, ei, default is eais.
    ClientInstanceId string
    The ID of the ECS or ECI instance bound to the EAIS instance.
    CreateTime string
    The creation time of the resource
    EiInstanceType string
    The Ei instance specification, which is used to filter matching specifications for updating.
    InstanceId string
    The EAIS instance ID.
    RegionId string
    The region ID of the resource
    Status string
    The status of the resource
    category String
    EAIS instance category, valid values: eais, ei, default is eais.
    clientInstanceId String
    The ID of the ECS or ECI instance bound to the EAIS instance.
    createTime String
    The creation time of the resource
    eiInstanceType String
    The Ei instance specification, which is used to filter matching specifications for updating.
    instanceId String
    The EAIS instance ID.
    regionId String
    The region ID of the resource
    status String
    The status of the resource
    category string
    EAIS instance category, valid values: eais, ei, default is eais.
    clientInstanceId string
    The ID of the ECS or ECI instance bound to the EAIS instance.
    createTime string
    The creation time of the resource
    eiInstanceType string
    The Ei instance specification, which is used to filter matching specifications for updating.
    instanceId string
    The EAIS instance ID.
    regionId string
    The region ID of the resource
    status string
    The status of the resource
    category str
    EAIS instance category, valid values: eais, ei, default is eais.
    client_instance_id str
    The ID of the ECS or ECI instance bound to the EAIS instance.
    create_time str
    The creation time of the resource
    ei_instance_type str
    The Ei instance specification, which is used to filter matching specifications for updating.
    instance_id str
    The EAIS instance ID.
    region_id str
    The region ID of the resource
    status str
    The status of the resource
    category String
    EAIS instance category, valid values: eais, ei, default is eais.
    clientInstanceId String
    The ID of the ECS or ECI instance bound to the EAIS instance.
    createTime String
    The creation time of the resource
    eiInstanceType String
    The Ei instance specification, which is used to filter matching specifications for updating.
    instanceId String
    The EAIS instance ID.
    regionId String
    The region ID of the resource
    status String
    The status of the resource

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi