public class DescribeReservedInstancesRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| DescribeReservedInstancesRequest() | 
| DescribeReservedInstancesRequest(DescribeReservedInstancesRequest 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 | 
|---|---|
| Filter[] | getFilters()Get status
按照**【状态**】进行过滤。状态:Creating:创建中、Active:生效中、Expired:已过期、Refunded:已退还。
类型:String
必选:否
resource-type
按照**【资源类型**】进行过滤。资源类型:common、amd、v100、t4、a10\*gnv4、a10\*gnv4v等,common表示通用类型。
类型:String
必选:否
cpu
按照**【核数**】进行过滤。
类型:String
必选:否
memory
按照**【内存**】进行过滤。
类型:String
必选:否
gpu
按照**【GPU卡数**】进行过滤,取值有0.25、0.5、1、2、4等。
类型:String
必选:否
cluster-id
按照**【集群ID**】进行过滤。
类型:String
必选:否
node-name
按照**【节点名称**】进行过滤。
类型:String
必选:否
scope
按照**【可用区**】进行过滤。比如:ap-guangzhou-2,为空字符串表示地域抵扣范围。如果只过滤可用区抵扣范围,需要同时将cluster-id、node-name设置为空字符串。
类型:String
必选:否
reserved-instance-id
按照**【预留实例ID**】进行过滤。预留实例ID形如:eksri-xxxxxxxx。
类型:String
必选:否
reserved-instance-name
按照**【预留实例名称**】进行过滤。
类型:String
必选:否
reserved-instance-deduct
按照**【上个周期抵扣的预留券**】进行过滤。Values可不设置。
必选:否
reserved-instance-not-deduct
按照**【上个周期未抵扣的预留券**】进行过滤。Values可不设置。
必选:否 | 
| Long | getLimit()Get 返回数量,默认为20,最大值为100。 | 
| Long | getOffset()Get 偏移量,默认0。 | 
| String | getOrderDirection()Get 排序方法。顺序:ASC,倒序:DESC。默认值DESC。 | 
| String | getOrderField()Get 排序字段。支持CreatedAt、ActiveAt、ExpireAt。默认值CreatedAt。 | 
| void | setFilters(Filter[] Filters)Set status
按照**【状态**】进行过滤。状态:Creating:创建中、Active:生效中、Expired:已过期、Refunded:已退还。
类型:String
必选:否
resource-type
按照**【资源类型**】进行过滤。资源类型:common、amd、v100、t4、a10\*gnv4、a10\*gnv4v等,common表示通用类型。
类型:String
必选:否
cpu
按照**【核数**】进行过滤。
类型:String
必选:否
memory
按照**【内存**】进行过滤。
类型:String
必选:否
gpu
按照**【GPU卡数**】进行过滤,取值有0.25、0.5、1、2、4等。
类型:String
必选:否
cluster-id
按照**【集群ID**】进行过滤。
类型:String
必选:否
node-name
按照**【节点名称**】进行过滤。
类型:String
必选:否
scope
按照**【可用区**】进行过滤。比如:ap-guangzhou-2,为空字符串表示地域抵扣范围。如果只过滤可用区抵扣范围,需要同时将cluster-id、node-name设置为空字符串。
类型:String
必选:否
reserved-instance-id
按照**【预留实例ID**】进行过滤。预留实例ID形如:eksri-xxxxxxxx。
类型:String
必选:否
reserved-instance-name
按照**【预留实例名称**】进行过滤。
类型:String
必选:否
reserved-instance-deduct
按照**【上个周期抵扣的预留券**】进行过滤。Values可不设置。
必选:否
reserved-instance-not-deduct
按照**【上个周期未抵扣的预留券**】进行过滤。Values可不设置。
必选:否 | 
| void | setLimit(Long Limit)Set 返回数量,默认为20,最大值为100。 | 
| void | setOffset(Long Offset)Set 偏移量,默认0。 | 
| void | setOrderDirection(String OrderDirection)Set 排序方法。顺序:ASC,倒序:DESC。默认值DESC。 | 
| void | setOrderField(String OrderField)Set 排序字段。支持CreatedAt、ActiveAt、ExpireAt。默认值CreatedAt。 | 
| 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, toJsonStringpublic DescribeReservedInstancesRequest()
public DescribeReservedInstancesRequest(DescribeReservedInstancesRequest source)
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 - status
按照**【状态**】进行过滤。状态:Creating:创建中、Active:生效中、Expired:已过期、Refunded:已退还。
类型:String
必选:否
resource-type
按照**【资源类型**】进行过滤。资源类型:common、amd、v100、t4、a10\*gnv4、a10\*gnv4v等,common表示通用类型。
类型:String
必选:否
cpu
按照**【核数**】进行过滤。
类型:String
必选:否
memory
按照**【内存**】进行过滤。
类型:String
必选:否
gpu
按照**【GPU卡数**】进行过滤,取值有0.25、0.5、1、2、4等。
类型:String
必选:否
cluster-id
按照**【集群ID**】进行过滤。
类型:String
必选:否
node-name
按照**【节点名称**】进行过滤。
类型:String
必选:否
scope
按照**【可用区**】进行过滤。比如:ap-guangzhou-2,为空字符串表示地域抵扣范围。如果只过滤可用区抵扣范围,需要同时将cluster-id、node-name设置为空字符串。
类型:String
必选:否
reserved-instance-id
按照**【预留实例ID**】进行过滤。预留实例ID形如:eksri-xxxxxxxx。
类型:String
必选:否
reserved-instance-name
按照**【预留实例名称**】进行过滤。
类型:String
必选:否
reserved-instance-deduct
按照**【上个周期抵扣的预留券**】进行过滤。Values可不设置。
必选:否
reserved-instance-not-deduct
按照**【上个周期未抵扣的预留券**】进行过滤。Values可不设置。
必选:否public String getOrderField()
public void setOrderField(String OrderField)
OrderField - 排序字段。支持CreatedAt、ActiveAt、ExpireAt。默认值CreatedAt。public String getOrderDirection()
public void setOrderDirection(String OrderDirection)
OrderDirection - 排序方法。顺序:ASC,倒序:DESC。默认值DESC。Copyright © 2025. All rights reserved.