public static final class RunInstancesRequest.SystemDisk.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
RunInstancesRequest.SystemDisk.Builder |
autoSnapshotPolicyId(String autoSnapshotPolicyId)
The ID of the automatic snapshot policy to apply to the system disk.
|
RunInstancesRequest.SystemDisk |
build() |
RunInstancesRequest.SystemDisk.Builder |
burstingEnabled(Boolean burstingEnabled)
Specifies whether to enable the performance burst feature for the system disk.
|
RunInstancesRequest.SystemDisk.Builder |
category(String category)
The category of the system disk.
|
RunInstancesRequest.SystemDisk.Builder |
description(String description)
The description of the system disk.
|
RunInstancesRequest.SystemDisk.Builder |
diskName(String diskName)
The name of the system disk.
|
RunInstancesRequest.SystemDisk.Builder |
encryptAlgorithm(String encryptAlgorithm)
> This parameter is not publicly available.
|
RunInstancesRequest.SystemDisk.Builder |
encrypted(String encrypted)
Specifies whether to encrypt the system disk.
|
RunInstancesRequest.SystemDisk.Builder |
KMSKeyId(String KMSKeyId)
The ID of the KMS key to use for the system disk.
|
RunInstancesRequest.SystemDisk.Builder |
performanceLevel(String performanceLevel)
The performance level of the ESSD to use as the system disk.
|
RunInstancesRequest.SystemDisk.Builder |
provisionedIops(Long provisionedIops)
The provisioned read/write IOPS of the ESSD AutoPL disk to use as the system disk.
|
RunInstancesRequest.SystemDisk.Builder |
size(String size)
The size of the system disk.
|
RunInstancesRequest.SystemDisk.Builder |
storageClusterId(String storageClusterId)
The ID of the dedicated block storage cluster to which the system disk belongs.
|
public RunInstancesRequest.SystemDisk.Builder autoSnapshotPolicyId(String autoSnapshotPolicyId)
public RunInstancesRequest.SystemDisk.Builder category(String category)
* cloud_efficiency: utra disk * cloud_ssd: standard SSD * cloud_essd: enhanced SSD (ESSD) * cloud: basic disk * cloud_auto: ESSD AutoPL disk * cloud_essd_entry: ESSD Entry disk > The value of this parameter can be `cloud_essd_entry` only when `InstanceType` is set to `ecs.u1` or `ecs.e`. ecs.u1 indicates the u1 universal instance family and ecs.e indicates the e economy instance family. For information about the u1 and e instance families, see the [u1, universal instance family](~~457079~~) section in the "Universal instance families" topic and the [e, economy instance family](~~108489~~) section in the "Shared instance families" topic. 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.
public RunInstancesRequest.SystemDisk.Builder description(String description)
public RunInstancesRequest.SystemDisk.Builder diskName(String diskName)
public RunInstancesRequest.SystemDisk.Builder performanceLevel(String performanceLevel)
* 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~~).
public RunInstancesRequest.SystemDisk.Builder size(String size)
* Basic disk: 20 to 500. * ESSD: Valid values vary based on the performance level of the ESSD. * PL0 ESSD: 1 to 2048. * PL1 ESSD: 20 to 2048. * PL2 ESSD: 461 to 2048. * PL3 ESSD: 1261 to 2048. * ESSD AutoPL disk: 1 to 2048. * Other disk categories: 20 to 2048. The value of this parameter must be at least 1 and greater than or equal to the image size. Default value: 40 or the image size, whichever is greater.
public RunInstancesRequest.SystemDisk.Builder burstingEnabled(Boolean burstingEnabled)
* true: enables the performance burst feature for the system disk. * false: disables the performance burst feature for the system disk. > This parameter is available only if you set `SystemDisk.Category` to `cloud_auto`. For more information, see [ESSD AutoPL disks](~~368372~~).
public RunInstancesRequest.SystemDisk.Builder encryptAlgorithm(String encryptAlgorithm)
public RunInstancesRequest.SystemDisk.Builder encrypted(String encrypted)
* true: encrypts the system disk. * false: does not encrypt the system disk. Default value: false. > The system disks of instances cannot be encrypted during instance creation in Hong Kong Zone D or Singapore Zone A.
public RunInstancesRequest.SystemDisk.Builder KMSKeyId(String KMSKeyId)
public RunInstancesRequest.SystemDisk.Builder provisionedIops(Long provisionedIops)
Baseline IOPS = min{1,800 + 50 × Capacity, 50,000} > This parameter is available only if you set `SystemDisk.Category` to `cloud_auto`. For more information, see [ESSD AutoPL disks](~~368372~~).
public RunInstancesRequest.SystemDisk.Builder storageClusterId(String storageClusterId)
public RunInstancesRequest.SystemDisk build()
Copyright © 2024. All rights reserved.