Class DescribeReservedInstancesOfferingsRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cvm.v20170312.models.DescribeReservedInstancesOfferingsRequest
-
public class DescribeReservedInstancesOfferingsRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DescribeReservedInstancesOfferingsRequest()DescribeReservedInstancesOfferingsRequest(DescribeReservedInstancesOfferingsRequest 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetDryRun()Get 试运行, 默认为 false。Filter[]getFilters()Get zoneLonggetLimit()Get 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。LonggetMaxDuration()Get 以最大有效期作为过滤参数。 计量单位: 秒 默认为 94608000。LonggetMinDuration()Get 以最小有效期作为过滤参数。 计量单位: 秒 默认为 2592000。LonggetOffset()Get 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。voidsetDryRun(Boolean DryRun)Set 试运行, 默认为 false。voidsetFilters(Filter[] Filters)Set zonevoidsetLimit(Long Limit)Set 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。voidsetMaxDuration(Long MaxDuration)Set 以最大有效期作为过滤参数。 计量单位: 秒 默认为 94608000。voidsetMinDuration(Long MinDuration)Set 以最小有效期作为过滤参数。 计量单位: 秒 默认为 2592000。voidsetOffset(Long Offset)Set 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
DescribeReservedInstancesOfferingsRequest
public DescribeReservedInstancesOfferingsRequest()
-
DescribeReservedInstancesOfferingsRequest
public DescribeReservedInstancesOfferingsRequest(DescribeReservedInstancesOfferingsRequest 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.
-
-
Method Detail
-
getDryRun
public Boolean getDryRun()
Get 试运行, 默认为 false。- Returns:
- DryRun 试运行, 默认为 false。
-
setDryRun
public void setDryRun(Boolean DryRun)
Set 试运行, 默认为 false。- Parameters:
DryRun- 试运行, 默认为 false。
-
getOffset
public Long getOffset()
Get 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。- Returns:
- Offset 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
-
setOffset
public void setOffset(Long Offset)
Set 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。- Parameters:
Offset- 偏移量,默认为0。关于`Offset`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
-
getLimit
public Long getLimit()
Get 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。- Returns:
- Limit 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
-
setLimit
public void setLimit(Long Limit)
Set 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。- Parameters:
Limit- 返回数量,默认为20,最大值为100。关于`Limit`的更进一步介绍请参考 API [简介](https://cloud.tencent.com/document/api/213/15688)中的相关小节。
-
getMaxDuration
public Long getMaxDuration()
Get 以最大有效期作为过滤参数。 计量单位: 秒 默认为 94608000。- Returns:
- MaxDuration 以最大有效期作为过滤参数。 计量单位: 秒 默认为 94608000。
-
setMaxDuration
public void setMaxDuration(Long MaxDuration)
Set 以最大有效期作为过滤参数。 计量单位: 秒 默认为 94608000。- Parameters:
MaxDuration- 以最大有效期作为过滤参数。 计量单位: 秒 默认为 94608000。
-
getMinDuration
public Long getMinDuration()
Get 以最小有效期作为过滤参数。 计量单位: 秒 默认为 2592000。- Returns:
- MinDuration 以最小有效期作为过滤参数。 计量单位: 秒 默认为 2592000。
-
setMinDuration
public void setMinDuration(Long MinDuration)
Set 以最小有效期作为过滤参数。 计量单位: 秒 默认为 2592000。- Parameters:
MinDuration- 以最小有效期作为过滤参数。 计量单位: 秒 默认为 2592000。
-
getFilters
public Filter[] getFilters()
Get- zone
按照预留实例计费可购买的【可用区】进行过滤。形如:ap-guangzhou-1。
类型:String
必选:否
可选项:可用区列表
- duration
按照预留实例计费【有效期】即预留实例计费购买时长进行过滤。形如:31536000。
类型:Integer
计量单位:秒
必选:否
可选项:31536000 (1年) | 94608000(3年)
- instance-type
按照【预留实例计费类型】进行过滤。形如:S3.MEDIUM4。
类型:String
必选:否
可选项:预留实例计费类型列表
- offering-type
按照【付款类型】进行过滤。形如:All Upfront (预付全部费用)。
类型:String
必选:否
可选项:All Upfront (预付全部费用)
- product-description
按照预留实例计费的【平台描述】(即操作系统)进行过滤。形如:linux。
类型:String
必选:否
可选项:linux
- reserved-instances-offering-id
按照【预留实例计费配置ID】进行过滤。形如:650c138f-ae7e-4750-952a-96841d6e9fc1。
类型:String
必选:否
每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。- Returns:
- Filters
- zone
按照预留实例计费可购买的【可用区】进行过滤。形如:ap-guangzhou-1。
类型:String
必选:否
可选项:可用区列表
- duration
按照预留实例计费【有效期】即预留实例计费购买时长进行过滤。形如:31536000。
类型:Integer
计量单位:秒
必选:否
可选项:31536000 (1年) | 94608000(3年)
- instance-type
按照【预留实例计费类型】进行过滤。形如:S3.MEDIUM4。
类型:String
必选:否
可选项:预留实例计费类型列表
- offering-type
按照【付款类型】进行过滤。形如:All Upfront (预付全部费用)。
类型:String
必选:否
可选项:All Upfront (预付全部费用)
- product-description
按照预留实例计费的【平台描述】(即操作系统)进行过滤。形如:linux。
类型:String
必选:否
可选项:linux
- reserved-instances-offering-id
按照【预留实例计费配置ID】进行过滤。形如:650c138f-ae7e-4750-952a-96841d6e9fc1。
类型:String
必选:否
每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。
-
setFilters
public void setFilters(Filter[] Filters)
Set- zone
按照预留实例计费可购买的【可用区】进行过滤。形如:ap-guangzhou-1。
类型:String
必选:否
可选项:可用区列表
- duration
按照预留实例计费【有效期】即预留实例计费购买时长进行过滤。形如:31536000。
类型:Integer
计量单位:秒
必选:否
可选项:31536000 (1年) | 94608000(3年)
- instance-type
按照【预留实例计费类型】进行过滤。形如:S3.MEDIUM4。
类型:String
必选:否
可选项:预留实例计费类型列表
- offering-type
按照【付款类型】进行过滤。形如:All Upfront (预付全部费用)。
类型:String
必选:否
可选项:All Upfront (预付全部费用)
- product-description
按照预留实例计费的【平台描述】(即操作系统)进行过滤。形如:linux。
类型:String
必选:否
可选项:linux
- reserved-instances-offering-id
按照【预留实例计费配置ID】进行过滤。形如:650c138f-ae7e-4750-952a-96841d6e9fc1。
类型:String
必选:否
每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。- Parameters:
Filters-- zone
按照预留实例计费可购买的【可用区】进行过滤。形如:ap-guangzhou-1。
类型:String
必选:否
可选项:可用区列表
- duration
按照预留实例计费【有效期】即预留实例计费购买时长进行过滤。形如:31536000。
类型:Integer
计量单位:秒
必选:否
可选项:31536000 (1年) | 94608000(3年)
- instance-type
按照【预留实例计费类型】进行过滤。形如:S3.MEDIUM4。
类型:String
必选:否
可选项:预留实例计费类型列表
- offering-type
按照【付款类型】进行过滤。形如:All Upfront (预付全部费用)。
类型:String
必选:否
可选项:All Upfront (预付全部费用)
- product-description
按照预留实例计费的【平台描述】(即操作系统)进行过滤。形如:linux。
类型:String
必选:否
可选项:linux
- reserved-instances-offering-id
按照【预留实例计费配置ID】进行过滤。形如:650c138f-ae7e-4750-952a-96841d6e9fc1。
类型:String
必选:否
每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。
-
-