Subnetworks

Get list of subnetworks

Returns a list of subnetworks within the project.

get/v1/subnetworks

Request

  • Base URL
    https://api.emma.ms/external
  • Auth
    HTTP bearer

Query parameters

projectIdinteger

Unused, created for future API extention. Will be ignored if used.

Response

Successful operation

idstring

Subnetwork id

namestring

Subnetwork name

dataCenterIdstring

ID of the cloud provider's data center

subnetworkPrefixstring

The prefix for the subnetwork IP address range

subnetworkSizeinteger

The net mask size for the subnetwork

statusstring

Subnetwork status

Example response

[
  {
    "id": "d6ffb3db-4940-4979-94f3-68b11a018d98",
    "name": "default",
    "dataCenterId": "gcore-frankfurt",
    "subnetworkPrefix": "192.168.0.0",
    "subnetworkSize": 24,
    "resources": [
      {
        "id": 22,
        "resourceType": "vm"
      }
    ],
    "status": "active"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.