Přeskočit navigaci

The Azure Quickstart templates are currently available in English

Front Door Premium with WAF and Microsoft-managed rule sets

podle John Downs
Poslední aktualizace: 18.06.2021

This template creates a Front Door Premium (Preview) including a web application firewall with the Microsoft-managed default and bot protection rule sets.

Tuto šablonu Azure Resource Manageru (ARM) vytvořil člen komunity a ne Microsoft. Licenci na každou šablonu ARM vám na základě licenční smlouvy uděluje její vlastník, ne Microsoft. Za šablony ARM poskytované a licencované členy komunity nenese Microsoft žádnou odpovědnost ani neprověřuje jejich zabezpečení, kompatibilitu nebo výkon. Šablony ARM komunity nejsou podporované v rámci žádné služby nebo programu podpory Microsoftu a jsou dostupné TAK JAK JSOU, bez jakékoliv záruky.

Parametry

Název parametru Popis
location The location into which regional resources should be deployed.
endpointName The name of the Front Door endpoint to create. This must be globally unique.
originHostName The host name that should be used when connecting from Front Door to the origin.
wafMode The mode that the WAF should be deployed using. In 'Prevention' mode, the WAF will block requests it detects as malicious. In 'Detection' mode, the WAF will not block requests and will simply log the request.
wafManagedRuleSets The list of managed rule sets to configure on the WAF.
logAnalyticsWorkspaceName The name of the Log Analytics workspace to create.

Použití šablony

PowerShell

New-AzResourceGroup -Name <resource-group-name> -Location <resource-group-location> #use this command when you need to create a new resource group for your deployment
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.network/front-door-premium-waf-managed/azuredeploy.json
Instalace a konfigurace Azure PowerShell

Příkazový řádek

az group create --name <resource-group-name> --location <resource-group-location> #use this command when you need to create a new resource group for your deployment
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.network/front-door-premium-waf-managed/azuredeploy.json
Instalace a konfigurace rozhraní Azure Cross-Platform Command-Line Interface