Modifies the configuration of a cluster.
You can change only the overcommit ratio.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ModifyDedicatedCluster | The operation that you want to perform. Set the value to ModifyDedicatedCluster. |
InstanceId | String | No | rm-bp1162kryivb8**** | The ID of the Data Transmission Service (DTS) instance. Note You must specify InstanceId or DedicatedClusterId. |
DedicatedClusterId | String | No | dtscluster_h3fl1cs217sx952 | The ID of the cluster. Note You must specify InstanceId or DedicatedClusterId. |
DedicatedClusterName | String | No | dtscluster_test_001 | The name of the cluster. |
OversoldRatio | Integer | No | 150 | The overcommit ratio. Unit: %. |
RegionId | String | No | cn-hangzhou | The ID of the region in which the DTS instance resides. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
HttpStatusCode | String | 200 | The HTTP status code. |
RequestId | String | 621BB4F8-3016-4FAA-8D5A-5D3163CC**** | The ID of the request. |
ErrCode | String | InternalError | The error code returned if the request failed. |
Success | String | true | Indicates whether the request was successful. |
ErrMessage | String | The Value of Input Parameter %s is not valid. | The error message returned if the request failed. |
DedicatedClusterId | String | dtscluster_h3fl1cs217sx952 | The ID of the cluster. |
Examples
Sample requests
http(s)://dts.aliyuncs.com/?Action=ModifyDedicatedCluster
&InstanceId=rm-bp1162kryivb8****
&DedicatedClusterId=dtscluster_h3fl1cs217sx952
&DedicatedClusterName=dtscluster_test_001
&OversoldRatio=150
&RegionId=cn-hangzhou
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<ModifyDedicatedClusterResponse>
<code>200</code>
<data>
<RequestId>26EC538C-9E2D-11D5-A55F-****</RequestId>
<DedicatedClusterId>dtscluster_w****</DedicatedClusterId>
<HttpStatusCode>200</HttpStatusCode>
<Success>true</Success>
</data>
<httpStatusCode>200</httpStatusCode>
<requestId>26EC538C-9E2D-11D5-A55F-****</requestId>
<successResponse>true</successResponse>
</ModifyDedicatedClusterResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"code" : "200",
"data" : {
"RequestId" : "26EC538C-9E2D-11D5-A55F-****",
"DedicatedClusterId" : "dtscluster_w****",
"HttpStatusCode" : 200,
"Success" : true
},
"httpStatusCode" : "200",
"requestId" : "26EC538C-9E2D-11D5-A55F-****",
"successResponse" : true
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | Throttling.User | Request was denied due to user flow control. | The number of requests reached the limit and the request was rejected. Try again later. |
500 | ServiceUnavailable | The request has failed due to a temporary failure of the server. | The response of the server timed out or the server was unavailable. Try again. If the error persists, contact technical support. |
403 | InvalidSecurityToken.Expired | Specified SecurityToken is expired. | The signature expired. Use a new signature. |
For a list of error codes, see Service error codes.