List Private Networks

GET /private-network

Responses

  • 200 application/json

    200

    Hide response attribute Show response attribute object
    • private-networks array[object]
      Hide private-networks attributes Show private-networks attributes object
      • Private Network description

        Maximum length is 255.

      • labels object

        Resource labels

        Hide labels attribute Show labels attribute object
        • * string Additional properties
      • name string

        Private Network name

        Minimum length is 1, maximum length is 255.

      • start-ip string(ipv4)

        Private Network start IP address

      • leases array[object]

        Private Network leased IP addresses

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

          Private Network IP address

        • instance-id string(uuid)

          Attached instance ID

      • id string(uuid)

        Private Network ID

      • vni integer(int64)

        Private Network VXLAN ID

        Minimum value is 0.

      • netmask string(ipv4)

        Private Network netmask

      • options object

        DHCP options

        Additional properties are allowed.

        Hide options attributes Show options attributes object
      • end-ip string(ipv4)

        Private Network end IP address

GET /private-network
curl \
 -X GET https://api-ch-gva-2.exoscale.com/v2/private-network
Response examples (200)
{
  "private-networks": [
    {
      "description": "string",
      "labels": {
        "additionalProperty1": "string",
        "additionalProperty2": "string"
      },
      "name": "string",
      "start-ip": "string",
      "leases": [
        {
          "ip": "string",
          "instance-id": "string"
        }
      ],
      "id": "string",
      "vni": 42,
      "netmask": "string",
      "options": {
        "routers": [
          "string"
        ],
        "dns-servers": [
          "string"
        ],
        "ntp-servers": [
          "string"
        ],
        "domain-search": [
          "string"
        ]
      },
      "end-ip": "string"
    }
  ]
}