All Products
Search
Document Center

Database Autonomy Service:DisableAutoThrottleRules

Last Updated:Mar 22, 2024

Disables the automatic SQL throttling feature for multiple database instances at a time.

Operation description

If you use an SDK to call operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ConsoleContextstringNo

The reserved parameter.

None
InstanceIdsstringYes

The database instance IDs.

Note Set this parameter to a JSON array that consists of multiple instance IDs. Separate instance IDs with commas (,). Example: ['Instance ID1','Instance ID2'].
['rm-2ze8g2am97624****','rm-2ze9xrhze0709****']

Response parameters

ParameterTypeDescriptionExample
object
Codelong

The HTTP status code returned.

200
Messagestring

The returned message.

Note If the request was successful, Successful is returned. If the request failed, an error message such as an error code is returned.
Successful
Dataobject

The returned data.

TotalInstanceCountlong

The total number of database instances.

2
ConfigSuccessInstanceCountlong

The number of database instances for which the automatic SQL throttling feature is disabled.

1
ConfigFailInstanceCountlong

The number of database instances for which the automatic SQL throttling feature failed to be disabled.

1
ConfigSuccessInstanceListobject []

The database instances for which the automatic SQL throttling feature is disabled.

ConfigSuccessboolean

Indicates whether the automatic SQL throttling feature is disabled. Valid values:

  • true

  • false

true
InstanceIdstring

The database instance ID.

rm-2ze8g2am97624****
ConfigFailInstanceListobject []

The database instances for which the automatic SQL throttling feature failed to be disabled.

ConfigSuccessboolean

Indicates whether the automatic SQL throttling feature is disabled. Valid values:

  • true

  • false

false
InstanceIdstring

The database instance ID.

rm-2ze9xrhze0709****
ErrorMessagestring

The error message returned.

cannot found instance by rm-2ze9xrhze0709****
RequestIdstring

The request ID.

B6D17591-B48B-4D31-9CD6-9B9796B2****
Successboolean

Indicates whether the request was successful. Valid values:

  • true
  • false
true

Examples

Sample success responses

JSONformat

{
  "Code": 200,
  "Message": "Successful",
  "Data": {
    "TotalInstanceCount": 2,
    "ConfigSuccessInstanceCount": 1,
    "ConfigFailInstanceCount": 1,
    "ConfigSuccessInstanceList": [
      {
        "ConfigSuccess": true,
        "InstanceId": "rm-2ze8g2am97624****"
      }
    ],
    "ConfigFailInstanceList": [
      {
        "ConfigSuccess": false,
        "InstanceId": "rm-2ze9xrhze0709****",
        "ErrorMessage": "cannot found instance by rm-2ze9xrhze0709****"
      }
    ]
  },
  "RequestId": "B6D17591-B48B-4D31-9CD6-9B9796B2****",
  "Success": true
}

Error codes

HTTP status codeError codeError message
400InvalidParamsThe request parameters are invalid.
403NoPermissionYou are not authorized to do this action.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-11-17The Error code has changedsee changesets
Change itemChange content
Error CodesThe Error code has changed.
    delete Error Codes: 400