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

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>
Copy

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 This property is required. string
The unique name of the resource.
args This property is required. ClientInstanceAttachmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. 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 This property is required. string
The unique name of the resource.
args This property is required. ClientInstanceAttachmentArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ClientInstanceAttachmentArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. 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",
});
Copy
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"),
})
Copy
var clientInstanceAttachmentResource = new ClientInstanceAttachment("clientInstanceAttachmentResource", ClientInstanceAttachmentArgs.builder()
    .clientInstanceId("string")
    .instanceId("string")
    .category("string")
    .eiInstanceType("string")
    .status("string")
    .build());
Copy
client_instance_attachment_resource = alicloud.eais.ClientInstanceAttachment("clientInstanceAttachmentResource",
    client_instance_id="string",
    instance_id="string",
    category="string",
    ei_instance_type="string",
    status="string")
Copy
const clientInstanceAttachmentResource = new alicloud.eais.ClientInstanceAttachment("clientInstanceAttachmentResource", {
    clientInstanceId: "string",
    instanceId: "string",
    category: "string",
    eiInstanceType: "string",
    status: "string",
});
Copy
type: alicloud:eais:ClientInstanceAttachment
properties:
    category: string
    clientInstanceId: string
    eiInstanceType: string
    instanceId: string
    status: string
Copy

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
This property is required.
Changes to this property will trigger replacement.
string
The ID of the ECS or ECI instance bound to the EAIS instance.
InstanceId
This property is required.
Changes to this property will trigger replacement.
string
The EAIS instance ID.
Category string
EAIS instance category, valid values: eais, ei, default is eais.
EiInstanceType Changes to this property will trigger replacement. string
The Ei instance specification, which is used to filter matching specifications for updating.
Status string
The status of the resource
ClientInstanceId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the ECS or ECI instance bound to the EAIS instance.
InstanceId
This property is required.
Changes to this property will trigger replacement.
string
The EAIS instance ID.
Category string
EAIS instance category, valid values: eais, ei, default is eais.
EiInstanceType Changes to this property will trigger replacement. string
The Ei instance specification, which is used to filter matching specifications for updating.
Status string
The status of the resource
clientInstanceId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the ECS or ECI instance bound to the EAIS instance.
instanceId
This property is required.
Changes to this property will trigger replacement.
String
The EAIS instance ID.
category String
EAIS instance category, valid values: eais, ei, default is eais.
eiInstanceType Changes to this property will trigger replacement. String
The Ei instance specification, which is used to filter matching specifications for updating.
status String
The status of the resource
clientInstanceId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the ECS or ECI instance bound to the EAIS instance.
instanceId
This property is required.
Changes to this property will trigger replacement.
string
The EAIS instance ID.
category string
EAIS instance category, valid values: eais, ei, default is eais.
eiInstanceType Changes to this property will trigger replacement. string
The Ei instance specification, which is used to filter matching specifications for updating.
status string
The status of the resource
client_instance_id
This property is required.
Changes to this property will trigger replacement.
str
The ID of the ECS or ECI instance bound to the EAIS instance.
instance_id
This property is required.
Changes to this property will trigger replacement.
str
The EAIS instance ID.
category str
EAIS instance category, valid values: eais, ei, default is eais.
ei_instance_type Changes to this property will trigger replacement. str
The Ei instance specification, which is used to filter matching specifications for updating.
status str
The status of the resource
clientInstanceId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the ECS or ECI instance bound to the EAIS instance.
instanceId
This property is required.
Changes to this property will trigger replacement.
String
The EAIS instance ID.
category String
EAIS instance category, valid values: eais, ei, default is eais.
eiInstanceType Changes to this property will trigger replacement. 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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 Changes to this property will trigger replacement. string
The ID of the ECS or ECI instance bound to the EAIS instance.
CreateTime string
The creation time of the resource
EiInstanceType Changes to this property will trigger replacement. string
The Ei instance specification, which is used to filter matching specifications for updating.
InstanceId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The ID of the ECS or ECI instance bound to the EAIS instance.
CreateTime string
The creation time of the resource
EiInstanceType Changes to this property will trigger replacement. string
The Ei instance specification, which is used to filter matching specifications for updating.
InstanceId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
The ID of the ECS or ECI instance bound to the EAIS instance.
createTime String
The creation time of the resource
eiInstanceType Changes to this property will trigger replacement. String
The Ei instance specification, which is used to filter matching specifications for updating.
instanceId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. string
The ID of the ECS or ECI instance bound to the EAIS instance.
createTime string
The creation time of the resource
eiInstanceType Changes to this property will trigger replacement. string
The Ei instance specification, which is used to filter matching specifications for updating.
instanceId Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. str
The Ei instance specification, which is used to filter matching specifications for updating.
instance_id Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. String
The ID of the ECS or ECI instance bound to the EAIS instance.
createTime String
The creation time of the resource
eiInstanceType Changes to this property will trigger replacement. String
The Ei instance specification, which is used to filter matching specifications for updating.
instanceId Changes to this property will trigger replacement. 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.