DiskProps
Properties for defining a Disk.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-ecs-disk
Initializer
using AlibabaCloud.SDK.ROS.CDK.Ecs;
new DiskProps {
    object AutoSnapshotPolicyId = null,
    object BurstingEnabled = null,
    object DeleteAutoSnapshot = null,
    object Description = null,
    object DiskCategory = null,
    object DiskName = null,
    object Encrypted = null,
    object InstanceId = null,
    object KmsKeyId = null,
    object MultiAttach = null,
    object PerformanceLevel = null,
    object ProvisionedIops = null,
    object ResourceGroupId = null,
    object Size = null,
    object SnapshotId = null,
    object StorageSetId = null,
    object StorageSetPartitionNumber = null,
    TagsProperty[] Tags = null,
    object ZoneId = null
};
Properties
| Name | Type | Description | 
|---|---|---|
AutoSnapshotPolicyId | 
object | 
Property autoSnapshotPolicyId: Auto snapshot policy ID. | 
BurstingEnabled | 
object | 
Property burstingEnabled: Whether enable bursting. | 
DeleteAutoSnapshot | 
object | 
Property deleteAutoSnapshot: Whether the auto snapshot is released with the disk. | 
Description | 
object | 
Property description: Description of the disk, [2, 256] characters. | 
DiskCategory | 
object | 
Property diskCategory: The disk category, now support cloud\/cloud_ssd\/cloud_essd\/cloud_efficiency\/san_ssd\/san_efficiency\/cloud_auto, depends the region. | 
DiskName | 
object | 
Property diskName: Display name of the disk, [2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, '_' or '.', '-'. | 
Encrypted | 
object | 
Property encrypted: Whether disk is encrypted, default to false. | 
InstanceId | 
object | 
Property instanceId: Create a cloud disk and automatically mount it to the specified InstanceId. | 
KmsKeyId | 
object | 
Property kmsKeyId: KMS key ID used by the cloud disk. | 
MultiAttach | 
object | 
Property multiAttach: Specifies whether to enable the multi-attach feature for the disk. | 
PerformanceLevel | 
object | 
Property performanceLevel: The performance level you select for an ESSD.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read\/write IOPS.PL1: A single enhanced SSD delivers up to 50,000 random read\/write IOPS.PL2: A single enhanced SSD delivers up to 100,000 random read\/write IOPS.PL3: A single enhanced SSD delivers up to 1,000,000 random read\/write IOPS. | 
ProvisionedIops | 
object | 
Property provisionedIops: Provisioning IOPS. | 
ResourceGroupId | 
object | 
Property resourceGroupId: Resource group id. | 
Size | 
object | 
Property size: The size of the disk unit in GB. | 
SnapshotId | 
object | 
Property snapshotId: If specified, the backup used as the source to create disk. | 
StorageSetId | 
object | 
Property storageSetId: Storage set ID. | 
StorageSetPartitionNumber | 
object | 
Property storageSetPartitionNumber: The number of storage set partitions. | 
Tags | 
TagsProperty[] | 
Property tags: Tags to attach to disk. | 
ZoneId | 
object | 
Property zoneId: Create a pay-as-you-go cloud drive within the specified availability area. | 
AutoSnapshotPolicyIdOptional 
public object AutoSnapshotPolicyId { get; set; }
- Type: object
 
Property autoSnapshotPolicyId: Auto snapshot policy ID.
BurstingEnabledOptional 
public object BurstingEnabled { get; set; }
- Type: object
 
Property burstingEnabled: Whether enable bursting.
DeleteAutoSnapshotOptional 
public object DeleteAutoSnapshot { get; set; }
- Type: object
 
Property deleteAutoSnapshot: Whether the auto snapshot is released with the disk.
Default to false.
DescriptionOptional 
public object Description { get; set; }
- Type: object
 
Property description: Description of the disk, [2, 256] characters.
Do not fill or empty, the default is empty.
DiskCategoryOptional 
public object DiskCategory { get; set; }
- Type: object
 
Property diskCategory: The disk category, now support cloud\/cloud_ssd\/cloud_essd\/cloud_efficiency\/san_ssd\/san_efficiency\/cloud_auto, depends the region.
DiskNameOptional 
public object DiskName { get; set; }
- Type: object
 
Property diskName: Display name of the disk, [2, 128] English or Chinese characters, must start with a letter or Chinese in size, can contain numbers, '_' or '.', '-'.
EncryptedOptional 
public object Encrypted { get; set; }
- Type: object
 
Property encrypted: Whether disk is encrypted, default to false.
InstanceIdOptional 
public object InstanceId { get; set; }
- Type: object
 
Property instanceId: Create a cloud disk and automatically mount it to the specified InstanceId.
- Once the instance ID is set, the ResourceGroupId, Tags, and KMSKeyId parameters you set are ignored.
 - You cannot specify both ZoneId and InstanceId. Default value: null, meaning that a pay-as-you-go cloud drive is created, and the region of the drive is defined by the RegionId and ZoneId.
 
KmsKeyIdOptional 
public object KmsKeyId { get; set; }
- Type: object
 
Property kmsKeyId: KMS key ID used by the cloud disk.
MultiAttachOptional 
public object MultiAttach { get; set; }
- Type: object
 
Property multiAttach: Specifies whether to enable the multi-attach feature for the disk.
Valid values: Disabled: disables the multi-attach feature. Enabled: enables the multi-attach feature. Set the value to Enabled only for ESSDs. Default value: Disabled.
PerformanceLevelOptional 
public object PerformanceLevel { get; set; }
- Type: object
 
Property performanceLevel: The performance level you select for an ESSD.Default value: PL1. Valid values:PL0: A single enhanced SSD delivers up to 10,000 random read\/write IOPS.PL1: A single enhanced SSD delivers up to 50,000 random read\/write IOPS.PL2: A single enhanced SSD delivers up to 100,000 random read\/write IOPS.PL3: A single enhanced SSD delivers up to 1,000,000 random read\/write IOPS.
ProvisionedIopsOptional 
public object ProvisionedIops { get; set; }
- Type: object
 
Property provisionedIops: Provisioning IOPS.
ResourceGroupIdOptional 
public object ResourceGroupId { get; set; }
- Type: object
 
Property resourceGroupId: Resource group id.
SizeOptional 
public object Size { get; set; }
- Type: object
 
Property size: The size of the disk unit in GB.
SnapshotIdOptional 
public object SnapshotId { get; set; }
- Type: object
 
Property snapshotId: If specified, the backup used as the source to create disk.
StorageSetIdOptional 
public object StorageSetId { get; set; }
- Type: object
 
Property storageSetId: Storage set ID.
StorageSetPartitionNumberOptional 
public object StorageSetPartitionNumber { get; set; }
- Type: object
 
Property storageSetPartitionNumber: The number of storage set partitions.
TagsOptional 
public TagsProperty[] Tags { get; set; }
- Type: TagsProperty[]
 
Property tags: Tags to attach to disk.
Max support 20 tags to add during create disk. Each tag with two properties Key and Value, and Key is required.
ZoneIdOptional 
public object ZoneId { get; set; }
- Type: object
 
Property zoneId: Create a pay-as-you-go cloud drive within the specified availability area.
- If you do not set InstanceId, ZoneId is required.
 - You cannot specify both ZoneId and InstanceId.