public static class CreateInstanceRequest.CreateInstanceRequestSystemDisk
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
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 |
performanceLevel
The performance level of the ESSD to use as the system disk.
|
Integer |
size
The size of the system disk.
|
String |
storageClusterId
The ID of the dedicated block storage cluster.
|
构造器和说明 |
---|
CreateInstanceRequestSystemDisk() |
@NameInMap(value="Category") public String category
The category of the system disk. Valid values:
* cloud_essd: ESSD. When the parameter is set to this value, you can use the `SystemDisk.PerformanceLevel` parameter to specify the performance level of the disk.
* cloud_efficiency: ultra disk.
* cloud_ssd: standard SSD.
* cloud: basic disk.
For non-I/O optimized instances of retired instance types, the default value is cloud. For other instances, the default value is cloud_efficiency.
@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://`.
This parameter is empty by default.
@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 (-).
This parameter is empty by default.
@NameInMap(value="PerformanceLevel") public String performanceLevel
The performance level of the ESSD to use as the system disk. 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](~~122389~~).
@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.
Default value: 40 or the size of the image, whichever is greater.
@NameInMap(value="StorageClusterId") public String storageClusterId
The ID of the dedicated block storage cluster. If you want to use a disk in a dedicated block storage cluster as the system disk when you create the instance, you must specify this parameter. For more information about dedicated block storage clusters, see [What is Dedicated Block Storage Cluster?](~~208883~~)
public static CreateInstanceRequest.CreateInstanceRequestSystemDisk build(Map<String,?> map) throws Exception
Exception
public CreateInstanceRequest.CreateInstanceRequestSystemDisk setCategory(String category)
public String getCategory()
public CreateInstanceRequest.CreateInstanceRequestSystemDisk setDescription(String description)
public String getDescription()
public CreateInstanceRequest.CreateInstanceRequestSystemDisk setDiskName(String diskName)
public String getDiskName()
public CreateInstanceRequest.CreateInstanceRequestSystemDisk setPerformanceLevel(String performanceLevel)
public String getPerformanceLevel()
public CreateInstanceRequest.CreateInstanceRequestSystemDisk setSize(Integer size)
public Integer getSize()
public CreateInstanceRequest.CreateInstanceRequestSystemDisk setStorageClusterId(String storageClusterId)
public String getStorageClusterId()
Copyright © 2023. All rights reserved.