public class DescribePodsBySpecRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
DescribePodsBySpecRequest() |
DescribePodsBySpecRequest(DescribePodsBySpecRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getClusterId()
Get 集群 ID
|
Float |
getCpu()
Get 核数
|
Filter[] |
getFilters()
Get pod-type
按照**【Pod 类型**】进行过滤。资源类型:intel、amd、v100、t4、a10\*gnv4、a10\*gnv4v等。
类型:String
必选:否
pod-deduct
按照**【上个周期抵扣的Pod**】进行过滤。Values可不设置。
必选:否
pod-not-deduct
按照**【上个周期未抵扣的Pod**】进行过滤。Values可不设置。
必选:否
|
String |
getGpuNum()
Get 卡数,有0.25、0.5、1、2、4等
|
Long |
getLimit()
Get 返回数量,默认为20,最大值为100。
|
Float |
getMemory()
Get 内存
|
String |
getNodeName()
Get 节点名称
|
Long |
getOffset()
Get 偏移量,默认0。
|
String |
getZone()
Get 可用区
|
void |
setClusterId(String ClusterId)
Set 集群 ID
|
void |
setCpu(Float Cpu)
Set 核数
|
void |
setFilters(Filter[] Filters)
Set pod-type
按照**【Pod 类型**】进行过滤。资源类型:intel、amd、v100、t4、a10\*gnv4、a10\*gnv4v等。
类型:String
必选:否
pod-deduct
按照**【上个周期抵扣的Pod**】进行过滤。Values可不设置。
必选:否
pod-not-deduct
按照**【上个周期未抵扣的Pod**】进行过滤。Values可不设置。
必选:否
|
void |
setGpuNum(String GpuNum)
Set 卡数,有0.25、0.5、1、2、4等
|
void |
setLimit(Long Limit)
Set 返回数量,默认为20,最大值为100。
|
void |
setMemory(Float Memory)
Set 内存
|
void |
setNodeName(String NodeName)
Set 节点名称
|
void |
setOffset(Long Offset)
Set 偏移量,默认0。
|
void |
setZone(String Zone)
Set 可用区
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public DescribePodsBySpecRequest()
public DescribePodsBySpecRequest(DescribePodsBySpecRequest source)
public Float getCpu()
public void setCpu(Float Cpu)
Cpu
- 核数public Float getMemory()
public void setMemory(Float Memory)
Memory
- 内存public String getGpuNum()
public void setGpuNum(String GpuNum)
GpuNum
- 卡数,有0.25、0.5、1、2、4等public String getZone()
public void setZone(String Zone)
Zone
- 可用区public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- 集群 IDpublic String getNodeName()
public void setNodeName(String NodeName)
NodeName
- 节点名称public Long getOffset()
public void setOffset(Long Offset)
Offset
- 偏移量,默认0。public Long getLimit()
public void setLimit(Long Limit)
Limit
- 返回数量,默认为20,最大值为100。public Filter[] getFilters()
public void setFilters(Filter[] Filters)
Filters
- pod-type
按照**【Pod 类型**】进行过滤。资源类型:intel、amd、v100、t4、a10\*gnv4、a10\*gnv4v等。
类型:String
必选:否
pod-deduct
按照**【上个周期抵扣的Pod**】进行过滤。Values可不设置。
必选:否
pod-not-deduct
按照**【上个周期未抵扣的Pod**】进行过滤。Values可不设置。
必选:否Copyright © 2025. All rights reserved.