DescribeInstanceConfig
Queries some default configuration parameters of an ApsaraDB Tair (Redis® OSS-Compatible) instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:DescribeInstanceConfig |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
Instance ID of the instance. You can call the DescribeInstances operation to query instance ID. |
r-bp1zxszhcgatnx**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Config |
string |
The default configuration parameters of the instance. For more comprehensive parameter configurations, call the Describeparamters operation. |
{\"EvictionPolicy\":\"volatile-lru\",\"hash-max-ziplist-entries\":512,\"zset-max-ziplist-entries\":128,\"list-max-ziplist-entries\":512,\"list-max-ziplist-value\":64,\"zset-max-ziplist-value\":64,\"set-max-intset-entries\":512,\"hash-max-ziplist-value\":64} |
| RequestId |
string |
The ID of the request. |
4E2C08F6-2D11-4ECD-9A4C-27EF2D3D**** |
| ParamReplMode |
string |
The synchronization mode. Valid values:
|
async |
| ParamReplTimeout |
string |
The degradation threshold for the semi-synchronous mode. This parameter can be configured only when the semi-synchronous mode is used. Unit: milliseconds. Valid values: 10 to 60000. Default value: 500. Note
When the synchronization latency exceeds this threshold, the synchronization mode automatically degrades to the asynchronous mode. After the synchronization latency is eliminated, the synchronization mode automatically switches back to the semi-synchronous mode. |
500 |
| ParamNoLooseSentinelEnabled |
string |
The Sentinel compatibility mode, which applies to non-cluster instances. Valid values:
Note
For more information, see Sentinel compatibility mode. |
no |
| ParamSentinelCompatEnable |
string |
The Sentinel compatibility mode, which applies to instances in the cluster architecture proxy mode or read/write splitting architecture. Valid values:
Note
For more information, see Sentinel compatibility mode. |
0 |
| ParamNoLooseSentinelPasswordFreeAccess |
string |
Specifies whether to allow password-free execution of Sentinel-related commands when the Sentinel mode is enabled. Valid values:
|
no |
| ParamNoLooseSentinelPasswordFreeCommands |
string |
The list of additional password-free commands. After the Sentinel mode and the ParamNoLooseSentinelPasswordFreeAccess parameter are enabled, you can use this parameter to add extra password-free commands. Default value: empty. |
**** |
Examples
Success response
JSON format
{
"Config": "{\\\"EvictionPolicy\\\":\\\"volatile-lru\\\",\\\"hash-max-ziplist-entries\\\":512,\\\"zset-max-ziplist-entries\\\":128,\\\"list-max-ziplist-entries\\\":512,\\\"list-max-ziplist-value\\\":64,\\\"zset-max-ziplist-value\\\":64,\\\"set-max-intset-entries\\\":512,\\\"hash-max-ziplist-value\\\":64}",
"RequestId": "4E2C08F6-2D11-4ECD-9A4C-27EF2D3D****",
"ParamReplMode": "async",
"ParamReplTimeout": "500",
"ParamNoLooseSentinelEnabled": "no",
"ParamSentinelCompatEnable": "0",
"ParamNoLooseSentinelPasswordFreeAccess": "no",
"ParamNoLooseSentinelPasswordFreeCommands": "****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.