Direction
rebootInstances is used to reboot more than one set of VM. This operation is not synchronic. The user can enquire whether the reboot is complete through rebootInstances.
Request Parameter
Parameter | Description | Note |
---|---|---|
instanceId (Not a necessary parameter) |
Source VM Instance ID Type : String Default Value : No Whether it is plural : No |
Multiple values can be supported. |
Response Parameter
Parameter | Description | Note |
---|---|---|
requestId (Not a necessary parameter) |
Request ID Type : JSON value : string Whether it is plural : No |
Automatically produced by the system |
statusMap | VM Instance ID-Status List Type : JSON value : object Whether it is plural : No(Map) |
object is {string,string} The status value is |
Request Example
Example1: https://hws.hicloud.hinet.net/cloud_hws/api/hws/?action=rebootInstances &instanceId=BV550100010003 &chtAuthType=hwspass &version=${version} &expires=${expires} &accessKey=${accessKey} &signature=${signature} Example2: https://hws.hicloud.hinet.net/cloud_hws/api/hws/?action=rebootInstances &instanceId=BV550100010003 &instanceId=BV550100010004 &chtAuthType=hwspass &version=${version} &expires=${expires} &accessKey=${accessKey} &signature=${signature}
Response Example
{ "requestId":"xxxEXAMPLE", "statusMap": { "BV550100010003": "vm_start", "BV550100010004": "vm_starting" } }