Cosmic User API Reference

addIpToNic

Assigns secondary IP to NIC

Request parameters

Parameter NameDescriptionRequired
nicidthe ID of the nic to which you want to assign private IPtrue
ipaddressSecondary IP Addressfalse

Response Tags

Response NameDescription
idthe ID of the secondary private IP addr
ipaddressSecondary IP address
networkidthe ID of the network
nicidthe ID of the nic
virtualmachineidthe ID of the vm