Source |
Repository Community-Policy GitHub JSON Community-Policy GitHub |
|||||||||||||||||||||||||||||||||||
Display name | Deploy Diagnostic Settings for Cosmos DB to Event Hub | |||||||||||||||||||||||||||||||||||
Id | d176c9b1-2522-4e21-9caa-8d3869e81516 | |||||||||||||||||||||||||||||||||||
Version | 1.0.0 Details on versioning |
|||||||||||||||||||||||||||||||||||
Category | Monitoring Microsoft Learn |
|||||||||||||||||||||||||||||||||||
Description | Deploys the diagnostic settings for Cosmos DB to stream to a Event Hub when any Cosmos DB which is missing this diagnostic settings is created or updated. The policy will set the diagnostic with all metrics and category enabled. | |||||||||||||||||||||||||||||||||||
Mode | Indexed | |||||||||||||||||||||||||||||||||||
Type | Custom Community | |||||||||||||||||||||||||||||||||||
Effect | Default DeployIfNotExists Allowed DeployIfNotExists, AuditIfNotExists, Disabled |
|||||||||||||||||||||||||||||||||||
RBAC role(s) |
|
|||||||||||||||||||||||||||||||||||
Rule aliases | THEN-ExistenceCondition (4)
|
|||||||||||||||||||||||||||||||||||
Rule resource types | IF (1) Microsoft.DocumentDB/databaseAccounts |
|||||||||||||||||||||||||||||||||||
JSON |
|