Skip to main content

Retrieve Azure resource groups

Contributors

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: 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

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