Disables all throttling rules that are in effect.

This API operation is applicable to the following database services:

  • RDS MySQL
  • PolarDB MySQL

Request parameters

Parameter Type Required Example Description
Action String Yes DisableAllSqlConcurrencyControlRules

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

ConsoleContext String No None

A hidden parameter.

InstanceId String Yes rm-2ze1jdv45i7l6****

The ID of the instance.

Note The instance must be an ApsaraDB RDS for MySQL instance or a PolarDB for MySQL instance.

Response parameters

Parameter Type Example Description
Code String 200

The returned status code.

Message String Successful

The returned message for the request.

Note If the request was successful, Successful was returned. If the request failed, an error message that contains an error code was returned.
Data String "Data": { "total": 1, "list":[...] }, "Code": 200, "Success": true }

The list of detailed information, including the error codes and the number of error messages.

RequestId String B6D17591-B48B-4D31-9CD6-9B9796B2****

The ID of the request.

Success String true

Indicates whether the request was successful. Valid values:

  • true: The request was successful.
  • false: The request failed.

Examples

Sample requests

http(s)://das.cn-shanghai.aliyuncs.com/?Action=DisableAllSqlConcurrencyControlRules
&ConsoleContext=None
&InstanceId=rm-2ze1jdv45i7l6****
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<DisableAllSqlConcurrencyControlRulesResponse>
    <Code>200</Code>
    <Message>Successful</Message>
    <Data>Null</Data>
    <RequestId>B6D17591-B48B-4D31-9CD6-9B9796B2****</RequestId>
    <Success>true</Success>
</DisableAllSqlConcurrencyControlRulesResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "Code" : "200",
  "Message" : "Successful",
  "Data" : "Null",
  "RequestId" : "B6D17591-B48B-4D31-9CD6-9B9796B2****",
  "Success" : "true"
}

Error codes

HttpCode Error code Error message Description
400 InvalidParams The request parameters are invalid. The request parameters are invalid.

For a list of error codes, visit the API Error Center.