You can call this operation to configure proxy settings for the database. This operation is depreciated.

Note This operation is depreciated.


You can use API Explorer to perform debugging. API Explorer allows you to perform various operations to simplify API usage. For example, you can retrieve APIs, call APIs, and dynamically generate SDK example code.

Request parameters

Parameter Type Required Example Description
Action String Yes ModifyDBInstanceProxyConfiguration

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

DBInstanceId String Yes rm-uf6wjk5xxxxxxxxxx

The ID of the instance.

ProxyConfigurationKey String Yes TransparentSwitch

The proxy configuration keys of the database. Valid values:

  • TransparentSwitch
  • PersistentConnections
  • AttacksProtection
ProxyConfigurationValue String Yes {"status":"Enable"}

The proxy configuration values of the database. Valid values:

  • TransparentSwitch:
    • Enable: This is the default value.
    • Disable: For example, {"status": "Enable "}.
  • PersistentConnections:
    • Enable
    • Disable: This is the default value. For example, {"status": "Disable "}.
  • AttacksProtection:
    • Enable
    • Disable: This is the default value. For example, {"status": "Disable "}.

The returned value is a JSON string, such as

{"status":"Disable", "check_interval_seconds": 60,

"max_failed_login_attempts": 60, "blocking_seconds": 600}.


  • Each client allows (max_failed_login_attempts) logon failure attempts within (check_interval_seconds) seconds. If one more such attempt is conducted, the client will have to wait for (blocking_seconds) seconds to try again.
  • Valid values:

check_interval_seconds: 30 to 600. Unit: seconds.

max_failed_login_attempts: 10 to 5000. Unit: times.

blocking_seconds: 30 to 3600. Unit: seconds.

AccessKeyId String No LTAIfCxxxxxxxxxx

The AccessKey ID that Alibaba Cloud issues to a user for service access.

Response parameters

Parameter Type Example Description
RequestId String 9705B5D2-C5B6-4526-B779-26D755EC1B8C

The ID of the request.


Sample requests

http(s):// DBInstanceId=rm-uf6wjk5xxxxxxx
&<Common request parameters>

Successful response examples

XML format


JSON format


Error codes

HTTP status code Error code Error message Description
404 EngineVersionNotSupported EngineVersion specified cannot be replicate with the source DB Instance. The error message returned when the engine version does not support instance cloning.
404 EngineNotSupported Engine specified cannot be supported the operation. The error message returned when the engine is not supported.

View error codes