Szablony szybkiego startu platformy Azure są obecnie dostępne w języku angielskim
Front Door Standard/Premium with App Service origin
This template creates a Front Door Standard/Premium, an App Service, and configures the App Service to validate that traffic has come through the Front Door origin.
Ten szablon usługi Azure Resource Manager (ARM) został utworzony przez członka społeczności, a nie przez firmę Microsoft. Każdy szablon ARM jest licencjonowany przez swojego właściciela, a nie firmę Microsoft. Firma Microsoft nie odpowiada za szablony ARM dostarczane i licencjonowane przez członków społeczności i nie sprawdza ich pod kątem bezpieczeństwa, zgodności ani wydajności. Szablony ARM społeczności nie są wspierane w ramach żadnego programu lub usługi pomocy technicznej firmy Microsoft i są udostępniane W STANIE, W JAKIM SIĘ ZNAJDUJĄ bez żadnego rodzaju gwarancji.
Parametry
Nazwa parametru | Opis |
---|---|
location | The location into which regionally scoped resources should be deployed. Note that Front Door is a global resource. |
appName | The name of the App Service application to create. This must be globally unique. |
appServicePlanSkuName | The name of the SKU to use when creating the App Service plan. |
appServicePlanCapacity | The number of worker instances of your App Service plan that should be provisioned. |
frontDoorEndpointName | The name of the Front Door endpoint to create. This must be globally unique. |
frontDoorSkuName | The name of the SKU to use when creating the Front Door profile. |
Korzystanie z szablonu
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 deploymentInstalowanie i konfigurowanie programu PowerShell systemu Azure
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.cdn/front-door-standard-premium-app-service-public/azuredeploy.json
Wiersz polecenia
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 deploymentInstalowanie i konfigurowanie międzyplatformowego interfejsu wiersza polecenia platformy Azure
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.cdn/front-door-standard-premium-app-service-public/azuredeploy.json