Skip to main content

Retrieve Azure virtual networks

Retrieves a list of Azure virtual networks from a specific subscription ID in Azure cloud. Use this to view the available networks for backup and recovery operations.

HTTP method and endpoint

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

Token usage

NetApp Console user token.

Parameters

Name Type In Required Description

region

string

query

False

Region

accountId

string

path

True

Account ID

subscriptionId

string

path

True

Subscription ID

authorization

string

header

True

User token

X-Agent-Id

string

header

True

Request identifier

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"
        }
      ]
    }
  ]
}

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