public class DescribeReservedInstancesRequest extends AbstractModel
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 |
---|---|
Boolean |
getDryRun()
Get Dry run.
|
Filter[] |
getFilters()
Get zone
Filters by availability zone in which reserved instances can be purchased, such as `ap-guangzhou-1`. |
Long |
getLimit()
Get Number of returned results.
|
Long |
getOffset()
Get Offset.
|
void |
setDryRun(Boolean DryRun)
Set Dry run.
|
void |
setFilters(Filter[] Filters)
Set zone
Filters by availability zone in which reserved instances can be purchased, such as `ap-guangzhou-1`. |
void |
setLimit(Long Limit)
Set Number of returned results.
|
void |
setOffset(Long Offset)
Set Offset.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public DescribeReservedInstancesRequest()
public DescribeReservedInstancesRequest(DescribeReservedInstancesRequest source)
public Boolean getDryRun()
public void setDryRun(Boolean DryRun)
DryRun
- Dry run. The default is false.public Long getOffset()
public void setOffset(Long Offset)
Offset
- Offset. The default value is 0. For more information on `Offset`, see the relevant sections in API [Overview](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).public Long getLimit()
public void setLimit(Long Limit)
Limit
- Number of returned results. The default value is 20. The maximum is 100. For more information on `Limit`, see the relevant sections in API [Overview](https://intl.cloud.tencent.com/document/api/213/15688?from_cn_redirect=1).public Filter[] getFilters()
Filters by availability zone in which reserved instances can be purchased, such as `ap-guangzhou-1`.
Type: String
Required: no
Valid values: please see Availability Zones
Filters by validity period of the reserved instance, such as `31536000`.
Type: Integer
Unit: second
Required: no
Valid value: 31536000 (1 year)
Filters by specification of the reserved instance, such as `S3.MEDIUM4`.
Type: String
Required: no
Valid values: please see Reserved Instance Types
Filters by type of the reserved instance, such as `S3`.
Type: String
Required: no
Valid values: please see Reserved Instance Types
Filters by payment method, such as `All Upfront`.
Type: String
Required: no
Valid values: All Upfront | Partial Upfront | No Upfront
Filters by platform description (operating system) of the reserved instance, such as `linux`.
Type: String
Required: no
Valid value: linux
Filters by reserved instance ID in the form of 650c138f-ae7e-4750-952a-96841d6e9fc1.
Type: String
Required: no
Filters by reserved instance status, such as `active`.
Type: String
Required: no
Valid values: active (created) | pending (waiting to be created) | retired (expired)
Each request can have up to 10 `Filters` and 5 `Filter.Values`.Filters by availability zone in which reserved instances can be purchased, such as `ap-guangzhou-1`.
Type: String
Required: no
Valid values: please see Availability Zones
Filters by validity period of the reserved instance, such as `31536000`.
Type: Integer
Unit: second
Required: no
Valid value: 31536000 (1 year)
Filters by specification of the reserved instance, such as `S3.MEDIUM4`.
Type: String
Required: no
Valid values: please see Reserved Instance Types
Filters by type of the reserved instance, such as `S3`.
Type: String
Required: no
Valid values: please see Reserved Instance Types
Filters by payment method, such as `All Upfront`.
Type: String
Required: no
Valid values: All Upfront | Partial Upfront | No Upfront
Filters by platform description (operating system) of the reserved instance, such as `linux`.
Type: String
Required: no
Valid value: linux
Filters by reserved instance ID in the form of 650c138f-ae7e-4750-952a-96841d6e9fc1.
Type: String
Required: no
Filters by reserved instance status, such as `active`.
Type: String
Required: no
Valid values: active (created) | pending (waiting to be created) | retired (expired)
Each request can have up to 10 `Filters` and 5 `Filter.Values`.public void setFilters(Filter[] Filters)
Filters by availability zone in which reserved instances can be purchased, such as `ap-guangzhou-1`.
Type: String
Required: no
Valid values: please see Availability Zones
Filters by validity period of the reserved instance, such as `31536000`.
Type: Integer
Unit: second
Required: no
Valid value: 31536000 (1 year)
Filters by specification of the reserved instance, such as `S3.MEDIUM4`.
Type: String
Required: no
Valid values: please see Reserved Instance Types
Filters by type of the reserved instance, such as `S3`.
Type: String
Required: no
Valid values: please see Reserved Instance Types
Filters by payment method, such as `All Upfront`.
Type: String
Required: no
Valid values: All Upfront | Partial Upfront | No Upfront
Filters by platform description (operating system) of the reserved instance, such as `linux`.
Type: String
Required: no
Valid value: linux
Filters by reserved instance ID in the form of 650c138f-ae7e-4750-952a-96841d6e9fc1.
Type: String
Required: no
Filters by reserved instance status, such as `active`.
Type: String
Required: no
Valid values: active (created) | pending (waiting to be created) | retired (expired)
Each request can have up to 10 `Filters` and 5 `Filter.Values`.Filters
- Filters by availability zone in which reserved instances can be purchased, such as `ap-guangzhou-1`.
Type: String
Required: no
Valid values: please see Availability Zones
Filters by validity period of the reserved instance, such as `31536000`.
Type: Integer
Unit: second
Required: no
Valid value: 31536000 (1 year)
Filters by specification of the reserved instance, such as `S3.MEDIUM4`.
Type: String
Required: no
Valid values: please see Reserved Instance Types
Filters by type of the reserved instance, such as `S3`.
Type: String
Required: no
Valid values: please see Reserved Instance Types
Filters by payment method, such as `All Upfront`.
Type: String
Required: no
Valid values: All Upfront | Partial Upfront | No Upfront
Filters by platform description (operating system) of the reserved instance, such as `linux`.
Type: String
Required: no
Valid value: linux
Filters by reserved instance ID in the form of 650c138f-ae7e-4750-952a-96841d6e9fc1.
Type: String
Required: no
Filters by reserved instance status, such as `active`.
Type: String
Required: no
Valid values: active (created) | pending (waiting to be created) | retired (expired)
Each request can have up to 10 `Filters` and 5 `Filter.Values`.Copyright © 2021. All rights reserved.