Retrieves the details of a Cache cluster.
Try it now
Test
RAM authorization
Request syntax
GET /api/v1/cache/{cacheClusterId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| cacheClusterId |
string |
No |
The ID of the Cache cluster. |
spc-xxxxxxx |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| regionId |
string |
No |
The region ID. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| requestId |
string |
Id of the request |
DD6B1B2A-5837-5237-ABE4-FF0C8944**** |
| cacheClusters | CacheCluster |
The list of Cache clusters. |
Examples
Success response
JSON format
{
"requestId": "DD6B1B2A-5837-5237-ABE4-FF0C8944****",
"cacheClusters": {
"clusterId": "",
"name": "",
"state": "",
"creator": "",
"modifier": "",
"paymentType": "",
"resourceSpec": {
"bandWidth": 0,
"storage": 0,
"ha": false
},
"regionId": "",
"usedResourceSpec": {
"bandWidth": 0,
"storage": 0
},
"gmtCreated": 0,
"gmtModified": 0,
"configuration": "",
"resourceGroupId": "",
"cacheClusterId": "",
"createTime": "",
"cacheClusterName": "",
"version": "",
"configurations": [
{
"name": "cacheset.xml",
"content": ""
}
],
"bindedWorkspaces": [
""
],
"cachesets": [
{
"name": "",
"path": ""
}
],
"tags": [
{
"key": "",
"value": ""
}
],
"tables": [
{
"catalogId": "",
"catalogProvider": "",
"database": "",
"table": "",
"workspaceId": ""
}
],
"extra": ""
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.