检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
响应参数 状态码: 200 表3 响应Body参数 参数 参数类型 描述 snapshot SnapshotDetails object 快照信息 表4 SnapshotDetails 参数 参数类型 描述 id String 云硬盘快照ID。 status String 云硬盘快照状态
否 String 功能说明:计费模式。默认值为postPaid。 取值范围: prePaid:包年包月 postPaid:按需 isAutoPay 否 String 功能说明:是否立即支付。chargingMode为PrePaid时该参数会生效。默认值为false。 取值范围: true:立即支付,从账户余额中自动扣费
响应参数 状态码: 200 表5 响应Body参数 参数 参数类型 描述 snapshot SnapshotDetails object 快照信息 表6 SnapshotDetails 参数 参数类型 描述 id String 云硬盘快照ID。 status String 云硬盘快照状态
响应参数 状态码: 200 表3 响应Body参数 参数 参数类型 描述 snapshot SnapshotDetail object 快照信息。 表4 SnapshotDetail 参数 参数类型 描述 id String 云硬盘快照ID。 name String 云硬盘快照名称。 名
响应Body参数 参数 参数类型 描述 status String job的状态。SUCCESS:成功。RUNNING:运行中。FAIL:失败。INIT:正在初始化。WAITING_EXECUTE:等待执行。 entities JobEntities object job的响应信息。 job_id
String 云硬盘名称。 status 否 String 云硬盘状态。 limit 否 Integer 返回结果个数限制。默认值为1000。 availability_zone 否 String AZ信息。 sort_key 否 String 返回结果按该关键字排序(支持id,statu
响应参数 状态码: 200 表3 响应Body参数 参数 参数类型 描述 snapshot SnapshotDetail object 快照信息。 表4 SnapshotDetail 参数 参数类型 描述 id String 云硬盘快照ID。 name String 云硬盘快照名称。 名
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
响应参数 状态码: 200 表3 响应Body参数 参数 参数类型 描述 volume VolumeDetail object 云硬盘详情。 表4 VolumeDetail 参数 参数类型 描述 id String 云硬盘的ID。 links Array of Link objects
aadb566ed7a1d31f/cloudsnapshots/detail 响应样例 { "count": 1, "snapshots": [ { "status": "available", "description": null,
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
200 表5 响应Body参数 参数 参数类型 描述 volume CreateVolumeDetail object 待创建的云硬盘信息。 表6 CreateVolumeDetail 参数 参数类型 描述 id String 云硬盘ID。 links Array of Link
202 表7 响应Body参数 参数 参数类型 描述 volume CreateVolumeDetail object 待创建的云硬盘信息。 表8 CreateVolumeDetail 参数 参数类型 描述 id String 云硬盘ID。 links Array of Link
出现错误时,返回的错误消息。 请求示例 GET https://{endpoint}/v3/{project_id}/snapshots?status=available 响应示例 状态码: 200 OK { "snapshots" : [ { "created_at" : "2016-02-16T16:54:14
202 表7 响应Body参数 参数 参数类型 描述 volume CreateVolumeDetail object 待创建的云硬盘信息。 表8 CreateVolumeDetail 参数 参数类型 描述 id String 云硬盘ID。 links Array of Link
"projects": [ { "domain_id": "65ewtrgaggshhk1223245sghjlse684b", "is_domain": false, "parent_id": "
参数类型 描述 volume DiskDetail object 云硬盘详情。 表4 DiskDetail 参数 参数类型 描述 attachments Array of DiskAttachment objects 云硬盘的挂载信息。 availability_zone String
200 表2 响应Body参数 参数 参数类型 描述 volume CinderVolumeDetail object 查询请求返回的云硬盘。 表3 CinderVolumeDetail 参数 参数类型 描述 id String 云硬盘ID。 links Array of Link