Network

Perform an action on multi-cloud network resources (enable/disable).

Performs an action (enable/disable) over networks, network cloud connections, and cross-region connections.

post/v1/multi-cloud-networks/actions

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.

Request body

OR
OR
OR

Example request

{
  "networkType": "direct-connect",
  "macroRegion": "emea",
  "connectivityCenterId": 13,
  "action": "enable-network"
}

Response

Successful operation

Example response

[
  {
    "directConnect": {
      "networks": [
        {
          "id": "6bb37055-1ac2-452b-9005-aded1a5d66eb",
          "macroRegion": "emea",
          "connectivityCenter": {
            "id": 3,
            "name": "Frankfurt"
          },
          "bandwidth": {
            "rateLimit": 1,
            "unit": "Gbps"
          },
          "cost": {
            "unit": "MONTH",
            "currency": "EUR",
            "price": 600
          },
          "status": "disabled",
          "cloudConnects": [
            {
              "id": "499d17d4-bf63-496a-a7cd-1829ddd40b06",
              "provider": {
                "id": 5,
                "name": "AZURE"
              },
              "bandwidth": {
                "rateLimit": 100,
                "unit": "Mbps"
              },
              "cost": {
                "unit": "MONTH",
                "currency": "EUR",
                "price": 200
              },
              "status": "disabled"
            }
          ]
        }
      ],
      "crossRegionConnects": [
        {
          "id": "a961184d-f902-4d4a-a70f-e4113531000e",
          "networks": [
            {
              "id": "6bb37055-1ac2-452b-9005-aded1a5d66eb",
              "macroRegion": "emea"
            },
            {
              "id": "54cc8364-4167-4141-850e-6f644c9a280d",
              "macroRegion": "amer"
            }
          ],
          "bandwidth": {
            "rateLimit": 100,
            "unit": "Mbps"
          },
          "cost": {
            "unit": "MONTH",
            "currency": "EUR",
            "price": 200
          },
          "status": "disabled"
        }
      ]
    }
  }
]

Changes

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