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 that is used 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:
SystemDisk.PerformanceLevel
to specify the performance level of the 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="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.
example:TestDescription
@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.
example:SystemDiskName
@NameInMap(value="PerformanceLevel") public String performanceLevel
The performance level of the ESSD that is used as the system disk. Default value: PL1. Valid values:
For information about ESSD performance levels, see ESSDs.
example:PL1
@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.
Default value: 40 or the size of the image, whichever is greater.
example:40
@NameInMap(value="StorageClusterId") public String storageClusterId
The ID of the dedicated block storage cluster. If you want to use disks in a dedicated block storage cluster as system disks when you create instances, you need to specify this parameter.
example:dbsc-j5e1sf2vaf5he8m2****
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 © 2024. All rights reserved.