public static class ModifyAutoProvisioningGroupRequest.ModifyAutoProvisioningGroupRequestLaunchTemplateConfig
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
String |
instanceType
The instance type in extended configuration N.
|
Double |
maxPrice
The maximum price of preemptible instances in extended configuration N.
|
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 specified in the extended configuration.
|
构造器和说明 |
---|
ModifyAutoProvisioningGroupRequestLaunchTemplateConfig() |
@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:3
@NameInMap(value="Priority") public Integer priority
The priority of extended configuration N. A value of 0 indicates the highest priority. The value must be greater than 0.
example:1
@NameInMap(value="VSwitchId") public String vSwitchId
The ID of the vSwitch in extended configuration N. The zone of the instances created from the extended configuration is determined by the vSwitch.
example:vsw-sn5bsitu4lfzgc5o7****
@NameInMap(value="WeightedCapacity") public Double weightedCapacity
The weight of the instance type specified in the extended configuration. 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 instance type and the minimum computing power of a single instance in the cluster that can 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 ModifyAutoProvisioningGroupRequestLaunchTemplateConfig()
public static ModifyAutoProvisioningGroupRequest.ModifyAutoProvisioningGroupRequestLaunchTemplateConfig build(Map<String,?> map) throws Exception
Exception
public ModifyAutoProvisioningGroupRequest.ModifyAutoProvisioningGroupRequestLaunchTemplateConfig setInstanceType(String instanceType)
public String getInstanceType()
public ModifyAutoProvisioningGroupRequest.ModifyAutoProvisioningGroupRequestLaunchTemplateConfig setMaxPrice(Double maxPrice)
public Double getMaxPrice()
public ModifyAutoProvisioningGroupRequest.ModifyAutoProvisioningGroupRequestLaunchTemplateConfig setPriority(Integer priority)
public Integer getPriority()
public ModifyAutoProvisioningGroupRequest.ModifyAutoProvisioningGroupRequestLaunchTemplateConfig setVSwitchId(String vSwitchId)
public String getVSwitchId()
public ModifyAutoProvisioningGroupRequest.ModifyAutoProvisioningGroupRequestLaunchTemplateConfig setWeightedCapacity(Double weightedCapacity)
public Double getWeightedCapacity()
Copyright © 2024. All rights reserved.