Az Azure-gyorskonfigurálási sablonok jelenleg angol nyelven érhetők el
This template creates a virtual machine with multiple disks attached. A script partitions and formats the disks in raid0 array.
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 |
---|---|
adminUsername | Admin username used when provisioning a virtual machines |
storageAccountName | Unique namespace for the Storage Account where the Virtual Machine's disks will be placed |
virtualNetworkName | Virtual Network |
vmSize | Size of the virtual machine |
addressPrefix | Address space for the VNET |
subnet1Name | Subnet name for the VNET that resources will be provisioned in to |
subnet1Prefix | Address space for the subnet |
dnsName | Load balancer subdomain name: for example (<subdomain>.westus.cloudapp.azure.com) |
dataDiskSize | Size of each data disk attached to data nodes in (Gb) |
location | Location for all resources. |
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/demos/diskraid-ubuntu-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/demos/diskraid-ubuntu-vm/azuredeploy.json