public class DescribeSpotAdviceRequest
extends com.aliyun.tea.TeaModel
限定符和类型 | 字段和说明 |
---|---|
Integer |
cores
The number of vCPUs of the instance type.
|
Integer |
gpuAmount
The number of GPUs that the GPU-accelerated instance has.
|
String |
gpuSpec
The GPU type.
|
String |
instanceFamilyLevel
The level of the instance family.
|
String |
instanceTypeFamily
The instance family.
|
List<String> |
instanceTypes
The instance types.
|
Float |
memory
The memory size of the instance type.
|
Integer |
minCores
The minimum number of vCPUs of the instance type.
|
Float |
minMemory
The minimum memory size of the instance type.
|
String |
ownerAccount |
Long |
ownerId |
String |
regionId
The ID of the region.
|
String |
resourceOwnerAccount |
Long |
resourceOwnerId |
String |
zoneId
The ID of the zone.
|
构造器和说明 |
---|
DescribeSpotAdviceRequest() |
@NameInMap(value="Cores") public Integer cores
The number of vCPUs of the instance type. For more information, see [Instance families](~~25378~~).
@NameInMap(value="GpuAmount") public Integer gpuAmount
The number of GPUs that the GPU-accelerated instance has. For information about the valid values, see [GPU-accelerated compute optimized instance types](~~108496~~).
@NameInMap(value="GpuSpec") public String gpuSpec
The GPU type. Valid values:
* NVIDIA P4
* NVIDIA T4
* NVIDIA P100
* NVIDIA V100
* NVIDIA A100
This parameter is empty by default, which indicates that all GPU types are queried. For more information, see [GPU-accelerated compute optimized instance types](~~108496~~).
@NameInMap(value="InstanceFamilyLevel") public String instanceFamilyLevel
The level of the instance family. Valid values:
* EntryLevel: entry level.
* EnterpriseLevel: enterprise level.
* CreditEntryLevel: credit-based entry level. For more information, see [Overview](~~59977~~) of burstable instances.
This parameter is empty by default, which indicates that instance families of all levels are queried.
@NameInMap(value="InstanceTypeFamily") public String instanceTypeFamily
The instance family. For more information, see [Instance families](~~25378~~).
@NameInMap(value="InstanceTypes") public List<String> instanceTypes
The instance types. You can specify to 10 instance types.
@NameInMap(value="Memory") public Float memory
The memory size of the instance type. Unit: GiB. For more information, see [Instance families](~~25378~~).
@NameInMap(value="MinCores") public Integer minCores
The minimum number of vCPUs of the instance type. For more information, see [Instance families](~~25378~~).
@NameInMap(value="MinMemory") public Float minMemory
The minimum memory size of the instance type. For more information, see [Instance families](~~25378~~).
@NameInMap(value="OwnerAccount") public String ownerAccount
@NameInMap(value="OwnerId") public Long ownerId
@NameInMap(value="RegionId") public String regionId
The ID of the region. You can call the [DescribeRegions](~~25609~~) operation to query the most recent list of regions.
@NameInMap(value="ResourceOwnerAccount") public String resourceOwnerAccount
@NameInMap(value="ResourceOwnerId") public Long resourceOwnerId
@NameInMap(value="ZoneId") public String zoneId
The ID of the zone.
This parameter is empty by default, which indicates that all zones in the specified region are queried.
public static DescribeSpotAdviceRequest build(Map<String,?> map) throws Exception
Exception
public DescribeSpotAdviceRequest setCores(Integer cores)
public Integer getCores()
public DescribeSpotAdviceRequest setGpuAmount(Integer gpuAmount)
public Integer getGpuAmount()
public DescribeSpotAdviceRequest setGpuSpec(String gpuSpec)
public String getGpuSpec()
public DescribeSpotAdviceRequest setInstanceFamilyLevel(String instanceFamilyLevel)
public String getInstanceFamilyLevel()
public DescribeSpotAdviceRequest setInstanceTypeFamily(String instanceTypeFamily)
public String getInstanceTypeFamily()
public DescribeSpotAdviceRequest setInstanceTypes(List<String> instanceTypes)
public DescribeSpotAdviceRequest setMemory(Float memory)
public Float getMemory()
public DescribeSpotAdviceRequest setMinCores(Integer minCores)
public Integer getMinCores()
public DescribeSpotAdviceRequest setMinMemory(Float minMemory)
public Float getMinMemory()
public DescribeSpotAdviceRequest setOwnerAccount(String ownerAccount)
public String getOwnerAccount()
public DescribeSpotAdviceRequest setOwnerId(Long ownerId)
public Long getOwnerId()
public DescribeSpotAdviceRequest setRegionId(String regionId)
public String getRegionId()
public DescribeSpotAdviceRequest setResourceOwnerAccount(String resourceOwnerAccount)
public String getResourceOwnerAccount()
public DescribeSpotAdviceRequest setResourceOwnerId(Long resourceOwnerId)
public Long getResourceOwnerId()
public DescribeSpotAdviceRequest setZoneId(String zoneId)
public String getZoneId()
Copyright © 2023. All rights reserved.