Queries the settings of shared proxies that are enabled on an instance.
Operation description
Supported database engines
- MySQL
- SQL Server
Feature description
This operation is used to query the shared proxy settings of an instance that runs MySQL or the read/write splitting settings of an instance that runs SQL Server. For more information about how to query the dedicated proxy settings of an ApsaraDB RDS for MySQL instance, see DescribeDBProxy .
Prerequisites
Before you call this operation, make sure that the following requirements are met:
- The shared proxy feature must be enabled for the primary instance.
- The read/write splitting feature must be enabled for the primary instance.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
DBInstanceId | string | Yes | The instance ID. You can call the DescribeDBInstances operation to query the instance ID. | rm-uf6wjk5xxxxxxxxxx |
Response parameters
Examples
Sample success responses
JSON
format
{
"PersistentConnectionsConfiguration": "{\\\"status\\\":\\\"Disable\\\"}",
"AttacksProtectionConfiguration": "{\\\"check_interval_seconds\\\":\\\"0\\\",\\\"max_failed_login_attempts\\\":\\\"0\\\",\\\"blocking_seconds\\\":\\\"0\\\",\\\"status\\\":\\\"Disable\\\"}",
"RequestId": "E9DD55F4-1A5F-48CA-BA57-DFB3CA8C4C34",
"TransparentSwitchConfiguration": "{\\\"status\\\":\\\"Enable\\\"}"
}
Error codes
For a list of error codes, visit the Service error codes.