Skip to main content

List Children of Parent (Azure)

For Azure only. 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 Body

The table below lists the required request body parameters.

ParameterTypeDescriptionDefault Value or Required
cloudAccount.accountIdstringAzure account IDRequired
cloudAccount.accountTypestringValid value: tenantRequired
clientIdstringApplication ID registered with Active DirectoryRequired
tenantIdstringActive Directory ID associated with AzureRequired
servicePrincipalIdstringUnique ID of the service principal object associated with the Prisma Cloud applicationRequired
keystringApplication ID keyRequired
monitorFlowLogsbooleanAutomatically ingest flow logs. Must be true.Required
environmentTypestringExisting environment type. Valid values:
azure (Commercial),
azure_gov (Government),
azure_china (China)
Required
rootSyncEnabledbooleantrue = Azure tenant has children. Must be true.Required

Request Body Example

{
"clientId":"",
"cloudAccount": {
"accountId":"",
"accountType":"tenant"
},
"environmentType":"azure",
"key":"",
"monitorFlowLogs":true,
"rootSyncEnabled":true,
"servicePrincipalId":"",
"tenantId":""
}
Path Parameters
  • parent_id string required

    Parent Resource ID

Request Body required

Azure cloud account parameters

  • property name* object
Responses

success


Schema
  • Array [
  • displayName string

    Display name

  • hasChild boolean

    true = Has child

  • id string

    Node ID

  • parent string

    Parent

  • type string

    Possible values: [TENANT, MANAGEMENT_GROUP, ACCOUNT]

    Node type

  • ]
Loading...