You can call this operation to view proxy settings of the databases. This operation is deprecated.

Note This operation is deprecated.

Debugging

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 DescribeDBInstanceProxyConfiguration

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

DBInstanceId String Yes rm-uf6wjk5xxxxxxxxxx

The ID of the instance.

AccessKeyId String No LTAIfCxxxxxxxxxx

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

Response parameters

Parameter Type Example Description
AttacksProtectionConfiguration String {\"check_interval_seconds\":\"0\",\"max_failed_login_attempts\":\"0\",\"blocking_seconds\":\"0\",\"status\":\"Disable\"}

Indicates whether to enable protection against brute-force attacks:

  • Enable
  • Disable

The returned value is a JSON string, such as

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

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

Description:

  • 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. Units: seconds.
    • max_failed_login_attempts: 10 to 5000. Units: times.
    • blocking_seconds: 30 to 3600. Units: seconds.
PersistentConnectionsConfiguration String {\"status\":\"Disable\"}

Indicates whether to enable connection optimization.

  • Enable
  • Disable

The returned value is a JSON string, such as

{"status":"Disable"}.

TransparentSwitchConfiguration String {\"status\":\"Enable\"}

Indicates whether to enable transparent switchover.

  • Enable
  • Disable

The returned value is a JSON string, such as

{"status":"Enable"}.

RequestId String E9DD55F4-1A5F-48CA-BA57-DFB3CA8C4C34

The ID of the request.

Examples

Sample requests


http(s)://rds.aliyuncs.com/? DBInstanceId=rm-uf6wjk5xxxxxxxxxx
&<Common request parameters>

Successful response examples

XML format

<DescribeDBInstanceProxyConfigurationResponse> 
  <PersistentConnectionsConfiguration>{"status":"Disable"}</PersistentConnectionsConfiguration> 
  <TransparentSwitchConfiguration>{"status":"Enable"}</TransparentSwitchConfiguration> 
  <AttacksProtectionConfiguration>{"check_interval_seconds":"0","max_failed_login_attempts":"0","blocking_seconds":"0","status":"Disable"}</AttacksProtectionConfiguration> 
  <RequestId>E9DD55F4-1A5F-48CA-BA57-DFB3CA8C4C34</RequestId> 
</DescribeDBInstanceProxyConfigurationResponse> 

JSON format

{
	"TransparentSwitchConfiguration":"{\"status\":\"Enable\"}",
	"PersistentConnectionsConfiguration":"{\"status\":\"Disable\"}",
	"AttacksProtectionConfiguration":"{\"check_interval_seconds\":\"0\",\"max_failed_login_attempts\":\"0\",\"blocking_seconds\":\"0\",\"status\":\"Disable\"}",
	"RequestId":"E9DD55F4-1A5F-48CA-BA57-DFB3CA8C4C34"
}

Error codes

View error codes