This API is used to renew a subscription instance.

Request parameters

Table 1. Request parameters
Name Type Required Description
<Common request parameters> - Yes For more information, see Public parameters.
Action String Yes Operation API name. Value: RenewInstance.
InstanceId String Yes Instance ID (globally unique)
InstanceClass String No Target type for configuration change. The type configuration can be changed when the instance is renewed. If the target type is different from the current type, the configuration is changed at the original expiration time.
Period Long Yes Prepayment renewal period. Unit: month. Supported values: 1–9, 12, 24, and 36.

Response parameters

Table 2. Response parameters
Name Type Description
<Common return parameters> For more information, see Public return parameters.
OrderId String Order ID
EndTime String Expiration time of the instance after renewal

Request example
<Common request parameters>
&Action= RenewInstance
&InstanceClass= redis.master.mid.default

Response example

"OrderId" : "201294800290011"
"EndTime" : "2018-03-19T00:00:00Z"
"RequestId" : "4B75DB12-3FFF-4FF4-B985-E78CDCADB959"