Description
Clones an Elastic Compute Service (ECS) instance across zones and starts the cloned ECS 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: StringAttributes
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. The default unit is month. | String | Yes | ||
targetPeriod | The subscription duration of the cloned ECS instance. | Number | Yes | ||
tags | The tags to be added 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 at GitHub.