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 Bootable = null,
object DeleteAutoSnapshot = null,
object DeleteWithInstance = null,
object Device = null,
object Force = null,
object InstanceType = null,
object KeyPairName = null,
object Password = null
};
Properties
| Name | Type | Description |
|---|---|---|
DiskId | object | Property diskId: The disk id to attached. |
InstanceId | object | Property instanceId: The instanceId to attach the disk. |
Bootable | object | Property bootable: Whether the disk is bootable. |
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. |
Force | object | Property force: Whether to force the operation. |
InstanceType | object | Property instanceType: The instance type. |
KeyPairName | object | Property keyPairName: The name of the key pair. |
Password | object | Property password: The password for the disk. |
DiskIdRequired
public object DiskId { get; set; }
- Type: object
Property diskId: The disk id to attached.
InstanceIdRequired
public object InstanceId { get; set; }
- Type: object
Property instanceId: The instanceId to attach the disk.
BootableOptional
public object Bootable { get; set; }
- Type: object
Property bootable: Whether the disk is bootable.
DeleteAutoSnapshotOptional
public object DeleteAutoSnapshot { get; set; }
- Type: object
Property deleteAutoSnapshot: Whether the auto snapshot is released with the disk.
Default to true.
DeleteWithInstanceOptional
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.
DeviceOptional
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.
ForceOptional
public object Force { get; set; }
- Type: object
Property force: Whether to force the operation.
InstanceTypeOptional
public object InstanceType { get; set; }
- Type: object
Property instanceType: The instance type.
Allowed values are LingJun and ECS, Default is ECS.
KeyPairNameOptional
public object KeyPairName { get; set; }
- Type: object
Property keyPairName: The name of the key pair.
PasswordOptional
public object Password { get; set; }
- Type: object
Property password: The password for the disk.