参数名称 | 类型 | 必填 | 描述 |
---|
Action | String | 是 | 公共参数,本接口取值:DescribeLocalVolumes。 |
Version | String | 是 | 公共参数,本接口取值:2016-03-04。 |
InstanceName | String | 否 | 实例名字 示例值:abc123 |
Marker | Int | 否 | 页数 |
MaxResults | Int | 否 | 每页最大条数 |
LocalVolumeId | String | 否 | 本地盘id |
InstanceState | String | 否 | 主机状态 |
LocalVolumeCategory | String | 否 | root/data 磁盘的类型: 系统盘/ 数据盘 |
LocalVolumeSize | Int | 否 | 查询大于等于多少G的磁盘 |
BindSnapshotPolicy | Boolean | 否 | 硬盘是否绑定了备份策略 |
AutoSnapshotPolicyId | String | 否 | 策略ID |
InstanceId | String | 否 | 实例id |
参数名称 | 类型 | 描述 |
---|
RequestId | String | 示例值:KEC-beb64e22-0867-4528-81cd-c0d00545364271 |
Marker | Int | 示例值:0 |
LocalVolumeCount | Int | 示例值:464 |
LocalVolumeSet | Object[] | |
LocalVolumeId | String | 示例值:5537936a-d7f3-476e-b22f-bf407b1ee2-a |
LocalVolumeName | String | 示例值:4bf407b12-vda |
LocalVolumeState | String | 示例值:attached |
InstanceId | String | 示例值:5537936a-d7f3-476ef-54bf407b1ee2 |
InstanceName | String | 示例值:gfdsdf |
InstanceState | String | 示例值:stopped |
LocalVolumeType | String | 示例值:SSD |
LocalVolumeCategory | String | 示例值:system |
LocalVolumeSize | Int | 示例值:100 |
CreationDate | String | 示例值:2023-08-15T10:22:40Z |
AutoSnapshotPolicyId | String | 示例值:6789 |
JSON格式
以下仅列出了接口业务逻辑相关的错误码,其他错误码详见公共错误码
错误码 | 错误信息 | Http状态码 | 描述 |
---|
LocalVolumeCategoryInvalidParameterValue | Local volume category is must data or system | 400 | 本地盘分类必须为data或system |
InternalError | {"RequestId":"ffa596f9-f20c-4b95-8443-45aa6ff24127001","Error":{"Code":"InternalError","Message":"region not config"}} | 400 | |
InternalError | {"RequestId":"ffa596f9-f20c-4b95-8443-45aa6ff24127001","Error":{"Code":"InternalError","Message":"region not config"}} | 400 | |
ServiceUnavailable | {"RequestId":"cf5315d6-af6e-451e-b0da-cff21da54025001","Error":{"Code":"ServiceUnavailable","Message":"I/O error on GET request for \"http://qyone.openstack.sdns.ksyun.com:6004/v2/67e1117af11d433bb446c0494722b43d/ksc-localdisks?limit\u003d50\u0026offset\u003d0\u0026recycled\u003d0\": Failed to connect to qyone.openstack.sdns.ksyun.com/100.88.2.153:6004"}} | 400 |
纯净模式