8000 added TemplateFile parameter by arjenhuitema · Pull Request #208 · Azure/alz-monitor · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Oct 5, 2023. It is now read-only.

added TemplateFile parameter - #208

Merged
Paul Grimley (paulgrimley) merged 1 commit into
Azure:mainfrom
arjenhuitema:207-missing-parameter
Jul 19, 2023
Merged

Paul Grimley (paulgrimley) merged 1 commit into
Azure:mainfrom
arjenhuitema:207-missing-parameter

Conversation

@arjenhuitema
@arjenhuitema Arjen Huitema (arjenhuitema) commented Jul 19, 2023 •
Copy link
Copy Markdown
Collaborator

Added the -TemplateFile parameter.

  #Deploy only the required policy definitions for the Service Health initiative
  New-AzManagementGroupDeployment -ManagementGroupId $pseudoRootManagementGroup -Location $location -TemplateFile ./src/resources/Microsoft.Authorization/policyDefinitions/deploy-activitylog-ResourceHealth-UnHealthly-alert.bicep
  New-AzManagementGroupDeployment -ManagementGroupId $pseudoRootManagementGroup -Location $location -TemplateFile ./src/resources/Microsoft.Authorization/policyDefinitions/deploy-activitylog-ServiceHealth-Health.bicep
  New-AzManagementGroupDeployment -ManagementGroupId $pseudoRootManagementGroup -Location $location -TemplateFile ./src/resources/Microsoft.Authorization/policyDefinitions/deploy-activitylog-ServiceHealth-Incident.bicep 
  New-AzManagementGroupDeployment -ManagementGroupId $pseudoRootManagementGroup -Location $location -TemplateFile ./src/resources/Microsoft.Authorization/policyDefinitions/deploy-activitylog-ServiceHealth-Maintenance.bicep
  New-AzManagementGroupDeployment -ManagementGroupId $pseudoRootManagementGroup -Location $location -TemplateFile ./src/resources/Microsoft.Authorization/policyDefinitions/deploy-activitylog-ServiceHealth-Security.bicep
  New-AzManagementGroupDeployment -ManagementGroupId $pseudoRootManagementGroup -Location $location -TemplateFile ./src/resources/Microsoft.Authorization/policyDefinitions/deploy-alertprocessingrule-deploy.bicep

8000
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0