AttachToS2SharedTarget
为共享存储目标添加硬盘。
此操作完成后需要调用 UpdateS2Servers 以应用到共享存储服务器上。
Request Parameters
Response Elements
Name | Type | Description |
---|---|---|
action | String | 响应动作 |
ret_code | Integer | 执行成功与否,0 表示成功,其他值则为错误代码 |
Example
Example Request:
https://api.qingcloud.com/iaas/?action=AttachToS2SharedTarget
&shared_target=s2st-eawpunuj
&volumes.1=vol-02x95cwp
&zone=pek3a
&COMMON_PARAMS
Example Response:
{
"action":"AttachToS2SharedTargetResponse",
"shared_targets":[
"s2st-eawpunuj"
],
"ret_code":0
}