File tree Expand file tree Collapse file tree 1 file changed +59
-0
lines changed Expand file tree Collapse file tree 1 file changed +59
-0
lines changed Original file line number Diff line number Diff line change @@ -15,3 +15,62 @@ var imageName = 'techexcel/dotnetcoreapp'
15
15
var startupCommand = ''
16
16
17
17
// TODO: complete this script
18
+ resource appServicePlan 'Microsoft.Web/serverfarms@2021-02-01' = {
19
+ name : appServicePlanName
20
+ location : location
21
+ sku : {
22
+ name : sku
23
+ tier : 'Standard'
24
+ }
25
+ properties : {
26
+ reserved : true
27
+ }
28
+ }
29
+
30
+ resource webApp 'Microsoft.Web/sites@2021-02-01' = {
31
+ name : webAppName
32
+ location : location
33
+ properties : {
34
+ serverFarmId : appServicePlan .id
35
+ siteConfig : {
36
+ linuxFxVersion : 'DOCKER|${imageName }'
37
+ appCommandLine : startupCommand
38
+ }
39
+ }
40
+ }
41
+
42
+ resource logAnalytics 'Microsoft.OperationalInsights/workspaces@2021-06-01' = {
43
+ name : logAnalyticsName
44
+ location : location
45
+ properties : {
46
+ sku : {
47
+ name : 'PerGB2018'
48
+ }
49
+ }
50
+ }
51
+
52
+ resource appInsights 'Microsoft.Insights/components@2020-02-02' = {
53
+ name : appInsightsName
54
+ location : location
55
+ kind : 'web'
56
+ properties : {
57
+ Application_Type : 'web'
58
+ }
59
+ }
60
+
61
+ resource containerRegistry 'Microsoft.ContainerRegistry/registries@2021-06-01-preview' = {
62
+ name : registryName
63
+ location : location
64
+ sku : {
65
+ name : registrySku
66
+ }
67
+ properties : {
68
+ adminUserEnabled : true
69
+ }
70
+ }
71
+
72
+ output webAppName string = webAppName
73
+ output appServicePlanName string = appServicePlanName
74
+ output logAnalyticsName string = logAnalyticsName
75
+ output appInsightsName string = appInsightsName
76
+ output registryName string = registryName
You can’t perform that action at this time.
0 commit comments