Queries the auto-renewal status of one or more subscription reserved instances.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID of the reserved instances. You can call the DescribeRegions operation to query the most recent region list. | cn-hangzhou |
ReservedInstanceId | array | No | The IDs of the reserved instances. | |
string | No | The ID of the reserved instance. You can call the DescribeReservedInstances operation to query the IDs of reserved instances that you purchased. You can query only the auto-renewal status of reserved instances that have taken effect. A reserved instance that has taken effect is in the Active state. You can specify up to 100 reserved instance IDs in a single request. | ecsri-ajdfaj**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE7****",
"ReservedInstanceRenewAttributes": {
"ReservedInstanceRenewAttribute": [
{
"PeriodUnit": "Month",
"Duration": 1,
"ReservedInstanceId": "ecsri-ajdfaj****",
"RenewalStatus": "AutoRenewal"
}
]
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | ChargeTypeViolation | Pay-As-You-Go dedicated host do not support this operation. | - |
403 | MissingParamter.InstanceId | ReservedInstanceId should not be null. | - |
403 | InvalidParameter.ToManyInstanceIds | ReservedInstanceId should be less than 100. | - |
403 | InvalidParameter | %s | The specified parameter is invalid. |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history