public static final class CreateAutoProvisioningGroupRequest.LaunchTemplateConfig.Builder extends Object
构造器和说明 |
---|
Builder() |
public CreateAutoProvisioningGroupRequest.LaunchTemplateConfig.Builder architectures(List<String> architectures)
public CreateAutoProvisioningGroupRequest.LaunchTemplateConfig.Builder burstablePerformance(String burstablePerformance)
* Exclude: does not include burstable instance types. * Include: includes burstable instance types. * Required: includes only burstable instance types. Default value: Include.
public CreateAutoProvisioningGroupRequest.LaunchTemplateConfig.Builder cores(List<Integer> cores)
public CreateAutoProvisioningGroupRequest.LaunchTemplateConfig.Builder excludedInstanceTypes(List<String> excludedInstanceTypes)
public CreateAutoProvisioningGroupRequest.LaunchTemplateConfig.Builder instanceFamilyLevel(String instanceFamilyLevel)
* EntryLevel: entry level (shared instance types). Instance types of this level are the most cost-effective but may not provide stable computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low. For more information, see [Shared instance families](~~108489~~). * EnterpriseLevel: enterprise level. Instance types of this level provide stable performance and dedicated resources and are suitable for scenarios that require high stability. For more information, see the [Overview of instance families](~~25378~~) topic. * CreditEntryLevel: credit entry level (burstable instance types). CPU credits are used to ensure computing performance. Instance types of this level are suitable for scenarios in which the CPU utilization is low but may fluctuate in specific cases. For more information, see [Overview of burstable instances](~~59977~~). Valid values of N: 1 to 10.
public CreateAutoProvisioningGroupRequest.LaunchTemplateConfig.Builder instanceType(String instanceType)
public CreateAutoProvisioningGroupRequest.LaunchTemplateConfig.Builder maxPrice(Double maxPrice)
> If you specify one or more other `LaunchTemplateConfig.N.*` parameters, you must also specify `LaunchTemplateConfig.N.MaxPrice`.
public CreateAutoProvisioningGroupRequest.LaunchTemplateConfig.Builder maxQuantity(Integer maxQuantity)
public CreateAutoProvisioningGroupRequest.LaunchTemplateConfig.Builder memories(List<Float> memories)
public CreateAutoProvisioningGroupRequest.LaunchTemplateConfig.Builder priority(Integer priority)
public CreateAutoProvisioningGroupRequest.LaunchTemplateConfig.Builder vSwitchId(String vSwitchId)
> If you specify one or more other `LaunchTemplateConfig.N.*` parameters, you must also specify `LaunchTemplateConfig.N.VSwitchId`.
public CreateAutoProvisioningGroupRequest.LaunchTemplateConfig.Builder weightedCapacity(Double weightedCapacity)
The weight is calculated based on the computing power of the specified instance type and the minimum computing power of a single instance in the cluster to be created by the auto provisioning group. For example, assume that the minimum computing power of a single instance is 8 vCPUs and 60 GiB of memory. * For an instance type with 8 vCPUs and 60 GiB of memory, you can set the weight to 1. * For an instance type with 16 vCPUs and 120 GiB of memory, you can set the weight to 2.
public CreateAutoProvisioningGroupRequest.LaunchTemplateConfig build()
Copyright © 2024. All rights reserved.