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.
Parameter | Type | Description | Default Value or Required |
---|---|---|---|
cloudAccount.accountId | string | Azure account ID | Required |
cloudAccount.accountType | string | Valid value: tenant | Required |
clientId | string | Application ID registered with Active Directory | Required |
tenantId | string | Active Directory ID associated with Azure | Required |
servicePrincipalId | string | Unique ID of the service principal object associated with the Prisma Cloud application | Required |
key | string | Application ID key | Required |
monitorFlowLogs | boolean | Automatically ingest flow logs. Must be true. | Required |
environmentType | string | Existing environment type. Valid values: azure (Commercial), azure_gov (Government), azure_china (China) | Required |
rootSyncEnabled | boolean | true = 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
- application/json
Request Body required
Azure cloud account parameters
property name*
object
Responses
- 200
- 400
- 500
success
- application/json; charset=UTF-8
- Schema
- Example (from schema)
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
- ]
[
{
"displayName": "string",
"hasChild": true,
"id": "string",
"parent": "string",
"type": "TENANT"
}
]
bad_request / unauthorized_access
internal_error
Loading...