Приватні мережі

List private network IPs

GET
/cloud/project/{project_uuid}/sdn/private-network/vnet/{vnet}/ips/

Returns every host address in the private network with a free flag. Use a free address as ip in lan_interfaces (mode select) when creating or resizing a VM.

Authorization

bearerAuth
AuthorizationBearer <token>

API key created in the portal (Settings → API Keys). Send as Authorization: Bearer <key>.

In: header

Path Parameters

project_uuid*string

Project UUID.

vnet*string

Private network (VNet) name.

Response Body

application/json

curl -X GET "https://example.com/cloud/project/string/sdn/private-network/vnet/string/ips/"
[  {    "ip": "string",    "free": true  }]