This template creates an Azure service health alert that optionally sends emails to service administrators and specified email addresses in the event of cerain Azure service outages.
Deze ARM-sjabloon (Azure Resource Manager) is gemaakt door een lid van de community, niet door Microsoft. Elke ARM-sjabloon wordt aan u in licentie gegeven onder een licentieovereenkomst van de eigenaar, niet van Microsoft. Microsoft is niet verantwoordelijk voor ARM-sjablonen die door communityleden worden verstrekt en in licentie worden gegeven, en test deze sjablonen ook niet op veiligheid, compatibiliteit of prestaties. ARM-sjablonen van de community worden onder geen enkel programma of geen enkele service van Microsoft ondersteund, en worden 'AS IS' beschikbaar gesteld, zonder enige vorm van garantie.
Parameters
Parameternaam | Beschrijving |
---|---|
alertName | Name of alert |
alertDescription | Description of alert |
status | Description of alert |
isEnabled | Specifies whether alerts are enabled |
sendToServiceOwners | Specifies whether alerts are sent to service owners |
customEmailAddresses | Comma-delimited email addresses where the alerts are also sent |
De sjabloon gebruiken
PowerShell
New-AzureRmResourceGroupDeployment -Name <deployment-name> -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/201-insights-alertrules-servicehealth/azuredeploy.jsonAzure PowerShell installeren en configureren
Opdrachtregel
azure config mode arm azure group deployment create <my-resource-group> <my-deployment-name> --template-uri https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/201-insights-alertrules-servicehealth/azuredeploy.jsonDe platformoverschrijdende Azure-opdrachregelinterface installeren en configureren