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)
系统盘是否加密。
|
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: enhanced SSD (ESSD). You can use the `SystemDisk.PerformanceLevel` parameter to set the performance level of the ESSD to use as the system disk. cloud_auto: ESSD AutoPL disk. For non-I/O optimized instances of a retired instance type, the default value is cloud. For other types of instances, the default value is cloud_efficiency.
public CreateLaunchTemplateRequest.SystemDisk.Builder deleteWithInstance(Boolean deleteWithInstance)
* true: releases the system disk when the instance is released. * false: does not release the system disk when the instance is released. 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:不加密。 默认值:false。 >中国香港D可用区、新加坡A可用区暂不支持在创建实例时加密系统盘。
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)
The value of this parameter must be at least 20 and greater than or equal to the size of the specified image.
public CreateLaunchTemplateRequest.SystemDisk build()
Copyright © 2023. All rights reserved.