查询使用SDG的共享盘账单记录。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
ens:DescribeSharedDiskRecords |
none |
*全部资源
|
无 | 无 |
请求语法
GET HTTP/1.1
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| SdgIds |
array |
否 |
SDG 列表。 |
|
|
string |
否 |
SDG 的 ID。 |
sdg-xxxx |
|
| RegionIds |
array |
否 |
地区 ID 列表。 |
|
|
string |
否 |
区域 ID。 |
cn-hangzhou |
|
| Namespaces |
array |
否 |
命名空间列表。 |
|
|
string |
否 |
命名空间名。 |
default |
|
| DiskIds |
array |
否 |
共享盘 ID 列表。 |
|
|
string |
否 |
共享盘 ID。 |
d-xxxxx |
|
| StartTime |
string |
否 |
账单开始时间。 |
2019-05-21T10:22:00Z |
| EndTime |
string |
否 |
账单结束时间。 |
2019-10-30T08:00:00Z |
| PageNumber |
integer |
否 |
页码,用于分页查询。 |
1 |
| PageSize |
integer |
否 |
每页行数。 |
10 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| PageNumber |
integer |
分页时的当前页码。 |
1 |
| PageSize |
integer |
每页显示的记录数量。 |
10 |
| RequestId |
string |
请求 ID。 |
68B85217-03B8-5141-9216-EA4D7C496B9A |
| SharedDisks |
array<object> |
共享盘账单列表。 |
|
|
object |
共享盘账单列表中的第一行数据。 |
||
| CreationTime |
string |
共享盘创建时间。 |
2026-06-01 10:00:00 |
| DiskId |
string |
共享盘 id。 |
d-57kvvpuj1rk2ghumlgs6 |
| DiskSize |
integer |
磁盘大小,单位:GB。 |
10 |
| LastDetachInstanceId |
string |
共享盘最后卸盘实例。 |
standard |
| LastDetachTime |
string |
共享盘最后卸盘时间。 |
2026-06-14 18:00:00 |
| Namespace |
string |
命名空间。 |
default |
| PerformanceLevel |
integer |
sdg 共享比参数,支持不同最大共享比的云盘。 |
100 |
| RecycleTime |
string |
共享盘回收时间。 |
2026-06-15 14:30:00 |
| RegionId |
string |
节点 id。 |
cn-hangzhou-1 |
| SdgId |
string |
共享盘的 SDGId。 |
sdg-fqehhfdjv |
| TotalCount |
integer |
总数。 |
10 |
示例
正常返回示例
JSON格式
{
"PageNumber": 1,
"PageSize": 10,
"RequestId": "68B85217-03B8-5141-9216-EA4D7C496B9A",
"SharedDisks": [
{
"CreationTime": "2026-06-01 10:00:00",
"DiskId": "d-57kvvpuj1rk2ghumlgs6",
"DiskSize": 10,
"LastDetachInstanceId": "standard",
"LastDetachTime": "2026-06-14 18:00:00",
"Namespace": "default",
"PerformanceLevel": 100,
"RecycleTime": "2026-06-15 14:30:00",
"RegionId": "cn-hangzhou-1",
"SdgId": "sdg-fqehhfdjv"
}
],
"TotalCount": 10
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | Interface.Call.Failed | %s. | 请求失败 |
| 400 | Interface.Call.Error | The interface call error | 接口调用出错 |
| 400 | NoPermission | Permission denied. | |
| 400 | InvalidParameter.%s | The specified field %s invalid. Please check it again. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。