获取某个具体的Lindorm新架构实例下各个存储介质的存储详情。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| InstanceId |
string |
是 |
实例 ID。 |
ld-ufxxxxxxxxxx |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| CapacityByDiskCategory |
array<object> |
各存储介质的容量信息 |
|
|
object |
|
{ "mode": "CLOUD_STORAGE", "perfLevel": "PL1", "usedCapacity": 0, "category": "PERF_CLOUD_ESSD_PL1", "capacity": 4000 } |
|
| UsageByDiskCategory |
array<object> |
各存储介质的水位信息 |
|
|
object |
|
{ "usedLindormColumn3": 688935, "usedLindormTable": 1086288931872, "usedLindormTsdb": 0, "usedOther": 0, "usedLindormMessage3": 0, "diskType": "PerformanceCloudStorage", "used": 1719816329046, "usedLindormSearch3": 36339905446, "usedLindormSpark": 2131936938, "capacity": 4294967296000, "usedLindormSearch": 0, "usedLindormVector3": 595054865855 } |
|
| RequestId |
string |
本次调用请求的 ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。 |
BDDB1954-002B-4249-B2DF-2CDDA0259668 |
| InstanceStorageZoneMap |
object |
多可用区实例容量信息 {"ZoneId":{"CapacityByDiskCategory":{...},"UsageByDiskCategory":{...}}} |
{ "cn-hangzhou-i": { "diskTypeCapacity": [ { "mode": "CLOUD_STORAGE", "perfLevel": "PL1", "usedCapacity": 0, "category": "PERF_CLOUD_ESSD_PL1", "capacity": 4000 } ], "diskTypeUsage": [ { "usedLindormColumn3": 688935, "usedLindormTable": 1086288931872, "usedLindormTsdb": 0, "usedOther": 0, "usedLindormMessage3": 0, "diskType": "PerformanceCloudStorage", "used": 1719816329046, "usedLindormSearch3": 36339905446, "usedLindormSpark": 2131936938, "capacity": 4294967296000, "usedLindormSearch": 0, "usedLindormVector3": 595054865855 } ] } } |
| AccessDeniedDetail |
string |
访问被拒绝的详细原因。 |
{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"} |
示例
正常返回示例
JSON格式
{
"CapacityByDiskCategory": [
{
"mode": "CLOUD_STORAGE",
"perfLevel": "PL1",
"usedCapacity": 0,
"category": "PERF_CLOUD_ESSD_PL1",
"capacity": 4000
}
],
"UsageByDiskCategory": [
{
"usedLindormColumn3": 688935,
"usedLindormTable": 1086288931872,
"usedLindormTsdb": 0,
"usedOther": 0,
"usedLindormMessage3": 0,
"diskType": "PerformanceCloudStorage",
"used": 1719816329046,
"usedLindormSearch3": 36339905446,
"usedLindormSpark": 2131936938,
"capacity": 4294967296000,
"usedLindormSearch": 0,
"usedLindormVector3": 595054865855
}
],
"RequestId": "BDDB1954-002B-4249-B2DF-2CDDA0259668",
"InstanceStorageZoneMap": {
"cn-hangzhou-i": {
"diskTypeCapacity": [
{
"mode": "CLOUD_STORAGE",
"perfLevel": "PL1",
"usedCapacity": 0,
"category": "PERF_CLOUD_ESSD_PL1",
"capacity": 4000
}
],
"diskTypeUsage": [
{
"usedLindormColumn3": 688935,
"usedLindormTable": 1086288931872,
"usedLindormTsdb": 0,
"usedOther": 0,
"usedLindormMessage3": 0,
"diskType": "PerformanceCloudStorage",
"used": 1719816329046,
"usedLindormSearch3": 36339905446,
"usedLindormSpark": 2131936938,
"capacity": 4294967296000,
"usedLindormSearch": 0,
"usedLindormVector3": 595054865855
}
]
}
},
"AccessDeniedDetail": "{\"AuthAction\":\"xxx\",\"AuthPrincipalDisplayName\":\"222\",\"AuthPrincipalOwnerId\":\"111\",\"AuthPrincipalType\":\"SubUser\",,\"NoPermissionType\":\"ImplicitDeny\",\"PolicyType\":\"AccountLevelIdentityBasedPolicy\",\"EncodedDiagnosticMessage\":\"xxxxxx\"}"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | Lindorm.Errorcode.ParameterInvaild | The parameter is invalid. | |
| 400 | Instance.IsDeleted | The instance is deleted. | |
| 400 | Instance.IsNotValid | The instance is invalid. | 操作失败,实例无效。 |
| 403 | Lindorm.Errorcode.OperationDenied | You are not authorized to operate on the specified resource. | |
| 403 | API.Forbidden | The API operation is forbidden in this environment. | 操作失败,当前环境中该API无法使用。 |
| 403 | Lindorm.Errorcode.ServiceLinkedRoleNoPermission | No permission to create service linked role. | 操作失败,请先申请创建服务关联角色的权限。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。