The Azure Quickstart templates are currently available in English
This template allows you to create a Linux VM with the Azul Zulu OpenJDK JVM.
Deze ARM-sjabloon (Azure Resource Manager) is gemaakt door een lid van de community, niet door Microsoft. Elke ARM-sjabloon wordt aan u in licentie gegeven onder een licentieovereenkomst van de eigenaar, niet van Microsoft. Microsoft is niet verantwoordelijk voor ARM-sjablonen die door communityleden worden verstrekt en in licentie worden gegeven, en test deze sjablonen ook niet op veiligheid, compatibiliteit of prestaties. ARM-sjablonen van de community worden onder geen enkel programma of geen enkele service van Microsoft ondersteund, en worden 'AS IS' beschikbaar gesteld, zonder enige vorm van garantie.
Parameters
Parameternaam | Beschrijving |
---|---|
OS | The Linux distribution for the VM. This will pick a fully patched image of the selected distribution. |
javaPackageName | Azul Zulu OpenJDK JVM for Azure package name |
vmSize | Size for the Virtual Machine. |
vmName | Name for the Virtual Machine. |
adminUsername | User name for the Virtual Machine. |
authenticationType | Type of authentication to use on the Virtual Machine. |
adminPasswordOrKey | Password or SSH key for the Virtual Machine. |
storageNewOrExisting | Determines whether or not a new storage account should be provisioned. |
storageAccountName | Name of the storage account |
storageAccountType | Storage account type |
storageAccountResourceGroupName | Name of the resource group for the existing storage account |
virtualNetworkNewOrExisting | Determines whether or not a new virtual network should be provisioned. |
virtualNetworkName | Name of the virtual network |
addressPrefixes | Address prefix of the virtual network |
subnetName | Name of the subnet |
subnetPrefix | Subnet prefix of the virtual network |
virtualNetworkResourceGroupName | Name of the resource group for the existing virtual network |
publicIpNewOrExisting | Determines whether or not a new public ip should be provisioned. |
publicIpName | Name of the public ip address |
publicIpDns | DNS of the public ip address for the VM |
publicIpResourceGroupName | Name of the resource group for the public ip address |
publicIpAllocationMethod | Allocation method for the public ip address |
publicIpSku | Name of the resource group for the public ip address |
location | Location for the resources. |
_artifactsLocation | The base URI where artifacts required by this template are located. When the template is deployed using the accompanying scripts, a private location in the subscription will be used and this value will be automatically generated. |
_artifactsLocationSasToken | The sasToken required to access _artifactsLocation. When the template is deployed using the accompanying scripts, a sasToken will be automatically generated. |
De sjabloon gebruiken
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 installeren en configureren
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/101-Linux-Java-ZuluOpenJDK/azuredeploy.json
Opdrachtregel
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 deploymentDe platformoverschrijdende Azure-opdrachregelinterface installeren en configureren
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/101-Linux-Java-ZuluOpenJDK/azuredeploy.json