Resource Center/Network Service/Network Service Operations/EIP Operations
GETEIP OperationsSince 4.4.6SynchronousAuth Required
GetVmNicAttachableEips
GetVmNicAttachableEips
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Query Parameters
Request Inputs
Path Parameters
vmNicUuidStringRequiredThe VM NIC UUID.
Query Parameters
ipVersionIntegerOptional. The IP version.
limitIntegerOptional. The limit of the returned results.
startIntegerOptional. The start position of the query.
systemTagsListOptional. The system tags.
userTagsListOptional. The user tags.
Responses
Endpoint
GET/zstack/v1/vm-instances/nics/{vmNicUuid}/candidate-eips
/zstack/v1/vm-instances/nics/{vmNicUuid}/candidate-eips
Request Example
curl -X GET 'http://{host}/zstack/v1/vm-instances/nics/{vmNicUuid}/candidate-eips?ipVersion=1&limit=1&start=1&systemTags=<systemTags>&userTags=<userTags>' -H 'Authorization: OAuth {sessionUuid}'
Response Example
200{ "inventories": [ { "uuid": "fe174df8c1003e3a9f13aa73104f45ee", "name": "eip", "vmNicUuid": "d29fb63d5aba4bbf98ec8663d6b4ba21", "vipUuid": "a5cfe85eb0d7448fbe153360c52114ce", "createDate": "Nov 14, 2017 9:20:57 AM", "lastOpDate": "Nov 14, 2017 9:20:57 AM", "state": "Enable", "vipIp": "10.72.109.11", "guestIp": "172.168.1.1" } ] }Change History
This API has no change history records yet.
