Skip to main content

Retrieve Azure resource groups

GET /account/{accountId}/providers/cloudmanager_cbs/api/v1/azure/subscription/{subscriptionId}/resource-group

Retrieves a list of Azure resource groups from a specific subscription ID in Azure.

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

resource-group

array[resource-group]

False

Example response
{
  "resource-group": [
    {
      "name": "string",
      "id": "string",
      "region": "string"
    }
  ]
}

Definitions

See Definitions

resource-group

Name Type Required Description

name

string

False

id

string

False

region

string

False