Skip to content

arthurderyckere-newday/Azure-ARM-Diagnostic-Policies

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure-ARM-Diagnostic-Policies

ARM documents to deploy diagnostic policies for specific resources

Please find my blog post with additional information here:

https://markusmeyer.hashnode.dev/configure-azure-diagnostic-settings-with-azure-policies

Policies

Initiative

image

Initiative - Policies

image

Policy Cosmos DB

image

Assign Policy Cosmos DB

image

Assign Policy Cosmos DB - Parameters

image

Diagnostic Setting - Cosmos DB

image

image

Deployment

Azure CLI

az deployment sub create  --location westeurope --template-file .\Policy.json --parameters "@Policy.parameters.json"

Powershell

New-AzDeployment -Name "diagPolicies" -location "West Europe" -TemplateFile .\Policy.json  -verbose -TemplateParameterFile .\Policy.parameters.json

Deploy To Azure Visualize

About

ARM documents to deploy diagnostic policies for specific resources

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published