DiskAttachmentProps
Properties for defining a DiskAttachment
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-diskattachment
Initializer
using AlibabaCloud.SDK.ROS.CDK.Ecs;
new DiskAttachmentProps {
object DiskId,
object InstanceId,
object DeleteAutoSnapshot = null,
object DeleteWithInstance = null,
object Device = null
};
Properties
Name | Type | Description |
---|---|---|
DiskId |
object |
Property diskId: The disk id to attached. |
InstanceId |
object |
Property instanceId: The instanceId to attach the disk. |
DeleteAutoSnapshot |
object |
Property deleteAutoSnapshot: Whether the auto snapshot is released with the disk. |
DeleteWithInstance |
object |
Property deleteWithInstance: If property is true, the disk will be deleted while instance is deleted, if property is false, the disk will be retain after instance is deleted. |
Device |
object |
Property device: The device where the volume is exposed on the instance. |
DiskId
Required
public object DiskId { get; set; }
- Type: object
Property diskId: The disk id to attached.
InstanceId
Required
public object InstanceId { get; set; }
- Type: object
Property instanceId: The instanceId to attach the disk.
DeleteAutoSnapshot
Optional
public object DeleteAutoSnapshot { get; set; }
- Type: object
Property deleteAutoSnapshot: Whether the auto snapshot is released with the disk.
Default to true.
DeleteWithInstance
Optional
public object DeleteWithInstance { get; set; }
- Type: object
Property deleteWithInstance: If property is true, the disk will be deleted while instance is deleted, if property is false, the disk will be retain after instance is deleted.
Device
Optional
public object Device { get; set; }
- Type: object
Property device: The device where the volume is exposed on the instance.
could be /dev/xvd[b-z]. If not specification, will use default value.