public static final class CreateLaunchTemplateRequest.SystemDisk.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
CreateLaunchTemplateRequest.SystemDisk.Builder |
autoSnapshotPolicyId(String autoSnapshotPolicyId)
The ID of the automatic snapshot policy to apply to the system disk.
|
CreateLaunchTemplateRequest.SystemDisk |
build() |
CreateLaunchTemplateRequest.SystemDisk.Builder |
burstingEnabled(Boolean burstingEnabled)
Specifies whether to enable the performance burst feature for the system disk.
|
CreateLaunchTemplateRequest.SystemDisk.Builder |
category(String category)
The category of the system disk.
|
CreateLaunchTemplateRequest.SystemDisk.Builder |
deleteWithInstance(Boolean deleteWithInstance)
Specifies whether to release the system disk when the instance is released.
|
CreateLaunchTemplateRequest.SystemDisk.Builder |
description(String description)
The description of the system disk.
|
CreateLaunchTemplateRequest.SystemDisk.Builder |
diskName(String diskName)
The name of the system disk.
|
CreateLaunchTemplateRequest.SystemDisk.Builder |
encrypted(String encrypted)
Specifies whether to encrypt the system disk.
|
CreateLaunchTemplateRequest.SystemDisk.Builder |
iops(Integer iops)
> This parameter is in invitational preview and is unavailable for general users.
|
CreateLaunchTemplateRequest.SystemDisk.Builder |
performanceLevel(String performanceLevel)
The performance level of the ESSD to use as the system disk.
|
CreateLaunchTemplateRequest.SystemDisk.Builder |
provisionedIops(Long provisionedIops)
The provisioned read/write IOPS of the ESSD AutoPL disk to use as the system disk.
|
CreateLaunchTemplateRequest.SystemDisk.Builder |
size(Integer size)
The size of the system disk.
|
public CreateLaunchTemplateRequest.SystemDisk.Builder autoSnapshotPolicyId(String autoSnapshotPolicyId)
public CreateLaunchTemplateRequest.SystemDisk.Builder burstingEnabled(Boolean burstingEnabled)
* true * false
public CreateLaunchTemplateRequest.SystemDisk.Builder category(String category)
* cloud: basic disk. * cloud_efficiency: ultra disk. * cloud_ssd: standard SSD. * cloud_essd: Enterprise SSD (ESSD). You can use `SystemDisk.PerformanceLevel` to set the performance level of the ESSD to use as the system disk. * cloud_auto: ESSD AutoPL disk. * cloud_essd_entry: ESSD Entry 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.
public CreateLaunchTemplateRequest.SystemDisk.Builder deleteWithInstance(Boolean deleteWithInstance)
* true * false Default value: true.
public CreateLaunchTemplateRequest.SystemDisk.Builder description(String description)
public CreateLaunchTemplateRequest.SystemDisk.Builder diskName(String diskName)
public CreateLaunchTemplateRequest.SystemDisk.Builder encrypted(String encrypted)
* true * false Default value: false. > If you create an instance in Hong Kong Zone D or Singapore Zone A, you cannot encrypt the system disk.
public CreateLaunchTemplateRequest.SystemDisk.Builder iops(Integer iops)
public CreateLaunchTemplateRequest.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 CreateLaunchTemplateRequest.SystemDisk.Builder provisionedIops(Long provisionedIops)
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~~).
public CreateLaunchTemplateRequest.SystemDisk.Builder size(Integer size)
* Valid values if you set SystemDisk.Category to cloud: 20 to 500. * Valid values if you set SystemDisk.Category to other disk categories: 20 to 2048. The value of this parameter must be at least 20 and greater than or equal to the size of the image.
public CreateLaunchTemplateRequest.SystemDisk build()
Copyright © 2024. All rights reserved.