public static class CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
category
The category of data disk N.
|
Boolean |
deleteWithInstance
Specifies whether to release data disk N when its associated instance is released.
|
String |
description
The description of data disk N.
|
String |
device
The mount point of data disk N.
|
String |
diskName
The name of data disk N.
|
Boolean |
encrypted
Specifies whether to encrypt data disk N.
|
String |
kmsKeyId
The ID of the Key Management Service (KMS) key to be used for data disk N.
|
String |
performanceLevel
The performance level of the ESSD to be used as data disk N.
|
Integer |
size
The size of data disk N.
|
String |
snapshotId
The ID of the snapshot to be used to create data disk N.
|
构造器和说明 |
---|
CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk() |
@NameInMap(value="Category") public String category
The category of data disk N. Valid values of N: 1 to 16. Valid values of this parameter:
- cloud_efficiency: ultra disk
- cloud_ssd: standard SSD
- cloud_essd: ESSD
- cloud: basic disk
For I/O optimized instances, the default value is cloud_efficiency. For non-I/O optimized instances, the default value is cloud.
When both the LaunchTemplateId and LaunchConfiguration.* parameters are specified, the LaunchTemplateId parameter takes precedence.
@NameInMap(value="DeleteWithInstance") public Boolean deleteWithInstance
Specifies whether to release data disk N when its associated instance is released. Valid values:
- true: releases data disk N when the instance is released.
- false: does not release data disk N when the instance is released.
Default value: true.
When both the LaunchTemplateId and LaunchConfiguration.* parameters are specified, the LaunchTemplateId parameter takes precedence.
@NameInMap(value="Description") public String description
The description of data disk N. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`. When both the LaunchTemplateId and LaunchConfiguration.* parameters are specified, the LaunchTemplateId parameter takes precedence.
@NameInMap(value="Device") public String device
The mount point of data disk N. When both the LaunchTemplateId and LaunchConfiguration.* parameters are specified, the LaunchTemplateId parameter takes precedence.
@NameInMap(value="DiskName") public String diskName
The name of data disk N. 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, periods (.), colons (:), underscores (_), and hyphens (-).
This parameter is empty by default.
When both the LaunchTemplateId and LaunchConfiguration.* parameters are specified, the LaunchTemplateId parameter takes precedence.
@NameInMap(value="Encrypted") public Boolean encrypted
Specifies whether to encrypt data disk N. Valid values:
- true: encrypts data disk N.
- false: does not encrypt data disk N.
Default value: false.
When both the LaunchTemplateId and LaunchConfiguration.* parameters are specified, the LaunchTemplateId parameter takes precedence.
@NameInMap(value="KmsKeyId") public String kmsKeyId
The ID of the Key Management Service (KMS) key to be used for data disk N. When both the LaunchTemplateId and LaunchConfiguration.* parameters are specified, the LaunchTemplateId parameter takes precedence.
@NameInMap(value="PerformanceLevel") public String performanceLevel
The performance level of the ESSD to be used as data disk N. The value of N must be the same as that of N in the `LaunchConfiguration.DataDisk.N.Category` parameter. Default value: PL1. 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](https://www.alibabacloud.com/help/en/elastic-compute-service/latest/essds).
When both the LaunchTemplateId and LaunchConfiguration.* parameters are specified, the LaunchTemplateId parameter takes precedence.
@NameInMap(value="Size") public Integer size
The size of data disk N. Valid values of N: 1 to 16. Unit: GiB. Valid values of this parameter:
- Valid values when LaunchConfiguration.DataDisk.N.Category is set to cloud_efficiency: 20 to 32768.
- Valid values when LaunchConfiguration.DataDisk.N.Category is set to cloud_ssd: 20 to 32768.
- Valid values when LaunchConfiguration.DataDisk.N.Category is set to cloud_essd: depend on the `LaunchConfiguration.DataDisk.N.PerformanceLevel` value. - Valid values when LaunchConfiguration.DataDisk.N.PerformanceLevel is set to PL0: 40 to 32768.
- Valid values when LaunchConfiguration.DataDisk.N.PerformanceLevel is set to PL1: 20 to 32768.
- Valid values when LaunchConfiguration.DataDisk.N.PerformanceLevel is set to PL2: 461 to 32768.
- Valid values when LaunchConfiguration.DataDisk.N.PerformanceLevel is set to PL3: 1261 to 32768.
- Valid values when LaunchConfiguration.DataDisk.N.Category is set to cloud: 5 to 2000.
> The value of LaunchConfiguration.DataDisk.N.Size must be greater than or equal to the size of the snapshot specified by the `LaunchConfiguration.DataDisk.N.SnapshotId` parameter. When both the LaunchTemplateId and LaunchConfiguration.* parameters are specified, the LaunchTemplateId parameter takes precedence.
@NameInMap(value="SnapshotId") public String snapshotId
The ID of the snapshot to be used to create data disk N. Valid values of N: 1 to 16.
After this parameter is specified, the `LaunchConfiguration.DataDisk.N.Size` parameter is ignored. The size of data disk N is the same as that of the snapshot specified by this parameter. Use snapshots that were created on or after July 15, 2013. Otherwise, an error is returned and your request is rejected.
When both the LaunchTemplateId and LaunchConfiguration.* parameters are specified, the LaunchTemplateId parameter takes precedence.
public CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk()
public static CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk build(Map<String,?> map) throws Exception
Exception
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk setCategory(String category)
public String getCategory()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk setDeleteWithInstance(Boolean deleteWithInstance)
public Boolean getDeleteWithInstance()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk setDescription(String description)
public String getDescription()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk setDevice(String device)
public String getDevice()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk setDiskName(String diskName)
public String getDiskName()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk setEncrypted(Boolean encrypted)
public Boolean getEncrypted()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk setKmsKeyId(String kmsKeyId)
public String getKmsKeyId()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk setPerformanceLevel(String performanceLevel)
public String getPerformanceLevel()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk setSize(Integer size)
public Integer getSize()
public CreateAutoProvisioningGroupRequest.CreateAutoProvisioningGroupRequestLaunchConfigurationDataDisk setSnapshotId(String snapshotId)
public String getSnapshotId()
Copyright © 2023. All rights reserved.