Queries the region, status, capacity, network, billing method, and expiration information of a specified KVCache instance.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| KVCacheInstanceId |
string |
Yes |
The ID of the KVCache instance. |
pkv-123456 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
2921D843-433A-5FB3-A03B-4EC093B219F8 |
| KVCacheInstanceId |
string |
The KVCache instance ID. |
pkv-123456 |
| RegionId |
string |
The region ID. |
cn-beijing |
| ZoneId |
string |
The zone ID. |
cn-beijing-h |
| KVCacheInstanceStatus |
string |
The KVCache instance status. |
Running |
| KVCacheSpace |
string |
The storage capacity of the KVCache instance. |
100 |
| VPCId |
string |
The VPC ID. |
vpc-123 |
| VSwitchId |
string |
The vSwitch ID. |
vsw-123 |
| ConnectionString |
string |
The endpoint of the instance. |
172.168.0.1 |
| PayType |
string |
The billing method. |
PREPAID |
| CreationTime |
string |
The time when the instance was created, in ISO 8601 format. |
2026-01-01T00:00:00Z |
| ExpireTime |
string |
The time when the instance expires, in ISO 8601 format. An empty character string is returned for pay-as-you-go instances. |
2026-12-31T00:00:00Z |
| Expired |
string |
Indicates whether the instance has expired. |
false |
| Port |
string |
The port. |
5432 |
Examples
Success response
JSON format
{
"RequestId": "2921D843-433A-5FB3-A03B-4EC093B219F8",
"KVCacheInstanceId": "pkv-123456",
"RegionId": "cn-beijing",
"ZoneId": "cn-beijing-h",
"KVCacheInstanceStatus": "Running",
"KVCacheSpace": "100",
"VPCId": "vpc-123",
"VSwitchId": "vsw-123",
"ConnectionString": "172.168.0.1",
"PayType": "PREPAID",
"CreationTime": "2026-01-01T00:00:00Z",
"ExpireTime": "2026-12-31T00:00:00Z",
"Expired": "false",
"Port": "5432"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.