You can call this operation to modify the instance type.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ModifyInstanceType |
The operation that you want to perform. Set the value to ModifyInstanceType. |
ClusterId | String | Yes | cds-uf6ig2gf****7pw7 |
The ID of the cluster. |
DataCenterId | String | Yes | cn-shanghai-e |
The ID of the data center in the cluster. |
InstanceType | String | Yes | cassandra.g.xlarge |
The instance type. Examples of valid values:
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | BC262FE3-91ED-4FE7-BD75-190B62D8BABC |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=ModifyInstanceType
&ClusterId=cds-uf6ig2gf****7pw7
&DataCenterId=cn-shanghai-e
&InstanceType=cassandra.g.xlarge
&<Common request parameters>
Sample success responses
XML
format
<ModifyInstanceTypeResponse>
<RequestId>BC262FE3-91ED-4FE7-BD75-190B62D8BABC</RequestId>
</ModifyInstanceTypeResponse>
JSON
format
{
"RequestId": "BC262FE3-91ED-4FE7-BD75-190B62D8BABC"
}
Error codes
For a list of error codes, visit the API Error Center.