获取Cache集群详情
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求语法
GET /api/v1/cache/{cacheClusterId} HTTP/1.1
路径参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| cacheClusterId |
string |
否 |
Cache 集群 ID。 |
spc-xxxxxxx |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| regionId |
string |
否 |
区域 ID。 |
cn-hangzhou |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| requestId |
string |
Id of the request |
DD6B1B2A-5837-5237-ABE4-FF0C8944**** |
| cacheClusters | CacheCluster |
Cache 集群列表 |
示例
正常返回示例
JSON格式
{
"requestId": "DD6B1B2A-5837-5237-ABE4-FF0C8944****",
"cacheClusters": {
"clusterId": "",
"name": "",
"state": "",
"creator": "",
"modifier": "",
"paymentType": "",
"resourceSpec": {
"bandWidth": 0,
"storage": 0,
"ha": true
},
"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": ""
}
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。
该文章对您有帮助吗?