[IP Addresses] addIp

addIp

Process Overview of the Function

IP address is added to the specified virtual server.

Request Parameters

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.

ip_address_id

IP Address ID

Specify the target IP address ID to add.
The IP address ID can be obtained from the 9.1. listIpAddresses function.
In the 9.1. listIpAddresses function response object, the corresponding field is, id.
When this parameter is not specified, an available IP address will be automatically retrieved and allocated.

×
network_interface_id

Network Interface ID

Specify the ID of the network interface to which the IP address is to be added.
The network interface ID can be obtained from the 7.1. listNetworkInterfaces function.
In the 7.1. listNetworkInterfaces function response object, the corresponding field is, id.

 

Response Object

If the request to add the specified IP address is successful then true is returned.
If the request to add the specified IP address failed then the resulting error message is returned.

Request Sample

https://api.gmocloud.com/Cloud-Zone-ID/?Action=addIp&AccessKeyId=AccessKeyId&Version=1.0&Identifier=Identifier_id_VM&ip_address_id=ID_of_IPaddress&network_interface_id=ID_of_NetworkInterface&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

Please sign in to leave a comment.
Powered by Zendesk