List Private Networks

GET /private-network

Responses

  • 200 application/json

    200

    Hide response attribute Show response attribute object
    • private-networks array[object]

      Private Network

      Hide private-networks attributes Show private-networks attributes object
      • id string(uuid)

        Private Network ID

      • name string

        Private Network name

        Minimum length is 1, maximum length is 255.

      • Private Network description

        Maximum length is 255.

      • netmask string(ipv4)

        Private Network netmask

      • start-ip string(ipv4)

        Private Network start IP address

      • end-ip string(ipv4)

        Private Network end IP address

      • leases array[object]

        Private Network leased IP address

        Hide leases attributes Show leases attributes object
        • ip string(ipv4)

          Private Network IP address

        • instance-id string(uuid)

          Attached instance ID

      • labels object

        Resource labels

        Hide labels attribute Show labels attribute
GET /private-network
curl \
 -X GET https://api-ch-gva-2.exoscale.com/v2/private-network
Response examples (200)
{
  "private-networks": [
    {
      "id": "string",
      "name": "string",
      "description": "string",
      "netmask": "string",
      "start-ip": "string",
      "end-ip": "string",
      "leases": [
        {
          "ip": "string",
          "instance-id": "string"
        }
      ],
      "labels": {}
    }
  ]
}