The Azure Quickstart templates are currently available in English
This sample demonstrates how to use Azure Front Door as a global load balancer in front of Azure API Management.
Este modelo de Gestor de Recursos do Azure (Azure Resource Manager, ARM) foi criado por um membro da comunidade e não pela Microsoft. Cada modelo de ARM está licenciado para si ao abrigo de um contrato de licença pelo respetivo proprietário e não pela Microsoft. A Microsoft não é responsável por modelos de ARM fornecidos e licenciados por membros da comunidade e não os analisa quanto a a segurança, compatibilidade ou desempenho. Os modelos de ARM da comunidade não são suportados ao abrigo de nenhum programa de suporte ou serviço da Microsoft e são disponibilizados TAL COMO ESTÃO sem qualquer tipo de garantia.
Parâmetros
Nome do Parâmetro | Descrição |
---|---|
location | Location for the Azure resources. |
virtualNetwork | Specifies the Virtual Network configuration. |
workspaceName | Name of the Log Analytics workspace |
workspaceSku | Pricing tier: PerGB2018 or legacy tiers (Free, Standalone, PerNode, Standard or Premium) which are not available to all customers. |
appInsightsName | The name of your Application Insights resource used by API Management. |
apimServiceName | The name of your API Management service. |
apimPublisherEmail | The email address of the owner of the service |
apimPublisherName | The name of the publisher. |
apimSku | The pricing tier of this API Management service. Only Developer and Premium are supported when deploying into a shared VNET. |
apimCapacity | Number of deployed units of the SKU. |
frontDoorName | Name of the Azure Front Door which is globally unique. Min length: 5. Max length: 64 |
frontDoorEnforceCertificateNameCheck | Whether to enforce certificate name check on HTTPS requests to all backend pools. No effect on non-HTTPS requests. - Enabled or Disabled |
frontDoorFrontendEndpoint | This parameter contains the name and properties of the frontend endpoint. |
frontDoorBackendPool | This parameter contains the name and properties of the Application Gateway Backend Pool |
frontDoorRoutingRule | This parameter contains the name and properties of the routing rule. |
frontDoorHealthProbeSettings | This parameter contains the name and properties of the health probe settings. |
deployWaf | Specifies whether to deploy a global WAF policy in Front Door. |
wafPolicyName | The name of the WAF policy |
wafMode | Describes if it is in detection mode or prevention mode at policy level. |
allowTrafficOnlyFromFrontDoor | Specifies whether to allow traffic to API Management public endpoints only from Front Door. |
Utilizar o modelo
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 deploymentInstalar e configurar o PowerShell para Azure
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/201-front-door-api-management/azuredeploy.json
Linha de comandos
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 deploymentInstalar e Configurar a Interface de Linha de Comandos para Várias Plataformas do Azure
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/201-front-door-api-management/azuredeploy.json