| Source | 
                         Repository Azure Landing Zones (ALZ) GitHub  JSON Deploy-Diagnostics-CosmosDB  | 
                ||||||||||||||||||||||||||||
| Display name | [Deprecated]: Deploy Diagnostic Settings for Cosmos DB to Log Analytics workspace | ||||||||||||||||||||||||||||
| Id | Deploy-Diagnostics-CosmosDB | ||||||||||||||||||||||||||||
| Version | 1.2.0-deprecated Details on versioning  | 
                ||||||||||||||||||||||||||||
| Category | Monitoring | ||||||||||||||||||||||||||||
| Description | Deploys the diagnostic settings for Cosmos DB to stream to a Log Analytics workspace when any Cosmos DB which is missing this diagnostic settings is created or updated. This policy is superseded by built-in initiative https://www.azadvertizer.net/azpolicyinitiativesadvertizer/0884adba-2312-4468-abeb-5422caed1038.html. | ||||||||||||||||||||||||||||
| Cloud environments | AzureChinaCloud AzureCloud AzureUSGovernment  | 
                ||||||||||||||||||||||||||||
| Mode | Indexed | ||||||||||||||||||||||||||||
| Type | Custom Azure Landing Zones (ALZ) | ||||||||||||||||||||||||||||
| Preview | False | ||||||||||||||||||||||||||||
| Deprecated | True | ||||||||||||||||||||||||||||
| Effect |                     Default DeployIfNotExists Allowed DeployIfNotExists, Disabled  | 
                ||||||||||||||||||||||||||||
| RBAC role(s) |                         
  | 
                ||||||||||||||||||||||||||||
| Rule aliases |                 THEN-ExistenceCondition (3)
  | 
                ||||||||||||||||||||||||||||
| Rule resource types |                 IF (1) Microsoft.DocumentDB/databaseAccounts  | 
                ||||||||||||||||||||||||||||
| Initiatives usage |                         
  | 
                ||||||||||||||||||||||||||||
| History |                         
  | 
                ||||||||||||||||||||||||||||
| JSON compare | 
                
                compare mode:
            
                version left:
            
                version right:
            
                
                
                    
                    
                  | 
            ||||||||||||||||||||||||||||
| JSON | 
                        
  |