-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure_arm_template.json
182 lines (182 loc) · 7.6 KB
/
azure_arm_template.json
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
{
"$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"sites_adventureworks_name": {
"defaultValue": "adventureworks",
"type": "String"
},
"serverfarms_ASP_capstone_9865_externalid": {
"defaultValue": "/subscriptions/0a540f9e-0a36-42e0-a269-4fe238525ee1/resourceGroups/capstone/providers/Microsoft.Web/serverfarms/ASP-capstone-9865",
"type": "String"
}
},
"variables": {},
"resources": [
{
"type": "Microsoft.Web/sites",
"apiVersion": "2022-03-01",
"name": "[parameters('sites_adventureworks_name')]",
"location": "East US",
"kind": "app,linux,container",
"properties": {
"enabled": true,
"hostNameSslStates": [
{
"name": "[concat(parameters('sites_adventureworks_name'), '.azurewebsites.net')]",
"sslState": "Disabled",
"hostType": "Standard"
},
{
"name": "[concat(parameters('sites_adventureworks_name'), '.scm.azurewebsites.net')]",
"sslState": "Disabled",
"hostType": "Repository"
}
],
"serverFarmId": "[parameters('serverfarms_ASP_capstone_9865_externalid')]",
"reserved": true,
"isXenon": false,
"hyperV": false,
"vnetRouteAllEnabled": false,
"siteConfig": {
"numberOfWorkers": 1,
"linuxFxVersion": "COMPOSE|dmVyc2lvbjogIjMuNyINCg0Kc2VydmljZXM6DQogICAgZnJvbnRlbmQ6DQogICAgICAgIGltYWdlOiAicnlhbmwxMjMvYWR2ZW50dXJld29ya3MiDQogICAgICAgIHBvcnRzOg0KICAgICAgICAgICAgLSA4MDgwOjMwMDANCiAgICAgICAgZW52X2ZpbGU6IC5lbnY=",
"acrUseManagedIdentityCreds": false,
"alwaysOn": false,
"http20Enabled": false,
"functionAppScaleLimit": 0,
"minimumElasticInstanceCount": 0
},
"scmSiteAlsoStopped": false,
"clientAffinityEnabled": false,
"clientCertEnabled": false,
"clientCertMode": "Required",
"hostNamesDisabled": false,
"customDomainVerificationId": "75B443B9ADDC1FA3537279F17AC956E8CB523182F1947D5200694C8B13C56648",
"containerSize": 0,
"dailyMemoryTimeQuota": 0,
"httpsOnly": true,
"redundancyMode": "None",
"storageAccountRequired": false,
"keyVaultReferenceIdentity": "SystemAssigned"
}
},
{
"type": "Microsoft.Web/sites/basicPublishingCredentialsPolicies",
"apiVersion": "2022-03-01",
"name": "[concat(parameters('sites_adventureworks_name'), '/ftp')]",
"location": "East US",
"dependsOn": [
"[resourceId('Microsoft.Web/sites', parameters('sites_adventureworks_name'))]"
],
"properties": {
"allow": true
}
},
{
"type": "Microsoft.Web/sites/basicPublishingCredentialsPolicies",
"apiVersion": "2022-03-01",
"name": "[concat(parameters('sites_adventureworks_name'), '/scm')]",
"location": "East US",
"dependsOn": [
"[resourceId('Microsoft.Web/sites', parameters('sites_adventureworks_name'))]"
],
"properties": {
"allow": true
}
},
{
"type": "Microsoft.Web/sites/config",
"apiVersion": "2022-03-01",
"name": "[concat(parameters('sites_adventureworks_name'), '/web')]",
"location": "East US",
"dependsOn": [
"[resourceId('Microsoft.Web/sites', parameters('sites_adventureworks_name'))]"
],
"properties": {
"numberOfWorkers": 1,
"defaultDocuments": [
"Default.htm",
"Default.html",
"Default.asp",
"index.htm",
"index.html",
"iisstart.htm",
"default.aspx",
"index.php",
"hostingstart.html"
],
"netFrameworkVersion": "v4.0",
"linuxFxVersion": "COMPOSE|dmVyc2lvbjogIjMuNyINCg0Kc2VydmljZXM6DQogICAgZnJvbnRlbmQ6DQogICAgICAgIGltYWdlOiAicnlhbmwxMjMvYWR2ZW50dXJld29ya3MiDQogICAgICAgIHBvcnRzOg0KICAgICAgICAgICAgLSA4MDgwOjMwMDANCiAgICAgICAgZW52X2ZpbGU6IC5lbnY=",
"requestTracingEnabled": false,
"remoteDebuggingEnabled": false,
"httpLoggingEnabled": false,
"acrUseManagedIdentityCreds": false,
"logsDirectorySizeLimit": 35,
"detailedErrorLoggingEnabled": false,
"publishingUsername": "$adventureworks",
"scmType": "None",
"use32BitWorkerProcess": true,
"webSocketsEnabled": false,
"alwaysOn": false,
"managedPipelineMode": "Integrated",
"virtualApplications": [
{
"virtualPath": "/",
"physicalPath": "site\\wwwroot",
"preloadEnabled": false
}
],
"loadBalancing": "LeastRequests",
"experiments": {
"rampUpRules": []
},
"autoHealEnabled": false,
"vnetRouteAllEnabled": false,
"vnetPrivatePortsCount": 0,
"localMySqlEnabled": false,
"ipSecurityRestrictions": [
{
"ipAddress": "Any",
"action": "Allow",
"priority": 1,
"name": "Allow all",
"description": "Allow all access"
}
],
"scmIpSecurityRestrictions": [
{
"ipAddress": "Any",
"action": "Allow",
"priority": 1,
"name": "Allow all",
"description": "Allow all access"
}
],
"scmIpSecurityRestrictionsUseMain": false,
"http20Enabled": false,
"minTlsVersion": "1.2",
"scmMinTlsVersion": "1.2",
"ftpsState": "FtpsOnly",
"preWarmedInstanceCount": 0,
"functionAppScaleLimit": 0,
"functionsRuntimeScaleMonitoringEnabled": false,
"minimumElasticInstanceCount": 0,
"azureStorageAccounts": {}
}
},
{
"type": "Microsoft.Web/sites/hostNameBindings",
"apiVersion": "2022-03-01",
"name": "[concat(parameters('sites_adventureworks_name'), '/', parameters('sites_adventureworks_name'), '.azurewebsites.net')]",
"location": "East US",
"dependsOn": [
"[resourceId('Microsoft.Web/sites', parameters('sites_adventureworks_name'))]"
],
"properties": {
"siteName": "adventureworks",
"hostNameType": "Verified"
}
}
]
}