List Children of Parent (Azure)
POST/cloud-accounts-manager/v1/cloudAccounts/azureAccounts/:parent_id/children
Lists all the children, both management groups and subscriptions, under the given parent. A parent can be either an Azure tenant or a management group.
Request
Path Parameters
Parent Resource ID
- application/json
Body
required
Azure cloud account parameters
-
azure - Commercial deployment type. Applicable for Prisma Commercial and Government stacks
-
azure_gov - Government deployment type. Applicable for Prisma Commercial and Government stacks..
-
azure_china - Applicable for Prisma China Stack.
cloudAccount objectrequired
Azure account ID
Possible values: [tenant
]
Cloud Account Type
Application (Client) ID
Possible values: [azure
, azure_gov
, azure_china
]
Application key/client secret
Automatically ingest flow logs
Service Principal ID
Directory (Tenant) ID
true = Azure tenant has children. Must be true.
Responses
- 200
- 400
success
- application/json; charset=UTF-8
- Schema
- Example (from schema)
Schema
- Array [
- ]
Node ID
Possible values: [TENANT
, MANAGEMENT_GROUP
, ACCOUNT
]
Node type
Display name
Parent
true = Has child
[
{
"id": "string",
"type": "TENANT",
"displayName": "string",
"parent": "string",
"hasChild": true
}
]
bad_request / unauthorized_access