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 the **availability zones** in which reserved instances can be purchased. |
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 the **availability zones** in which reserved instances can be purchased. |
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 the **availability zones** in which reserved instances can be purchased. For example, "ap-guangzhou-1".
Type: String
Required: no
Valid values: list of availability zones
Filters by reserved instance **validity** (in seconds). For example, 31536000.
Type: Integer
Unit: second
Required: no
Valid values: 31536000 (1 year) | 94608000 (3 years)
Filters by **specifications of reserved instances**. For example, "S3.MEDIUM4".
Type: String
Required: no
Valid values: list of reserved instance specifiations
Filters by **payment method**. For example, "All Upfront".
Type: String
Required: no
Valid value: All Upfront
Filters by the **operating system** of the reserved instance. For example, "linux".
Type: String
Required: no
Valid value: linux
Filters by **reserved instance ID. Reserved instance IDs take the form "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 `Filters.Values`.Filters by the **availability zones** in which reserved instances can be purchased. For example, "ap-guangzhou-1".
Type: String
Required: no
Valid values: list of availability zones
Filters by reserved instance **validity** (in seconds). For example, 31536000.
Type: Integer
Unit: second
Required: no
Valid values: 31536000 (1 year) | 94608000 (3 years)
Filters by **specifications of reserved instances**. For example, "S3.MEDIUM4".
Type: String
Required: no
Valid values: list of reserved instance specifiations
Filters by **payment method**. For example, "All Upfront".
Type: String
Required: no
Valid value: All Upfront
Filters by the **operating system** of the reserved instance. For example, "linux".
Type: String
Required: no
Valid value: linux
Filters by **reserved instance ID. Reserved instance IDs take the form "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 `Filters.Values`.public void setFilters(Filter[] Filters)
Filters by the **availability zones** in which reserved instances can be purchased. For example, "ap-guangzhou-1".
Type: String
Required: no
Valid values: list of availability zones
Filters by reserved instance **validity** (in seconds). For example, 31536000.
Type: Integer
Unit: second
Required: no
Valid values: 31536000 (1 year) | 94608000 (3 years)
Filters by **specifications of reserved instances**. For example, "S3.MEDIUM4".
Type: String
Required: no
Valid values: list of reserved instance specifiations
Filters by **payment method**. For example, "All Upfront".
Type: String
Required: no
Valid value: All Upfront
Filters by the **operating system** of the reserved instance. For example, "linux".
Type: String
Required: no
Valid value: linux
Filters by **reserved instance ID. Reserved instance IDs take the form "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 `Filters.Values`.Filters
- Filters by the **availability zones** in which reserved instances can be purchased. For example, "ap-guangzhou-1".
Type: String
Required: no
Valid values: list of availability zones
Filters by reserved instance **validity** (in seconds). For example, 31536000.
Type: Integer
Unit: second
Required: no
Valid values: 31536000 (1 year) | 94608000 (3 years)
Filters by **specifications of reserved instances**. For example, "S3.MEDIUM4".
Type: String
Required: no
Valid values: list of reserved instance specifiations
Filters by **payment method**. For example, "All Upfront".
Type: String
Required: no
Valid value: All Upfront
Filters by the **operating system** of the reserved instance. For example, "linux".
Type: String
Required: no
Valid value: linux
Filters by **reserved instance ID. Reserved instance IDs take the form "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 `Filters.Values`.Copyright © 2020. All rights reserved.