Šablony rychlého zprovoznění Azure jsou aktuálně dostupné v angličtině.
This template creates an Application Gateway and configures it for Multi Hosting on port 443.
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 |
---|---|
vnetAddressPrefix | Address prefix for the Virtual Network |
subnetPrefix | Subnet prefix |
skuName | Sku Name |
capacity | Number of instances |
backendIpAddress1 | IP Address for Backend Server 1 |
backendIpAddress2 | IP Address for Backend Server 2 |
hostName1 | HostName for listener 1 |
hostName2 | HostName for listener 2 |
certData1 | Base-64 encoded form of the .pfx file |
certPassword1 | Password for .pfx certificate |
certData2 | Base-64 encoded form of the .pfx file |
certPassword2 | Password for .pfx certificate |
location | Location for all resources. |
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 deploymentInstalace a konfigurace Azure PowerShell
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.network/application-gateway-multihosting/azuredeploy.json
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 deploymentInstalace a konfigurace rozhraní Azure Cross-Platform Command-Line Interface
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.network/application-gateway-multihosting/azuredeploy.json