检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
响应参数 状态码: 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 云硬盘快照名称。 名
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 云硬盘快照名称。 名
响应Body参数 参数 参数类型 描述 status String job的状态。SUCCESS:成功。RUNNING:运行中。FAIL:失败。INIT:正在初始化。WAITING_EXECUTE:等待执行。 entities JobEntities object job的响应信息。 job_id
顺从OpenStack社区标准原生规范的API 两种风格不同,功能相近。OpenStack风格API主要用于满足您在开源生态工具方面的对接需求,在某些功能上EVS API在OpenStack社区的API基础上,做了功能增强。推荐您使用EVS接口。 发布区域:全部 API概览 OBS
aadb566ed7a1d31f/cloudsnapshots/detail 响应样例 { "count": 1, "snapshots": [ { "status": "available", "description": null,
响应参数 状态码: 200 表3 响应Body参数 参数 参数类型 描述 volume VolumeDetail object 云硬盘详情。 表4 VolumeDetail 参数 参数类型 描述 id String 云硬盘的ID。 links Array of Link objects
您可以创建快照,从而快速保存指定时刻云硬盘的数据。同时,您还可以通过快照创建新的云硬盘,这样云硬盘在初始状态就具有快照中的数据。 使用场景 快照功能可以帮助您实现以下需求: 日常备份数据 通过对云硬盘定期创建快照,实现数据的日常备份,可以应对由于误操作、病毒以及黑客攻击等导致数据丢失或不一致的情况。 快速恢复数据
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
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
参数类型 描述 volume DiskDetail object 云硬盘详情。 表4 DiskDetail 参数 参数类型 描述 attachments Array of DiskAttachment objects 云硬盘的挂载信息。 availability_zone String
出现错误时,返回的错误消息。 请求示例 GET https://{endpoint}/v3/{project_id}/snapshots?status=available 响应示例 状态码: 200 OK { "snapshots" : [ { "created_at" : "2016-02-16T16:54:14
"projects": [ { "domain_id": "65ewtrgaggshhk1223245sghjlse684b", "is_domain": false, "parent_id": "
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
String 资源名称。 resource_detail VolumeDetailForTag object 资源详情。 tags Array of Map<String,String> objects 标签列表。 表8 VolumeDetailForTag 参数 参数类型 描述 id String
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great