检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 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
/v2/{project_id}/volumes/{volume_id}/action action="os-volume_upload_image" evs:volumes:uploadImage √ × 挂载云硬盘(Cinder) POST /v2/{project_id}/volumes/{volume_id}/action
200 表5 响应Body参数 参数 参数类型 描述 volume CreateVolumeDetail object 待创建的云硬盘信息。 表6 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
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
"text/html" }, { "rel" : "self", "href" : "https://evs.localdomain.com/v1" } ], "id" : "v1.0", "updated" : "2014-06-28T12:20:21Z"
回显类似如下信息: [root@ecs-0001 ~]# df -TH Filesystem Type Size Used Avail Use% Mounted on /dev/vda1 ext4 43G 2.0G 39G 5% / devtmpfs
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
despite- sanity checks (fail on failure) - 'off' : do not attempt - 'on' : fail if sanity checks indicate
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
共租户提供通用云服务的Region;专属Region指只承载同一类业务或只面向特定租户提供业务服务的专用Region。 可用区(AZ,Availability Zone):一个AZ是一个或多个物理数据中心的集合,有独立的风火水电,AZ内逻辑上再将计算、网络、存储等资源划分成多个集
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
Internal Server Error 501 Not Implemented 502 Bad Gateway 503 Service Unavailable 504 Gateway Timeout 父主题: 附录
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
"metadata" : { }, "name" : "test01", "size" : 1, "status" : "available", "volume_id" : "ba5730ea-8621-4ae8-b702-ff0ffc12c209",
云硬盘状态 云硬盘状态(API) 云硬盘状态(console) 说明 creating 正在创建 云硬盘处于正在创建的过程中。 available 可用 云硬盘创建成功,还未挂载给任何云服务器,可以进行挂载。 in-use 正在使用 云硬盘已挂载给云服务器,正在使用中。 error
云硬盘状态,具体请参见云硬盘状态。 attachments Array of VolumeAttachment objects 挂载信息。 availability_zone String 云硬盘所属AZ。 bootable String 是否为启动云硬盘。 true:表示为启动云硬盘。
执行以下命令,使用fio工具测试磁盘性能。 测试随机写IOPS:fio -direct=1 -iodepth=128 -rw=randwrite -ioengine=libaio -bs=4k -size=10G -numjobs=1 -runtime=600 -group_reporting -filename