The Azure Quickstart templates are currently available in English
Creates 2 new VMs with a NIC each, in two different subnets within the same VNet. Sets service endpoint on one of the subnets and secures storage account to that subnet.
Este modelo do ARM (Azure Resource Manager) foi criado por um membro da comunidade, e não pela Microsoft. Cada modelo do ARM é licenciado para você de acordo com o contrato de licença de seu proprietário, e não da Microsoft. A Microsoft não é responsável por modelos do ARM fornecidos e licenciado por membros da comunidade e não avalia sua segurança, compatibilidade ou desempenho. Modelos do ARM da comunidade não têm suporte de nenhum programa ou serviço de suporte da Microsoft e são disponibilizados DA FORMA COMO ESTÃO, sem nenhum tipo de garantia.
Parâmetros
Nome do parâmetro | Descrição |
---|---|
adminUsername | VM admin user name |
adminPassword | VM admin password |
vnetName | Name of the virtual network |
vnetAddressPrefix | Address prefix for the virtual network |
subnet1Name | Name of the first subnet in the VNet |
subnet1Prefix | Address prefix for subnet1 |
subnet2Name | Name of the second subnet in the VNet |
subnet2Prefix | Address prefix for subnet2 |
vmSize | Size of VM |
storageAccountType | Geo-replication type of Storage account |
location | Location for all resources. |
Usar o modelo
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 deploymentInstale e configure o PowerShell do Azure
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/201-vnet-2subnets-service-endpoints-storage-integration/azuredeploy.json
Linha de comando
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 deploymentInstalar e configurar a Interface de Linha de Comando de Plataforma Cruzada do Azure
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/201-vnet-2subnets-service-endpoints-storage-integration/azuredeploy.json