public static class CreateLaunchTemplateVersionRequest.CreateLaunchTemplateVersionRequestSystemDisk
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.
|
String |
category
The category of the system disk.
|
Boolean |
deleteWithInstance
Specifies whether to release the system disk when the instance is released.
|
String |
description
The description of the system disk.
|
String |
diskName
The name of the system disk.
|
String |
encrypted
Specifies whether to encrypt the system disk.
|
Integer |
iops
This parameter is not publicly available.
|
String |
performanceLevel
The performance level of the ESSD to be used as the system disk.
|
Long |
provisionedIops
The provisioned read/write IOPS of the ESSD AutoPL disk to use as data disk N.
|
Integer |
size
The size of the system disk.
|
构造器和说明 |
---|
CreateLaunchTemplateVersionRequestSystemDisk() |
@NameInMap(value="AutoSnapshotPolicyId") public String autoSnapshotPolicyId
The ID of the automatic snapshot policy to apply to the system disk.
example:sp-bp1dgzpaxwc4load****
@NameInMap(value="BurstingEnabled") public Boolean burstingEnabled
Specifies whether to enable the performance burst feature. Valid values:
true
@NameInMap(value="Category") public String category
The category of the system disk. Valid values:
SystemDisk.PerformanceLevel
to set the performance level of the ESSD to use as the system disk.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="DeleteWithInstance") public Boolean deleteWithInstance
Specifies whether to release the system disk when the instance is released. Valid values:
Default value: true.
example:true
@NameInMap(value="Description") public String description
The description of the system disk. The description must be 2 to 256 characters in length and cannot start with http://
or https://
.
testSystemDiskDescription
@NameInMap(value="DiskName") public String diskName
The name of the system disk. The name must be 2 to 128 characters in length. The name must start with a letter and cannot start with http://
or https://
. The name can contain letters, digits, colons (:), underscores (_), and hyphens (-).
cloud_ssdSystem
@NameInMap(value="Encrypted") public String encrypted
Specifies whether to encrypt the system disk. Valid values:
Default value: false
example:You cannot encrypt system disks when you create instances in Hong Kong Zone D or Singapore Zone A.
false
@NameInMap(value="Iops") public Integer iops
example:This parameter is not publicly available.
30000
@NameInMap(value="PerformanceLevel") public String performanceLevel
The performance level of the ESSD to be used as the system disk. Default value: PL0. Valid values:
For more information about ESSD performance levels, see ESSDs.
example:PL0
@NameInMap(value="ProvisionedIops") public Long provisionedIops
The provisioned read/write IOPS of the ESSD AutoPL disk to use as data disk N. 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 the Category parameter to cloud_auto. For more information, see ESSD AutoPL disks and Modify the performance configurations of an ESSD AutoPL disk.
50000
@NameInMap(value="Size") public Integer size
The size of the system disk. Unit: GiB. Valid values:
The value of this parameter must be at least 20 and greater than or equal to the size of the image.
example:40
public CreateLaunchTemplateVersionRequestSystemDisk()
public static CreateLaunchTemplateVersionRequest.CreateLaunchTemplateVersionRequestSystemDisk build(Map<String,?> map) throws Exception
Exception
public CreateLaunchTemplateVersionRequest.CreateLaunchTemplateVersionRequestSystemDisk setAutoSnapshotPolicyId(String autoSnapshotPolicyId)
public String getAutoSnapshotPolicyId()
public CreateLaunchTemplateVersionRequest.CreateLaunchTemplateVersionRequestSystemDisk setBurstingEnabled(Boolean burstingEnabled)
public Boolean getBurstingEnabled()
public CreateLaunchTemplateVersionRequest.CreateLaunchTemplateVersionRequestSystemDisk setCategory(String category)
public String getCategory()
public CreateLaunchTemplateVersionRequest.CreateLaunchTemplateVersionRequestSystemDisk setDeleteWithInstance(Boolean deleteWithInstance)
public Boolean getDeleteWithInstance()
public CreateLaunchTemplateVersionRequest.CreateLaunchTemplateVersionRequestSystemDisk setDescription(String description)
public String getDescription()
public CreateLaunchTemplateVersionRequest.CreateLaunchTemplateVersionRequestSystemDisk setDiskName(String diskName)
public String getDiskName()
public CreateLaunchTemplateVersionRequest.CreateLaunchTemplateVersionRequestSystemDisk setEncrypted(String encrypted)
public String getEncrypted()
public CreateLaunchTemplateVersionRequest.CreateLaunchTemplateVersionRequestSystemDisk setIops(Integer iops)
public Integer getIops()
public CreateLaunchTemplateVersionRequest.CreateLaunchTemplateVersionRequestSystemDisk setPerformanceLevel(String performanceLevel)
public String getPerformanceLevel()
public CreateLaunchTemplateVersionRequest.CreateLaunchTemplateVersionRequestSystemDisk setProvisionedIops(Long provisionedIops)
public Long getProvisionedIops()
public CreateLaunchTemplateVersionRequest.CreateLaunchTemplateVersionRequestSystemDisk setSize(Integer size)
public Integer getSize()
Copyright © 2024. All rights reserved.