ALIYUN::ENS::DiskInstanceAttachment is used to attach a data disk to an Edge Node Service (ENS) instance.
Syntax
{
"Type": "ALIYUN::ENS::DiskInstanceAttachment",
"Properties": {
"InstanceId": String,
"DeleteWithInstance": String,
"DiskId": String
}
}
Properties
Property | Type | Required | Editable | Description | Constraint |
InstanceId | String | Yes | No | The instance ID. | None. |
DeleteWithInstance | String | No | No | Specifies whether to release the disk when the instance is released. | Valid values:
|
DiskId | String | Yes | No | The disk ID. | The disk specified by DiskId and the instance specified by InstanceId must belong to the same node. |
Return values
Fn::GetAtt
InstanceId: the instance ID.
DiskId: the disk ID.