public class DescribeReservedInstancesRequest extends AbstractModel
Constructor and Description |
---|
DescribeReservedInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getDryRun()
Get Dry run.
|
Filter[] |
getFilters()
Get zone
Filters by availability zone in which the 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 the 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 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 the reserved instances can be purchased, such as ap-guangzhou-1.
Type: String
Required: no
Valid values: please see Availability Zones
Filters by the validity of the reserved instance, in seconds. For example, `31536000`.
Type: Integer
Unit: second
Required: no
Valid values: 31536000 (1 year) | 94608000 (3 years)
Filters by reserved instance specification, such as `S3.MEDIUM4`.
Type: String
Required: no
Valid values: please see Reserved Instance Specifications
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 value: All Upfront
Filters by the 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. For example, “active”.
Type: String
Required
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 the reserved instances can be purchased, such as ap-guangzhou-1.
Type: String
Required: no
Valid values: please see Availability Zones
Filters by the validity of the reserved instance, in seconds. For example, `31536000`.
Type: Integer
Unit: second
Required: no
Valid values: 31536000 (1 year) | 94608000 (3 years)
Filters by reserved instance specification, such as `S3.MEDIUM4`.
Type: String
Required: no
Valid values: please see Reserved Instance Specifications
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 value: All Upfront
Filters by the 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. For example, “active”.
Type: String
Required
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 the reserved instances can be purchased, such as ap-guangzhou-1.
Type: String
Required: no
Valid values: please see Availability Zones
Filters by the validity of the reserved instance, in seconds. For example, `31536000`.
Type: Integer
Unit: second
Required: no
Valid values: 31536000 (1 year) | 94608000 (3 years)
Filters by reserved instance specification, such as `S3.MEDIUM4`.
Type: String
Required: no
Valid values: please see Reserved Instance Specifications
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 value: All Upfront
Filters by the 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. For example, “active”.
Type: String
Required
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 the reserved instances can be purchased, such as ap-guangzhou-1.
Type: String
Required: no
Valid values: please see Availability Zones
Filters by the validity of the reserved instance, in seconds. For example, `31536000`.
Type: Integer
Unit: second
Required: no
Valid values: 31536000 (1 year) | 94608000 (3 years)
Filters by reserved instance specification, such as `S3.MEDIUM4`.
Type: String
Required: no
Valid values: please see Reserved Instance Specifications
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 value: All Upfront
Filters by the 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. For example, “active”.
Type: String
Required
Valid values: active (created) | pending (waiting to be created) | retired (expired)
Each request can have up to 10 `Filters` and 5 `Filter.Values`.Copyright © 2020. All rights reserved.