Queries the overview information of one or more ApsaraDB for Tair (Redis® OSS-Compatible) database instances.
Operation description
If you do not specify any request parameters, the overview information of all instances is returned.
This operation does not support pagination for the returned results.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:DescribeInstancesOverview |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID of the instance. You can call the DescribeRegions operation to query the region ID. |
cn-hangzhou |
| InstanceIds |
string |
No |
The IDs of the instances that you want to query. Note
By default, all instances under the current account are queried. To specify multiple instance IDs, separate them with commas (,). |
r-bp1zxszhcgatnx**** |
| InstanceStatus |
string |
No |
The instance status. Valid values:
Note
For more information about instance statuses, see Instance states and impacts. |
Normal |
| ChargeType |
string |
No |
The billing method. Valid values:
|
PostPaid |
| NetworkType |
string |
No |
The network type. Valid values:
|
CLASSIC |
| EngineVersion |
string |
No |
The Redis-compatible engine version of the instance. Valid values: 2.8, 4.0, 5.0, 6.0, and 7.0. Valid values:
|
6.0 |
| InstanceClass |
string |
No |
The instance type. For more information, see Instance types. |
redis.master.small.default |
| VpcId |
string |
No |
The VPC ID. |
vpc-bp1nme44gek34slfc**** |
| VSwitchId |
string |
No |
The vSwitch ID. |
vsw-bp1e7clcw529l773d**** |
| InstanceType |
string |
No |
The instance type. Valid values:
|
Redis |
| SearchKey |
string |
No |
The keyword used for fuzzy search by instance ID or instance description. |
apitest |
| ArchitectureType |
string |
No |
The architecture type. Valid values:
|
standard |
| ZoneId |
string |
No |
The zone ID. |
cn-hangzhou-b |
| ResourceGroupId |
string |
No |
The resource group ID. Note
You can invoke the ListResourceGroups operation or use the console to obtain the resource group ID. Related operations, see View basic information of a resource group. |
rg-acfmyiu4ekp**** |
| EditionType |
string |
No |
The edition type. Valid values:
|
Enterprise |
| PrivateIp |
string |
No |
The private IP address. |
172.16.49.*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. |
1E83311F-0EE4-4922-A3BF-730B312B**** |
| TotalCount |
integer |
The total number of instances. |
1 |
| Instances |
array<object> |
The list of instances. |
|
|
object |
The instance object. |
||
| VpcId |
string |
The VPC ID. |
vpc-bp1nme44gek34slfc**** |
| PrivateIp |
string |
The private IP address of the instance in a VPC. The IP address may change. Use ConnectionDomain (internal endpoint) to connect to the instance. Note
|
172.16.49.*** |
| Capacity |
integer |
The storage capacity of the instance. Unit: MB. |
4096 |
| CreateTime |
string |
The time when the instance was created. |
2018-11-07T08:49:00Z |
| ConnectionDomain |
string |
The internal endpoint of the instance. |
r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com |
| ChargeType |
string |
The billing method. Valid values:
|
PrePaid |
| ArchitectureType |
string |
The architecture type. Valid values:
|
cluster |
| NetworkType |
string |
The network type. Valid values:
|
CLASSIC |
| EngineVersion |
string |
The Redis-compatible engine version of the instance. Valid values: 2.8, 4.0, 5.0, 6.0, and 7.0. |
6.0 |
| InstanceName |
string |
The name of the instance. |
apitest |
| GlobalInstanceId |
string |
The distributed instance ID. Note
This parameter is returned only when the instance is a child instance of a distributed instance. |
gr-bp14rkqrhac**** |
| InstanceClass |
string |
The instance type. |
redis.logic.sharding.2g.2db.0rodb.4proxy.default |
| InstanceId |
string |
The instance ID. |
r-bp1zxszhcgatnx**** |
| InstanceType |
string |
The instance type. Valid values:
|
Redis |
| NodeType |
string |
||
| RegionId |
string |
The region ID. |
cn-hangzhou |
| EndTime |
string |
The time when the subscription instance expires. |
2022-06-13T16:00:00Z |
| VSwitchId |
string |
The vSwitch ID. |
vsw-bp1e7clcw529l773d**** |
| ResourceGroupId |
string |
The resource group ID to which the instance belongs. |
rg-acfmyiu4ekp**** |
| ZoneId |
string |
The zone ID. |
cn-hangzhou-b |
| InstanceStatus |
string |
The instance status. Valid values:
|
Normal |
| SecondaryZoneId |
string |
The secondary zone ID. Note
This parameter is returned only when the instance has a secondary zone. |
cn-hangzhou-g |
Examples
Success response
JSON format
{
"RequestId": "1E83311F-0EE4-4922-A3BF-730B312B****",
"TotalCount": 1,
"Instances": [
{
"VpcId": "vpc-bp1nme44gek34slfc****",
"PrivateIp": "172.16.49.***",
"Capacity": 4096,
"CreateTime": "2018-11-07T08:49:00Z",
"ConnectionDomain": "r-bp1zxszhcgatnx****.redis.rds.aliyuncs.com",
"ChargeType": "PrePaid",
"ArchitectureType": "cluster",
"NetworkType": "CLASSIC",
"EngineVersion": "6.0",
"InstanceName": "apitest",
"GlobalInstanceId": "gr-bp14rkqrhac****",
"InstanceClass": "redis.logic.sharding.2g.2db.0rodb.4proxy.default",
"InstanceId": "r-bp1zxszhcgatnx****",
"InstanceType": "Redis",
"NodeType": "",
"RegionId": "cn-hangzhou",
"EndTime": "2022-06-13T16:00:00Z",
"VSwitchId": "vsw-bp1e7clcw529l773d****",
"ResourceGroupId": "rg-acfmyiu4ekp****",
"ZoneId": "cn-hangzhou-b",
"InstanceStatus": "Normal",
"SecondaryZoneId": "cn-hangzhou-g"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidInstanceIds.Malformed | The Specified parameter InstanceIds is not valid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.