取得快取叢集詳細資訊。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
emr-serverless-spark:GetCacheCluster |
get |
*全部資源。
|
無 | 無 |
請求文法
GET /api/v1/cache/{cacheClusterId} HTTP/1.1
路徑參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| cacheClusterId |
string |
否 |
快取叢集 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 |
快取叢集列表。 |
樣本
正常返回樣本
JSON格式
{
"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": "",
"extra": "",
"configurations": [
{
"name": "cacheset.xml",
"content": ""
}
],
"bindedWorkspaces": [
""
],
"cachesets": [
{
"name": "",
"path": ""
}
],
"tags": [
{
"key": "",
"value": ""
}
],
"tables": [
{
"catalogId": "",
"catalogProvider": "",
"database": "",
"table": "",
"workspaceId": ""
}
]
}
}
錯誤碼
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。