[Virtual Machine] resizeNode

resizeNode

Process Overview of the Function

The resource allocation for the virtual server is changed.

Request Parameter

Specify the following parameter(s) when executing this function.

ParameterDescriptionRequired
Identifier

VM Identifier

Specify the identifier of a virtual server.
The virtual server identifier can be obtained from the 4.1. listNodes function.
In the 4.1. listNodes function response object, the corresponding field is, identifier.

allow_cold_resize

Rollback Method

Specify the behavior when resource allocation change without virtual server restart, fails.
1 : Switch to resource allocation change with restart
0 : Cancel resource allocation change

×
cpu_shares

CPU Share

Specify the percentage share of the virtual CPU to be allocated to the virtual server

×
cpus

Number of CPU Cores

Specify the number of virtual CPU cores to be allocated to the virtual server.

×
memory

Memory [MB]

Specify the amount of memory to be allocated to the virtual server.

×

Response Object

Response ObjectIf the request to change the specified virtual server resource is successful then true is returned.
If the request to change the specified virtual server resource failed then the resulting error message is returned.

Request Sample

https://api.gmocloud.com/Cloud-Zone-ID/?Action=resizeNode&AccessKeyId=AccessKeyId&Version=1.0&Identifier=Identifier_of_VM&memory=129&cpus=2&cpu_shares=2&allow_cold_resize=1&Signature=Signature

Response Sample

true

Note: GMO CLOUD AMERICA INC. does not make any guarantee with regard to the content of this manual and will not be held responsible for any damages resulting from customers or third parties.

Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk