public static final class CreateLaunchTemplateVersionRequest.SystemDisk.Builder extends Object
构造器和说明 |
---|
Builder() |
public CreateLaunchTemplateVersionRequest.SystemDisk.Builder autoSnapshotPolicyId(String autoSnapshotPolicyId)
public CreateLaunchTemplateVersionRequest.SystemDisk.Builder burstingEnabled(Boolean burstingEnabled)
* true * false
public CreateLaunchTemplateVersionRequest.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 CreateLaunchTemplateVersionRequest.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 CreateLaunchTemplateVersionRequest.SystemDisk.Builder description(String description)
public CreateLaunchTemplateVersionRequest.SystemDisk.Builder diskName(String diskName)
public CreateLaunchTemplateVersionRequest.SystemDisk.Builder encrypted(String encrypted)
- true:加密。 - false:不加密。 默认值:false。 >中国香港D可用区、新加坡A可用区暂不支持在创建实例时加密系统盘。
public CreateLaunchTemplateVersionRequest.SystemDisk.Builder iops(Integer iops)
public CreateLaunchTemplateVersionRequest.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 CreateLaunchTemplateVersionRequest.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 CreateLaunchTemplateVersionRequest.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 CreateLaunchTemplateVersionRequest.SystemDisk build()
Copyright © 2023. All rights reserved.