Last active
August 25, 2022 09:47
-
-
Save papeMK2/e695f7f910da8b935c654643f1bf2217 to your computer and use it in GitHub Desktop.
Create App Service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param location string = resourceGroup().location | |
resource plan 'Microsoft.Web/serverfarms@2020-06-01' = { | |
name: 'plan-appservice-lab' | |
location: location | |
kind: 'app' | |
properties: {} | |
sku: { | |
name: 'S1' | |
} | |
} | |
resource appService 'Microsoft.Web/sites@2020-06-01' = { | |
name: 'app-appservice-lab' | |
location: location | |
properties: { | |
serverFarmId: plan.id | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
az group create --name rg-lab --location japaneast &^ | |
az deployment group create --resource-group rg-lab --template-file main.bicep |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment