检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
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参数 参数 参数类型 描述 snapshot SnapshotDetails object 快照信息 表6 SnapshotDetails 参数 参数类型 描述 id String 云硬盘快照ID。 status String 云硬盘快照状态
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
响应参数 状态码: 202 表5 响应Body参数 参数 参数类型 描述 snapshot SnapshotDetails object 快照信息 表6 SnapshotDetails 参数 参数类型 描述 id String 云硬盘快照ID。 status String 云硬盘快照状态
创建云硬盘快照(废弃) 功能介绍 创建云硬盘快照。 调用方法 请参见如何调用API。 URI POST /v2/{project_id}/snapshots 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 项目ID。 获取方法请参见"获取项目ID"。
VolumeTypeExtraSpecs 参数 参数类型 描述 RESKEY:availability_zones String 支持当前云硬盘类型的可用区列表,列表的元素以逗号分隔。 若没有该参数,则表示当前云硬盘类型支持所有可用区。 availability-zone String 预留属性。 os
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
创建云硬盘(废弃) 功能介绍 创建一个或多个云硬盘。由于兼容性原因导致存在该接口,目前已经废弃。请使用性能更佳的接口。 调用方法 请参见如何调用API。 URI POST /v2/{project_id}/cloudvolumes 表1 路径参数 参数 是否必选 参数类型 描述 project_id
202 表7 响应Body参数 参数 参数类型 描述 volume CreateVolumeDetail object 待创建的云硬盘信息。 表8 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
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
单数据盘已达最大容量,仍不够用怎么办 单数据盘支持的最大容量是32 TiB。如果单数据盘最大容量仍不能满足您的需求,建议组建RAID磁盘阵列或通过LVM管理云硬盘。 父主题: 云硬盘容量问题
扩容云硬盘(废弃) 功能介绍 扩容一个云硬盘 扩容状态为available的云硬盘时,没有约束限制。 扩容接口采用异步的方式,实际扩容结果请在虚拟机中确认。 由于兼容性原因导致存在该接口,目前已经废弃。 接口约束 扩容状态为in-use的云硬盘时,有以下约束: 不支持共享云硬盘,
只有云硬盘状态处于“available”或“error_rollbacking”状态才允许快照回滚到源云硬盘。 名称以autobk_snapshot_为前缀的快照是创建云硬盘备份时系统自动创建的,请不要进行“回滚快照到云硬盘”操作。 调用方法 请参见如何调用API。 URI POST
取消保留云硬盘(废弃) 功能介绍 取消保留云硬盘。 调用方法 请参见如何调用API。 URI POST /v2/{project_id}/volumes/{volume_id}/action 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 项目ID。
设置云硬盘只读标识 功能介绍 设置云硬盘只读标识。 调用方法 请参见如何调用API。 URI POST /v3/{project_id}/volumes/{volume_id}/action 表1 路径参数 参数 是否必选 参数类型 描述 project_id 是 String 项目ID。