public static class CreateAutoProvisioningGroupShrinkRequest.CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
List<String> |
architectures
The architectures of the instance types.
|
String |
burstablePerformance
Specifies whether to include burstable instance types.
|
List<Integer> |
cores
The number of vCPU cores of the instance type.
|
List<String> |
excludedInstanceTypes
The instance types that you want to exclude.
|
String |
instanceFamilyLevel
The instance family level of the instance type in extended configuration N.
|
String |
instanceType
The instance type in extended configuration N.
|
Double |
maxPrice
The maximum price of preemptible instances in extended configuration N.
|
Integer |
maxQuantity
This parameter is in invitational preview and is not publicly available.
|
List<Float> |
memories
The memory sizes of the instance type.
|
Integer |
priority
The priority of extended configuration N.
|
String |
vSwitchId
The ID of the vSwitch in extended configuration N.
|
Double |
weightedCapacity
The weight of the instance type in extended configuration N.
|
构造器和说明 |
---|
CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig() |
@NameInMap(value="Architectures") public List<String> architectures
The architectures of the instance types.
@NameInMap(value="BurstablePerformance") public String burstablePerformance
Specifies whether to include burstable instance types. Valid values:
Default value: Include.
example:Include
@NameInMap(value="Cores") public List<Integer> cores
The number of vCPU cores of the instance type.
@NameInMap(value="ExcludedInstanceTypes") public List<String> excludedInstanceTypes
The instance types that you want to exclude.
@NameInMap(value="InstanceFamilyLevel") public String instanceFamilyLevel
The instance family level of the instance type in extended configuration N. This parameter is used to filter instance types. Valid values:
Valid values of N: 1 to 10.
example:EnterpriseLevel
@NameInMap(value="InstanceType") public String instanceType
The instance type in extended configuration N. Valid values of N: 1 to 20. For more information about the valid values of this parameter, see Instance families.
example:ecs.g5.large
@NameInMap(value="MaxPrice") public Double maxPrice
The maximum price of preemptible instances in extended configuration N.
example:If you specify one or more other
LaunchTemplateConfig.N.*
parameters, you must also specifyLaunchTemplateConfig.N.MaxPrice
.
3
@NameInMap(value="MaxQuantity") public Integer maxQuantity
example:This parameter is in invitational preview and is not publicly available.
false
@NameInMap(value="Memories") public List<Float> memories
The memory sizes of the instance type.
@NameInMap(value="Priority") public Integer priority
The priority of extended configuration N. A value of 0 indicates the highest priority. Valid values: 0 to ∞.
example:1
@NameInMap(value="VSwitchId") public String vSwitchId
The ID of the vSwitch in extended configuration N. The zone of the ECS instances created from the extended configuration is determined by the vSwitch.
example:If you specify one or more other
LaunchTemplateConfig.N.*
parameters, you must also specifyLaunchTemplateConfig.N.VSwitchId
.
vsw-sn5bsitu4lfzgc5o7****
@NameInMap(value="WeightedCapacity") public Double weightedCapacity
The weight of the instance type in extended configuration N. A greater weight indicates that a single instance has more computing power and fewer instances are required. The value must be greater than 0.
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.
2
public CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig()
public static CreateAutoProvisioningGroupShrinkRequest.CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig build(Map<String,?> map) throws Exception
Exception
public CreateAutoProvisioningGroupShrinkRequest.CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig setArchitectures(List<String> architectures)
public CreateAutoProvisioningGroupShrinkRequest.CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig setBurstablePerformance(String burstablePerformance)
public String getBurstablePerformance()
public CreateAutoProvisioningGroupShrinkRequest.CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig setCores(List<Integer> cores)
public CreateAutoProvisioningGroupShrinkRequest.CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig setExcludedInstanceTypes(List<String> excludedInstanceTypes)
public CreateAutoProvisioningGroupShrinkRequest.CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig setInstanceFamilyLevel(String instanceFamilyLevel)
public String getInstanceFamilyLevel()
public CreateAutoProvisioningGroupShrinkRequest.CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig setInstanceType(String instanceType)
public String getInstanceType()
public CreateAutoProvisioningGroupShrinkRequest.CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig setMaxPrice(Double maxPrice)
public Double getMaxPrice()
public CreateAutoProvisioningGroupShrinkRequest.CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig setMaxQuantity(Integer maxQuantity)
public Integer getMaxQuantity()
public CreateAutoProvisioningGroupShrinkRequest.CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig setMemories(List<Float> memories)
public CreateAutoProvisioningGroupShrinkRequest.CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig setPriority(Integer priority)
public Integer getPriority()
public CreateAutoProvisioningGroupShrinkRequest.CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig setVSwitchId(String vSwitchId)
public String getVSwitchId()
public CreateAutoProvisioningGroupShrinkRequest.CreateAutoProvisioningGroupShrinkRequestLaunchTemplateConfig setWeightedCapacity(Double weightedCapacity)
public Double getWeightedCapacity()
Copyright © 2024. All rights reserved.