Clone an Elastic Compute Service (ECS) instance across zones and start the cloned instance by using this action.
Description
Clones an ECS instance across zones and starts the cloned instance.
Syntax
Action: ACS::ECS::CloneInstanceAcrossAZ
Properties:
instanceId: String
regionId: String
imageName: String
targetSecurityGroupId: String
targetVSwitchId: String
targetDeploymentSetId: String
targetResourceGroupId: String
targetInstanceType: String
targetInstanceChargeType: String
targetPeriodUnit: String
targetPeriod: Number
tags: Json
targetInstanceName: String
targetHostName: String
Attributes
|
Attribute |
Description |
Type |
Required |
Default value |
Limit |
|
instanceId |
The ID of the source ECS instance. |
String |
Yes |
||
|
regionId |
The ID of the region in which the source ECS instance resides. |
String |
No |
{{ACS::RegionId}} |
|
|
imageName |
The image name of the source ECS instance. |
String |
Yes |
||
|
targetSecurityGroupId |
The security group ID of the cloned ECS instance. |
String |
Yes |
||
|
targetVSwitchId |
The vSwitch ID of the cloned ECS instance. |
String |
Yes |
||
|
targetDeploymentSetId |
The deployment set ID of the cloned ECS instance. |
String |
Yes |
||
|
targetResourceGroupId |
The ID of the resource group to which the cloned ECS instance is added. |
String |
Yes |
||
|
targetInstanceType |
The instance type of the cloned ECS instance. |
String |
Yes |
||
|
targetInstanceChargeType |
The billing method of the cloned ECS instance. |
String |
Yes |
||
|
targetPeriodUnit |
The unit of the subscription duration. Default value: month. |
String |
Yes |
||
|
targetPeriod |
The subscription duration of the cloned ECS instance. |
Number |
Yes |
||
|
tags |
The tags to add to the cloned ECS instance. |
Json |
Yes |
||
|
targetInstanceName |
The name of the cloned ECS instance. |
String |
Yes |
||
|
targetHostName |
The hostname of the cloned ECS instance. |
String |
Yes |
Output
|
Output item |
Description |
Type |
|
instanceId |
String |
References
For more information, see ACS::ECS::CloneInstanceAcrossAZ.yml on GitHub.