Queries the logical topology of an ApsaraDB for Redis instance.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Location Type Required Example Description
Action Query String No DescribeLogicInstanceTopology

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

InstanceId Query String Yes r-bp1xxxxxxxxxxxxx

The ID of the ApsaraDB for Redis instance.

Response parameters

Parameter Type Example Description
InstanceId String r-bp1xxxxxxxxxxxxx

The ID of the instance.

RedisProxyList Array of NodeInfo

The detailed proxy information, which includes information about proxy nodes.

NodeInfo
Bandwidth String 96

The maximum bandwidth of the node. Unit: MB/s.

Capacity String 5120

The storage capacity of the node. Unit: MB.

Connection String 320000

The maximum number of connections.

NodeId String r-xxxxxxxxxxxxxxx-proxy-3#5425423

The ID of the node.

NodeType String proxy

The type of the node. Valid values:

  • proxy: the proxy node.
  • db: the data node.
RedisShardList Array of NodeInfo

The detailed shard information, which includes node information.

NodeInfo
Bandwidth String 96

The maximum bandwidth of the node. Unit: MB/s.

Capacity String 2048

The storage capacity of the node. Unit: MB.

Connection String 10000

The maximum number of connections.

NodeId String r-bp1xxxxxxxxxxxxx-db-0#6889415

The ID of the node.

NodeType String proxy

The type of the node. Valid values:

  • proxy: the proxy node.
  • db: the data node.
RequestId String 794120D1-E0CF-4713-BAE4-EBAEA04506AF

The ID of the request.

Examples

Sample requests

https://r-kvstore.aliyuncs.com/
? Action=DescribeLogicInstanceTopology
&InstanceId=r-bp1xxxxxxxxxxxxx
&<Common request parameters>

Sample success responses

XML format

<RedisShardList>
    <NodeInfo>
        <Capacity>512</Capacity>
        <Bandwidth>24</Bandwidth>
        <NodeType>db</NodeType>
        <NodeId>r-bp********-db-0#***89285</NodeId>
        <Connection>50000</Connection>
    </NodeInfo>
    <NodeInfo>
        <Capacity>512</Capacity>
        <Bandwidth>24</Bandwidth>
        <NodeType>db</NodeType>
        <NodeId>r-bp********-db-1#***89281</NodeId>
        <Connection>50000</Connection>
    </NodeInfo>
</RedisShardList>
<RequestId>794120D1-E0CF-4713-BAE4-EBAEA04506AF</RequestId>
<InstanceId>r-bp********</InstanceId>
<RedisProxyList>
    <NodeInfo>
        <Capacity>5120</Capacity>
        <Bandwidth>96</Bandwidth>
        <NodeType>proxy</NodeType>
        <NodeId>r-bp********-proxy-0#***89291</NodeId>
        <Connection>10000</Connection>
    </NodeInfo>
    <NodeInfo>
        <Capacity>5120</Capacity>
        <Bandwidth>96</Bandwidth>
        <NodeType>proxy</NodeType>
        <NodeId>r-bp********-proxy-1#***89275</NodeId>
        <Connection>10000</Connection>
    </NodeInfo>
    <NodeInfo>
        <Capacity>5120</Capacity>
        <Bandwidth>96</Bandwidth>
        <NodeType>proxy</NodeType>
        <NodeId>r-bp********-proxy-2#***89273</NodeId>
        <Connection>10000</Connection>
    </NodeInfo>
    <NodeInfo>
        <Capacity>5120</Capacity>
        <Bandwidth>96</Bandwidth>
        <NodeType>proxy</NodeType>
        <NodeId>r-bp********-proxy-3#***89279</NodeId>
        <Connection>10000</Connection>
    </NodeInfo>
</RedisProxyList>

JSON format

{
	"RedisShardList": {
		"NodeInfo": [
			{
				"Capacity": "512",
				"Bandwidth": 24,
				"NodeType": "db",
				"NodeId": "r-bp********-db-0#***89285",
				"Connection": "50000"
			},
			{
				"Capacity": "512",
				"Bandwidth": 24,
				"NodeType": "db",
				"NodeId": "r-bp********-db-1#***89281",
				"Connection": "50000"
			}
		]
	},
	"RequestId": "794120D1-E0CF-4713-BAE4-EBAEA04506AF",
	"InstanceId": "r-bp********",
	"RedisProxyList": {
		"NodeInfo": [
			{
				"Capacity": "5120",
				"Bandwidth": 96,
				"NodeType": "proxy",
				"NodeId": "r-bp********-proxy-0#***89291",
				"Connection": "10000"
			},
			{
				"Capacity": "5120",
				"Bandwidth": 96,
				"NodeType": "proxy",
				"NodeId": "r-bp********-proxy-1#***89275",
				"Connection": "10000"
			},
			{
				"Capacity": "5120",
				"Bandwidth": 96,
				"NodeType": "proxy",
				"NodeId": "r-bp********-proxy-2#***89273",
				"Connection": "10000"
			},
			{
				"Capacity": "5120",
				"Bandwidth": 96,
				"NodeType": "proxy",
				"NodeId": "r-bp********-proxy-3#***89279",
				"Connection": "10000"
			}
		]
	}
}

Error codes

For a list of error codes, visit the API Error Center.