Die Azure-Schnellstartvorlagen sind derzeit in englischer Sprache verfügbar.
This template creates an application gateway with Redirect functionalities in a virtual network and sets up load balancing and redirect rules (basic and pathbased)
Diese ARM-Vorlage (Azure-Ressourcen-Manager) wurde von einem Mitglied der Community und nicht von Microsoft erstellt. Jede ARM-Vorlage wird für Sie von dessen Besitzer, nicht von Microsoft, unter einem Lizenzvertrag lizenziert. Microsoft übernimmt keine Zuständigkeiten für ARM-Vorlagen, die von Mitgliedern der Community bereitgestellt und lizenziert werden, und auch nicht für deren Sicherheit, Kompatibilität oder Leistung. ARM-Vorlagen aus der Community werden von keinem Microsoft-Supportprogramm oder -Dienst unterstützt und wie vorhanden ohne jegliche Gewährleistung zur Verfügung gestellt.
Parameter
Parametername | Beschreibung |
---|---|
virtualNetworkName | virtual network name |
vnetAddressPrefix | virtual network address range |
subnetName | Subnet Name |
subnetPrefix | Subnet prefix |
applicationGatewayName | application gateway name |
skuName | Sku Name |
capacity | application gateway instance count |
backendIpAddress1 | IP Address for Backend Server 1 |
backendIpAddress2 | IP Address for Backend Server 2 |
pathMatch1 | Path match string for Path Rule 1 |
certData | Base-64 encoded form of the .pfx file |
certPassword | Password for .pfx certificate |
location | Location for all resources. |
Verwenden der Vorlage
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 deploymentAzure PowerShell installieren und konfigurieren
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.network/application-gateway-redirect/azuredeploy.json
Befehlszeile
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 deploymentInstallieren und Konfigurieren der plattformübergreifenden Azure-Befehlszeilenschnittstelle
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-redirect/azuredeploy.json