Modifies the configuration of a cluster.

You can change only the overcommit ratio.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

ParameterTypeRequiredExampleDescription
ActionStringYesModifyDedicatedCluster

The operation that you want to perform. Set the value to ModifyDedicatedCluster.

InstanceIdStringNorm-bp1162kryivb8****

The ID of the Data Transmission Service (DTS) instance.

Note You must specify InstanceId or DedicatedClusterId.
DedicatedClusterIdStringNodtscluster_h3fl1cs217sx952

The ID of the cluster.

Note You must specify InstanceId or DedicatedClusterId.
DedicatedClusterNameStringNodtscluster_test_001

The name of the cluster.

OversoldRatioIntegerNo150

The overcommit ratio. Unit: %.

RegionIdStringNocn-hangzhou

The ID of the region in which the DTS instance resides.

Response parameters

ParameterTypeExampleDescription
HttpStatusCodeString200

The HTTP status code.

RequestIdString621BB4F8-3016-4FAA-8D5A-5D3163CC****

The ID of the request.

ErrCodeStringInternalError

The error code returned if the request failed.

SuccessStringtrue

Indicates whether the request was successful.

ErrMessageStringThe Value of Input Parameter %s is not valid.

The error message returned if the request failed.

DedicatedClusterIdStringdtscluster_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 codeError codeError messageDescription
400Throttling.UserRequest was denied due to user flow control.The number of requests reached the limit and the request was rejected. Try again later.
500ServiceUnavailableThe 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.
403InvalidSecurityToken.ExpiredSpecified SecurityToken is expired.The signature expired. Use a new signature.

For a list of error codes, see Service error codes.