Enables or disables proxy mode for a Tair (Redis OSS-compatible) cluster instance in a dedicated cluster.
Operation description
For more information about proxy mode, see Features of proxy servers. Before you call this operation, make sure that the following requirements are met:
-
The instance is created in a dedicated cluster. For more information, see What is ApsaraDB for MyBase?
-
The instance uses the cluster architecture.
Before you call this operation, call the DescribeDedicatedClusterInstanceList operation and check the ProxyCount response parameter to determine whether proxy mode is enabled. A value of 0 indicates that proxy mode is disabled. A value greater than 0 indicates that proxy mode is enabled.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:SwitchInstanceProxy |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. You can call the DescribeInstances operation to query the instance ID. |
r-bp1zxszhcgatnx**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
5D622714-AEDD-4609-9167-F5DDD3D1**** |
Examples
Success response
JSON format
{
"RequestId": "5D622714-AEDD-4609-9167-F5DDD3D1****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.