跳到主要内容

挂载云硬盘

描述

挂载云硬盘到云主机。

请求参数

参数名参数类型是否必填参数说明
ActionString操作方法:AttachVolume
RegionString机房标识,取值参见地域列表
VolumeIdString云硬盘ID
InstanceIdString云主机ID

返回参数

名称类型说明
ActionString执行的操作
TaskIdString请求标识

请求示例

https://api.chinac.com/v2/?Action=AttachVolume
&VolumeId=v-xxx
&InstanceId=i-xxx
&公共参数

返回示例

{
"code": 10000,
"message": "",
"data": {
"TaskId": "bb112c20170506133720502",
"Action": "AttachVolume"
}
}