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>
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:
- Client
Instance stringId - The ID of the ECS or ECI instance bound to the EAIS instance.
- Instance
Id string - The EAIS instance ID.
- Category string
- EAIS instance category, valid values:
eais
,ei
, default iseais
. - Ei
Instance stringType - The Ei instance specification, which is used to filter matching specifications for updating.
- Status string
- The status of the resource
- Client
Instance stringId - The ID of the ECS or ECI instance bound to the EAIS instance.
- Instance
Id string - The EAIS instance ID.
- Category string
- EAIS instance category, valid values:
eais
,ei
, default iseais
. - Ei
Instance stringType - The Ei instance specification, which is used to filter matching specifications for updating.
- Status string
- The status of the resource
- client
Instance StringId - The ID of the ECS or ECI instance bound to the EAIS instance.
- instance
Id String - The EAIS instance ID.
- category String
- EAIS instance category, valid values:
eais
,ei
, default iseais
. - ei
Instance StringType - The Ei instance specification, which is used to filter matching specifications for updating.
- status String
- The status of the resource
- client
Instance stringId - The ID of the ECS or ECI instance bound to the EAIS instance.
- instance
Id string - The EAIS instance ID.
- category string
- EAIS instance category, valid values:
eais
,ei
, default iseais
. - ei
Instance stringType - The Ei instance specification, which is used to filter matching specifications for updating.
- status string
- The status of the resource
- client_
instance_ strid - 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 iseais
. - ei_
instance_ strtype - The Ei instance specification, which is used to filter matching specifications for updating.
- status str
- The status of the resource
- client
Instance StringId - The ID of the ECS or ECI instance bound to the EAIS instance.
- instance
Id String - The EAIS instance ID.
- category String
- EAIS instance category, valid values:
eais
,ei
, default iseais
. - ei
Instance StringType - 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:
- Create
Time string - The creation time of the resource
- Id string
- The provider-assigned unique ID for this managed resource.
- Region
Id string - The region ID of the resource
- Create
Time string - The creation time of the resource
- Id string
- The provider-assigned unique ID for this managed resource.
- Region
Id string - The region ID of the resource
- create
Time String - The creation time of the resource
- id String
- The provider-assigned unique ID for this managed resource.
- region
Id String - The region ID of the resource
- create
Time string - The creation time of the resource
- id string
- The provider-assigned unique ID for this managed resource.
- region
Id 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
- create
Time String - The creation time of the resource
- id String
- The provider-assigned unique ID for this managed resource.
- region
Id 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.
- Category string
- EAIS instance category, valid values:
eais
,ei
, default iseais
. - Client
Instance stringId - The ID of the ECS or ECI instance bound to the EAIS instance.
- Create
Time string - The creation time of the resource
- Ei
Instance stringType - The Ei instance specification, which is used to filter matching specifications for updating.
- Instance
Id string - The EAIS instance ID.
- Region
Id string - The region ID of the resource
- Status string
- The status of the resource
- Category string
- EAIS instance category, valid values:
eais
,ei
, default iseais
. - Client
Instance stringId - The ID of the ECS or ECI instance bound to the EAIS instance.
- Create
Time string - The creation time of the resource
- Ei
Instance stringType - The Ei instance specification, which is used to filter matching specifications for updating.
- Instance
Id string - The EAIS instance ID.
- Region
Id string - The region ID of the resource
- Status string
- The status of the resource
- category String
- EAIS instance category, valid values:
eais
,ei
, default iseais
. - client
Instance StringId - The ID of the ECS or ECI instance bound to the EAIS instance.
- create
Time String - The creation time of the resource
- ei
Instance StringType - The Ei instance specification, which is used to filter matching specifications for updating.
- instance
Id String - The EAIS instance ID.
- region
Id String - The region ID of the resource
- status String
- The status of the resource
- category string
- EAIS instance category, valid values:
eais
,ei
, default iseais
. - client
Instance stringId - The ID of the ECS or ECI instance bound to the EAIS instance.
- create
Time string - The creation time of the resource
- ei
Instance stringType - The Ei instance specification, which is used to filter matching specifications for updating.
- instance
Id string - The EAIS instance ID.
- region
Id string - The region ID of the resource
- status string
- The status of the resource
- category str
- EAIS instance category, valid values:
eais
,ei
, default iseais
. - client_
instance_ strid - The ID of the ECS or ECI instance bound to the EAIS instance.
- create_
time str - The creation time of the resource
- ei_
instance_ strtype - 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 iseais
. - client
Instance StringId - The ID of the ECS or ECI instance bound to the EAIS instance.
- create
Time String - The creation time of the resource
- ei
Instance StringType - The Ei instance specification, which is used to filter matching specifications for updating.
- instance
Id String - The EAIS instance ID.
- region
Id 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.