This API is used to change the instance type. For more information about the instance types, see Instance specifications.

Request parameters

Table 1. Request Parameters
Name Type Required Description
<Common request parameters> - Yes See Public parameters.
Action String Yes Operation API name. Value: ModifyInstanceSpec.
InstanceId String Yes Instance ID (globally unique)
InstanceClass String Yes Type of the applied ApsaraDB for Redis instance. For more information, see Instance specifications.

Response parameters

Table 2. Response parameters
Name Type Description
<Common return parameters> - See Public return parameters.
Orderid String Order ID.

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

Response example

"OrderId" : "201294900260011"
"RequestId" : "283746AF-82B3-4BFF-88CC-BF34CDE2732"