-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstappen.bicep
43 lines (36 loc) · 1.1 KB
/
stappen.bicep
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// 1 Create parameter.
// param pAppServiceAppName string = 'toy-product-launch-1'
// Create variable
//var vAppServicePlanName = 'toy-product-launch-plan'
// step 2
// param location string = 'westus3'
// param storageAccountName string = 'toylaunch${uniqueString(resourceGroup().id)}'
// param appServiceAppName string = 'toylaunch${uniqueString(resourceGroup().id)}'
// var appServicePlanName = 'toy-product-launch-plan'
resource storageAccount 'Microsoft.Storage/storageAccounts@2022-09-01' = {
name: 'toylaunchstoragemvg'
location: 'westeurope'
sku: {
name: 'Standard_LRS'
}
kind: 'StorageV2'
properties: {
accessTier: 'Hot'
}
}
// Step 2
// resource appServicePlan 'Microsoft.Web/serverFarms@2022-03-01' = {
// name: 'toy-product-launch-plan-starter'
// location: 'westeurope'
// sku: {
// name: 'F1'
// }
// }
// resource appServiceApp 'Microsoft.Web/sites@2022-03-01' = {
// name: pAppServiceAppName // 1 create parameter was 'toy-product-launch-1'
// location: 'westeurope'
// properties: {
// serverFarmId: appServicePlan.id
// httpsOnly: true
// }
// }