Creates a cloud disk and attaches it to an ECS instance.
Description
Creates a cloud disk and attaches it to an Elastic Compute Service (ECS) instance.
Syntax
Action: ACS::ECS::CreateAndAttachDisk
Properties:
regionId: String
diskName: String
zoneId: String
diskCategory: String
instanceId: String
size: String
Attributes
|
Attribute |
Description |
Type |
Required |
Default value |
Limit |
|
regionId |
The region ID. |
String |
No |
{{ ACS::RegionId }} |
|
|
diskName |
The disk name. |
String |
Yes |
||
|
zoneId |
The ID of the zone in the specified region. |
String |
Yes |
||
|
diskCategory |
The category of the data disk. |
String |
Yes |
||
|
instanceId |
The ECS instance ID. |
String |
Yes |
Maximum length: 30 characters Minimum length: 1 character |
|
|
size |
The disk capacity. |
String |
Yes |
Output
|
Output item |
Description |
Type |
|
diskId |
String |
References
For more information, see ACS::ECS::CreateAndAttachDisk.yml at GitHub.