Skip to main content

Retrieve Azure virtual networks

Contributors

GET /account/{accountId}/providers/cloudmanager_cbs/api/v1/azure/subscription/{subscriptionId}/vnet

Retrieves a list of Azure virtual networks from a specific subscription ID in Azure cloud.

Token usage: BlueXP user token.

Parameters

Name Type In Required Description

region

string

query

False

accountId

string

path

True

subscriptionId

string

path

True

authorization

string

header

True

x-agent-id

string

header

True

Response

Status: 200, Default response
Name Type Required Description

vnet

array[vnet]

False

Example response
{
  "vnet": [
    {
      "name": "string",
      "id": "string",
      "region": "string",
      "subnet": [
        {
          "name": "string",
          "id": "string"
        }
      ]
    }
  ]
}
JSON

Definitions

See Definitions

subnet

Name Type Required Description

name

string

False

id

string

False

vnet

Name Type Required Description

name

string

False

id

string

False

region

string

False

subnet

array[subnet]

False