All Products
Search
Document Center

CloudOps Orchestration Service:ACS::ECS::ModifyInstanceVpcAttribute

Last Updated:Jun 18, 2024

Description

Modifies the virtual private cloud (VPC) settings of an Elastic Compute Service (ECS) instance that is deployed in a VPC.

Syntax

Action: ACS::ECS::ModifyInstanceVpcAttribute
Properties:
 regionId: String
 instanceId: String
 vSwitchId: String

Attributes

Attribute

Description

Type

Required

Default value

Limit

regionId

The region ID.

String

No

{{ ACS::RegionId }}

instanceId

The ID of the ECS instance.

String

Yes

The ID must be 1 to 30 characters in length.

vSwitchId

The vSwitch ID.

String

Yes

Regular expression for string verification: vsw-[A-Za-z0-9]*. The ID must be 1 to 30 characters in length.

Output

None

References

For more information, see ACS::ECS::ModifyInstanceVpcAttribute at GitHub.