Os modelos de Início Rápido do Azure estão atualmente disponíveis em inglês
Creates an App Service Environment in your virtual network
Este modelo de Gestor de Recursos do Azure (Azure Resource Manager, ARM) foi criado por um membro da comunidade e não pela Microsoft. Cada modelo de ARM está licenciado para si ao abrigo de um contrato de licença pelo respetivo proprietário e não pela Microsoft. A Microsoft não é responsável por modelos de ARM fornecidos e licenciados por membros da comunidade e não os analisa quanto a a segurança, compatibilidade ou desempenho. Os modelos de ARM da comunidade não são suportados ao abrigo de nenhum programa de suporte ou serviço da Microsoft e são disponibilizados TAL COMO ESTÃO sem qualquer tipo de garantia.
Parâmetros
Nome do Parâmetro | Descrição |
---|---|
aseName | Name of the App Service Environment |
location | Location of the App Service Environment |
ipSslAddressCount | Number of IP addresses for the IP-SSL address pool. |
subnetName | Subnet name that will contain the App Service Environment |
subnetId | Subnet Id that will contain the App Service Environment |
frontEndSize | Instance size for the front-end pool. Maps to P2,P3,P4. |
frontEndCount | Number of instances in the front-end pool. Minimum of two. |
workerPoolOneInstanceSize | Instance size for worker pool one. Maps to P1,P2,P3,P4. |
workerPoolOneInstanceCount | Number of instances in worker pool one. Minimum of two. |
workerPoolTwoInstanceSize | Instance size for worker pool two. Maps to P1,P2,P3,P4. |
workerPoolTwoInstanceCount | Number of instances in worker pool two. Can be zero if not using worker pool two. |
workerPoolThreeInstanceSize | Instance size for worker pool three. Maps to P1,P2,P3,P4. |
workerPoolThreeInstanceCount | Number of instances in worker pool three. Can be zero if not using worker pool three. |
Utilizar 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 deploymentInstalar e configurar o PowerShell para Azure
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.web/web-app-ase-create/azuredeploy.json
Linha de comandos
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 Comandos para Várias Plataformas do Azure
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.web/web-app-ase-create/azuredeploy.json