public static class RunInstancesRequest.RunInstancesRequestSystemDisk
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
autoSnapshotPolicyId
The ID of the automatic snapshot policy to apply to the system disk.
|
Boolean |
burstingEnabled
Specifies whether to enable the performance burst feature for the system disk.
|
String |
category
The category of the system disk.
|
String |
description
The description of the system disk.
|
String |
diskName
The name of the system disk.
|
String |
encryptAlgorithm
This parameter is not publicly available.
|
String |
encrypted
Specifies whether to encrypt the system disk.
|
String |
KMSKeyId
The ID of the KMS key to use for the system disk.
|
String |
performanceLevel
The performance level of the ESSD to use as the system disk.
|
Long |
provisionedIops
The provisioned read/write IOPS of the ESSD AutoPL disk to use as the system disk.
|
String |
size
The size of the system disk.
|
String |
storageClusterId
The ID of the dedicated block storage cluster to which the system disk belongs.
|
构造器和说明 |
---|
RunInstancesRequestSystemDisk() |
@NameInMap(value="AutoSnapshotPolicyId") public String autoSnapshotPolicyId
The ID of the automatic snapshot policy to apply to the system disk.
example:sp-bp67acfmxazb4p****
@NameInMap(value="Category") public String category
The category of the system disk. Valid values:
The value of this parameter can be
cloud_essd_entry
only whenInstanceType
is set toecs.u1
orecs.e
. ecs.u1 indicates the u1 universal instance family and ecs.e indicates the e economy instance family. For information about the u1 and e instance families, see the u1, universal instance family section in the "Universal instance families" topic and the e, economy instance family section in the "Shared instance families" topic.
For non-I/O optimized instances of retired instance types, the default value is cloud. For other types of instances, the default value is cloud_efficiency.
example:cloud_ssd
@NameInMap(value="Description") public String description
The description of the system disk. The description must be 2 to 256 characters in length. The description can contain letters but cannot start with http://
or https://
.
SystemDisk_Description
@NameInMap(value="DiskName") public String diskName
The name of the system disk. The name must be 2 to 128 characters in length and support Unicode characters under the Decimal Number category and the categories whose names contain Letter. The name can contain colons (:), underscores (_), periods (.), and hyphens (-).
example:cloud_ssdSystem
@NameInMap(value="PerformanceLevel") public String performanceLevel
The performance level of the ESSD to use as the system disk. Default value: PL1. Valid values:
For more information about ESSD performance levels, see ESSDs.
example:PL0
@NameInMap(value="Size") public String size
The size of the system disk. Unit: GiB. Valid values:
Basic disk: 20 to 500.
ESSD: Valid values vary based on the performance level of the ESSD.
ESSD AutoPL disk: 1 to 2048.
Other disk categories: 20 to 2048.
The value of this parameter must be at least 1 and greater than or equal to the image size.
Default value: 40 or the image size, whichever is greater.
example:40
@NameInMap(value="BurstingEnabled") public Boolean burstingEnabled
Specifies whether to enable the performance burst feature for the system disk. Valid values:
example:This parameter is available only if you set
SystemDisk.Category
tocloud_auto
. For more information, see ESSD AutoPL disks.
false
@NameInMap(value="EncryptAlgorithm") public String encryptAlgorithm
example:This parameter is not publicly available.
ase-256
@NameInMap(value="Encrypted") public String encrypted
Specifies whether to encrypt the system disk. Valid values:
Default value: false.
example:The system disks of instances cannot be encrypted during instance creation in Hong Kong Zone D or Singapore Zone A.
false
@NameInMap(value="KMSKeyId") public String KMSKeyId
The ID of the KMS key to use for the system disk.
example:0e478b7a-4262-4802-b8cb-00d3fb40****
@NameInMap(value="ProvisionedIops") public Long provisionedIops
The provisioned read/write IOPS of the ESSD AutoPL disk to use as the system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS}.
Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}
example:This parameter is available only if you set
SystemDisk.Category
tocloud_auto
. For more information, see ESSD AutoPL disks.
40000
@NameInMap(value="StorageClusterId") public String storageClusterId
The ID of the dedicated block storage cluster to which the system disk belongs. If you want to use disks in a dedicated block storage cluster as system disks when you create instances, specify this parameter.
example:dbsc-j5e1sf2vaf5he8m2****
public static RunInstancesRequest.RunInstancesRequestSystemDisk build(Map<String,?> map) throws Exception
Exception
public RunInstancesRequest.RunInstancesRequestSystemDisk setAutoSnapshotPolicyId(String autoSnapshotPolicyId)
public String getAutoSnapshotPolicyId()
public RunInstancesRequest.RunInstancesRequestSystemDisk setCategory(String category)
public String getCategory()
public RunInstancesRequest.RunInstancesRequestSystemDisk setDescription(String description)
public String getDescription()
public RunInstancesRequest.RunInstancesRequestSystemDisk setDiskName(String diskName)
public String getDiskName()
public RunInstancesRequest.RunInstancesRequestSystemDisk setPerformanceLevel(String performanceLevel)
public String getPerformanceLevel()
public RunInstancesRequest.RunInstancesRequestSystemDisk setSize(String size)
public String getSize()
public RunInstancesRequest.RunInstancesRequestSystemDisk setBurstingEnabled(Boolean burstingEnabled)
public Boolean getBurstingEnabled()
public RunInstancesRequest.RunInstancesRequestSystemDisk setEncryptAlgorithm(String encryptAlgorithm)
public String getEncryptAlgorithm()
public RunInstancesRequest.RunInstancesRequestSystemDisk setEncrypted(String encrypted)
public String getEncrypted()
public RunInstancesRequest.RunInstancesRequestSystemDisk setKMSKeyId(String KMSKeyId)
public String getKMSKeyId()
public RunInstancesRequest.RunInstancesRequestSystemDisk setProvisionedIops(Long provisionedIops)
public Long getProvisionedIops()
public RunInstancesRequest.RunInstancesRequestSystemDisk setStorageClusterId(String storageClusterId)
public String getStorageClusterId()
Copyright © 2024. All rights reserved.