Creates, attaches, and initializes a data disk to an Elastic Compute Service (ECS) instance.
Action
ACS::ECS::CreateAndAttachAndInitDataDisk
Description
Creates, attaches, and initializes a data disk to an Elastic Compute Service (ECS) instance.
Syntax
Action: ACS::ECS::CreateAndAttachAndInitDataDisk
Properties:
regionId: String
instanceId: String
category: String
diskSize: Number
mountPointPath: 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 |
||
|
category |
The category of the data disk. |
String |
No |
cloud_efficiency |
|
|
diskSize |
The capacity of the data disk. Unit: GiB. |
Number |
No |
40 |
|
|
mountPointPath |
The directory to which the data disk is mounted. |
String |
No |
/mnt |
Output
None
References
For the source template, see ACS::ECS::CreateAndAttachAndInitDataDisk.yml on GitHub.