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 for the system disk.
|
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
系统盘是否加密。
|
Integer |
iops
> This parameter is unavailable.
|
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.
|
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.
@NameInMap(value="BurstingEnabled") public Boolean burstingEnabled
Specifies whether to enable the performance burst feature for the system disk. Valid values:
* true
* false
@NameInMap(value="Category") public String category
The category of the system disk. Valid values:
* cloud: basic disk
* cloud_efficiency: ultra disk
* cloud_ssd: standard SSD
* cloud_essd: enhanced SSD (ESSD) You can use the `SystemDisk.PerformanceLevel` parameter to set the performance level of the ESSD to use as the system disk. cloud_auto: ESSD AutoPL disk.
For non-I/O optimized instances of a retired instance type, the default value is cloud. For other types of instances, the default value is cloud_efficiency.
@NameInMap(value="DeleteWithInstance") public Boolean deleteWithInstance
Specifies whether to release the system disk when the instance is released. Valid values:
* true: releases the system disk when the instance is released.
* false: does not release the system disk when the instance is released.
Default value: 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://`.
@NameInMap(value="DiskName") public String diskName
The name of the system disk. The name must be 2 to 128 characters in length. It must start with a letter and cannot start with `http://` or `https://`. It can contain letters, digits, colons (:), underscores (\_), and hyphens (-).
@NameInMap(value="Encrypted") public String encrypted
系统盘是否加密。取值范围:
- true:加密。
- false:不加密。
默认值:false。
>中国香港D可用区、新加坡A可用区暂不支持在创建实例时加密系统盘。
@NameInMap(value="Iops") public Integer iops
> This parameter is unavailable.
@NameInMap(value="PerformanceLevel") public String performanceLevel
The performance level of the ESSD to use as the system disk. Default value: PL0. Valid values:
* PL0: A single ESSD can deliver up to 10,000 random read/write IOPS.
* PL1: A single ESSD can deliver up to 50,000 random read/write IOPS.
* PL2: A single ESSD can deliver up to 100,000 random read/write IOPS.
* PL3: A single ESSD can deliver up to 1,000,000 random read/write IOPS.
For more information about ESSD performance levels, see [ESSDs](~~122389~~).
@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}
> This parameter is available only if you set the SystemDisk.Category parameter to cloud_auto. For more information, see [ESSD AutoPL disks](~~368372~~) and [Modify the performance configurations of an ESSD AutoPL disk](~~413275~~).
@NameInMap(value="Size") public Integer size
The size of the system disk. Unit: GiB. Valid values: 20 to 500.
The value of this parameter must be at least 20 and greater than or equal to the size of the specified image.
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 © 2023. All rights reserved.