The Azure Quickstart templates are currently available in English
Azure Traffic Manager VM example
Utolsó frissítés: 2020. 08. 07.
This template shows how to create an Azure Traffic Manager profile load-balancing across multiple virtual machines.
Ezt az Azure Resource Manager-sablont (ARM-sablont) nem a Microsoft, hanem a közösség egyik tagja készítette. Az egyes ARM-sablonok nem a Microsofttól, hanem a sablon tulajdonosától licencelhetők licencszerződés keretében. A Microsoft semmilyen felelősséget nem vállalal a közösség tagjai által biztosított és licencbe adott ARM-sablonokért, és azokat a biztonság, kompatibilitás és teljesítmény szempontjából nem ellenőrzi. A közösségi ARM-sablonokat a Microsoft semmilyen terméktámogatási programja vagy szolgáltatása nem támogatja, és ezek „adott állapotukban” állnak rendelkezésre, mindennemű garancia nélkül.
Paraméterek
Paraméter neve | Leírás |
---|---|
location | Location for the VM, only certain regions support zones. |
uniqueDnsName | Relative DNS name for the traffic manager profile, must be globally unique. |
adminUsername | User name for the Virtual Machines. |
uniqueDnsNameForPublicIP | Relative DNS Name for the Public IPs used to access the Virtual Machines, must be globally unique. An index will be appended for each instance. |
ubuntuOSVersion | The Ubuntu version for the VM. This will pick a fully patched image of this given Ubuntu version. Allowed values: 18.04-LTS, 16.04.0-LTS, 14.04.5-LTS. |
vmSize | Size of the virtual machine |
authenticationType | Type of authentication to use on the Virtual Machine. SSH key is recommended. |
adminPasswordOrKey | SSH Key or password for the Virtual Machine. SSH key is recommended. |
A sablon használata
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 deploymentAz Azure PowerShell telepítése és konfigurálása
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/201-traffic-manager-vm/azuredeploy.json
Parancssor
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 deploymentAz Azure többplatformos parancssori felületének telepítése és beállítása
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/201-traffic-manager-vm/azuredeploy.json