@@ -32,7 +32,7 @@ Azure App Service emits the following event types
32
32
| Microsoft.Web/sites.SlotSwapCompleted | Triggered when a slot swap has completed |
33
33
| Microsoft.Web/sites.SlotSwapFailed | Triggered when a slot swap has failed |
34
34
| Microsoft.Web/sites.SlotSwapWithPreviewStarted | Triggered when a slot swap with preview has started |
35
- | Microsoft.Web/sites.SlotSwapWithPreviewCancelled | Triggered when a slot swap with preview has been cancelled |
35
+ | Microsoft.Web/sites.SlotSwapWithPreviewCancelled | Triggered when a slot swap with preview has been canceled |
36
36
| Microsoft.Web/sites.AppUpdated.Restarted | Triggered when a site has been restarted |
37
37
| Microsoft.Web/sites.AppUpdated.Stopped | Triggered when a site has been stopped |
38
38
| Microsoft.Web/sites.AppUpdated.ChangedAppSettings | Triggered when a site’s app settings have changed |
@@ -60,7 +60,7 @@ This section contains an example of what that data would look like for each even
60
60
{
61
61
id: ' 7c5d6de5-eb70-4de2-b788-c52a544e68b8' ,
62
62
subject: ' /Microsoft.Web/sites/<site-name>' ,
63
- eventType: ' Microsoft.Web.SlotSwapStarted ' ,
63
+ eventType: ' Microsoft.Web.BackupOperationStarted ' ,
64
64
eventTime: ' 2020-01-28T18:26:51.7194887Z' ,
65
65
data: {
66
66
" appEventTypeDetail" : { " action" : " Started" },
@@ -94,24 +94,24 @@ The data object contains the following properties:
94
94
95
95
``` js
96
96
{
97
- id: ' 7c5d6de5-eb70-4de2-b788-c52a544e68b8' ,
98
- subject: ' /Microsoft.Web/sites/<site-name>' ,
99
- eventType: ' Microsoft.Web.RestoreOperationStarted,
100
- eventTime:' 2020 - 01 - 28T18 : 26 : 51 .7194887Z ' ,
97
+ id: ' 7c5d6de5-eb70-4de2-b788-c52a544e68b8' ,
98
+ subject: ' /Microsoft.Web/sites/<site-name>' ,
99
+ eventType: ' Microsoft.Web.RestoreOperationStarted' ,
100
+ eventTime: ' 2020-01-28T18:26:51.7194887Z' ,
101
101
data: {
102
- " appEventTypeDetail" : {
103
- " action" : "Started"
102
+ appEventTypeDetail: {
103
+ action: " Started"
104
104
},
105
- " siteName" : "<site-name>",
106
- " clientRequestId" : "None",
107
- " correlationRequestId" : "None",
108
- " requestId" : "292f499d-04ee-4066-994d-c2df57b99198",
109
- " address" : "None",
110
- " verb" : "POST"
105
+ siteName: " <site-name>" ,
106
+ clientRequestId: " None" ,
107
+ correlationRequestId: " None" ,
108
+ requestId: " 292f499d-04ee-4066-994d-c2df57b99198" ,
109
+ address: " None" ,
110
+ verb: " POST"
111
111
}
112
- topic:' / subscriptions/ < id> / resourceGroups/ < rg> / providers/ Microsoft .Web / sites/ < site- name> ' ,
113
- dataVersion:' 1 ' ,
114
- metaDataVersion:' 1 '
112
+ topic: ' /subscriptions/<id>/resourceGroups/<rg>/providers/Microsoft.Web/sites/<site-name>' ,
113
+ dataVersion: ' 1' ,
114
+ metaDataVersion: ' 1'
115
115
}
116
116
```
117
117
@@ -132,24 +132,24 @@ The data object contains the following properties:
132
132
133
133
``` js
134
134
{
135
- id:' 7c5d6de5 - eb70- 4de2 - b788- c52a544e68b8' ,
136
- subject:' / Microsoft .Web / sites/ < site- name> ' ,
137
- eventType:' Microsoft .Web .SlotSwapStarted ' ,
138
- eventTime:' 2020 - 01 - 28T18 : 26 : 51 .7194887Z ' ,
139
- data:{
140
- appEventTypeDetail:null,
141
- siteName:' < site- name> ' ,
142
- clientRequestId:' 922f4841 - 20d9 - 4dd6 - 8c5b - 23f0d85e5592 ' ,
143
- correlationRequestId:' 9ac46505 - 2b8a - 4e06 - 834c - 05ffbe2e8c3a ' ,
144
- requestId:' 765117aa - eaf8- 4bd2 - a644- 1dbf69c7b0fd ' ,
135
+ id: ' 7c5d6de5-eb70-4de2-b788-c52a544e68b8' ,
136
+ subject: ' /Microsoft.Web/sites/<site-name>' ,
137
+ eventType: ' Microsoft.Web.SlotSwapStarted' ,
138
+ eventTime: ' 2020-01-28T18:26:51.7194887Z' ,
139
+ data: {
140
+ appEventTypeDetail: null ,
141
+ siteName: ' <site-name>' ,
142
+ clientRequestId: ' 922f4841-20d9-4dd6-8c5b-23f0d85e5592' ,
143
+ correlationRequestId: ' 9ac46505-2b8a-4e06-834c-05ffbe2e8c3a' ,
144
+ requestId: ' 765117aa-eaf8-4bd2-a644-1dbf69c7b0fd' ,
145
145
address: ' /websystems/WebSites/web/subscriptions/<id>/webspaces/<webspace>/sites/<site-name>/slots?Command=SWAP&targetSlot=production' ,
146
- verb:' POST '
146
+ verb: ' POST'
147
147
sourceSlot: " staging" ,
148
148
targetSlot: " production"
149
149
},
150
- topic:' / subscriptions/ < id> / resourceGroups/ < rg> / providers/ Microsoft .Web / sites/ < site- name> ' ,
151
- dataVersion:' 1 ' ,
152
- metaDataVersion:' 1 '
150
+ topic: ' /subscriptions/<id>/resourceGroups/<rg>/providers/Microsoft.Web/sites/<site-name>' ,
151
+ dataVersion: ' 1' ,
152
+ metaDataVersion: ' 1'
153
153
}
154
154
```
155
155
@@ -171,24 +171,24 @@ The data object contains the following properties:
171
171
172
172
``` js
173
173
{
174
- id:' 7c5d6de5 - eb70- 4de2 - b788- c52a544e68b8' ,
175
- subject:' / Microsoft .Web / sites/ < site- name> ' ,
176
- eventType:' Microsoft .Web .SlotSwapWithPreviewStarted ' ,
177
- eventTime:' 2020 - 01 - 28T18 : 26 : 51 .7194887Z ' ,
178
- data:{
179
- appEventTypeDetail:null,
180
- siteName:' < site- name > ' ,
181
- clientRequestId:' 922f4841 - 20d9 - 4dd6 - 8c5b - 23f0d85e5592 ' ,
182
- correlationRequestId:' 9ac46505 - 2b8a - 4e06 - 834c - 05ffbe2e8c3a ' ,
183
- requestId:' 765117aa - eaf8- 4bd2 - a644- 1dbf69c7b0fd ' ,
174
+ id: ' 7c5d6de5-eb70-4de2-b788-c52a544e68b8' ,
175
+ subject: ' /Microsoft.Web/sites/<site-name>' ,
176
+ eventType: ' Microsoft.Web.SlotSwapWithPreviewStarted' ,
177
+ eventTime: ' 2020-01-28T18:26:51.7194887Z' ,
178
+ data: {
179
+ appEventTypeDetail: null ,
180
+ siteName: ' <site-name>' ,
181
+ clientRequestId: ' 922f4841-20d9-4dd6-8c5b-23f0d85e5592' ,
182
+ correlationRequestId: ' 9ac46505-2b8a-4e06-834c-05ffbe2e8c3a' ,
183
+ requestId: ' 765117aa-eaf8-4bd2-a644-1dbf69c7b0fd' ,
184
184
address: ' /websystems/WebSites/web/subscriptions/<id>/webspaces/<webspace>/sites/<site-name>/slots?Command=SWAP&targetSlot=production' ,
185
- verb:' POST '
185
+ verb: ' POST'
186
186
sourceSlot: " staging" ,
187
187
targetSlot: " production"
188
188
},
189
- topic:' / subscriptions/ < id> / resourceGroups/ < rg> / providers/ Microsoft .Web / sites/ < site- name> ' ,
190
- dataVersion:' 1 ' ,
191
- metaDataVersion:' 1 '
189
+ topic: ' /subscriptions/<id>/resourceGroups/<rg>/providers/Microsoft.Web/sites/<site-name>' ,
190
+ dataVersion: ' 1' ,
191
+ metaDataVersion: ' 1'
192
192
}
193
193
```
194
194
@@ -221,10 +221,10 @@ The data object contains the following properties:
221
221
clientRequestId: ' 64a5e0aa-7cee-4ff1-9093-b9197b820014' ,
222
222
correlationRequestId: ' 25bb36a5-8f6c-4f04-b615-e9a0ee045756' ,
223
223
requestId: ' f2e8eb3f-b190-42de-b99e-6acefe587374' ,
224
- address: ' / websystems/ WebSites/ web/ subscriptions/ < id> / webspaces/ < webspace> / sites/ < site- name> / stop' ,
224
+ address: ' /websystems/WebSites/web/subscriptions/<id>/webspaces/<webspace>/sites/<site-name>/stop' ,
225
225
verb: ' POST'
226
226
},
227
- topic: ' / subscriptions/ < id> / resourceGroups/ < group> / providers/ Microsoft .Web / sites/ < site- name> ' ,
227
+ topic: ' /subscriptions/<id>/resourceGroups/<group>/providers/Microsoft.Web/sites/<site-name>' ,
228
228
dataVersion: ' 1' ,
229
229
metaDataVersion: ' 1'
230
230
}
@@ -247,33 +247,33 @@ The data object has the following properties:
247
247
248
248
``` js
249
249
{
250
- "id": "56501672-9150-40e1-893a-18420c7fdbf7",
251
- " subject": "/Microsoft.Web/serverfarms/<plan-name>",
252
- " eventType": "Microsoft.Web.AppServicePlanUpdated",
253
- " eventTime": "2020-01-28T18:22:23.5516004Z",
254
- " data": {
255
- " serverFarmEventTypeDetail": {
256
- " stampKind": "Public",
257
- " action": "Updated",
258
- " status": "Started"
250
+ id : " 56501672-9150-40e1-893a-18420c7fdbf7" ,
251
+ subject: " /Microsoft.Web/serverfarms/<plan-name>" ,
252
+ eventType: " Microsoft.Web.AppServicePlanUpdated" ,
253
+ eventTime: " 2020-01-28T18:22:23.5516004Z" ,
254
+ data: {
255
+ serverFarmEventTypeDetail: {
256
+ stampKind: " Public" ,
257
+ action: " Updated" ,
258
+ status: " Started"
259
259
},
260
- " serverFarmId": "0",
261
- " sku": {
262
- " name": "P1v2",
263
- " tier": "PremiumV2",
264
- " size": "P1v2",
265
- " family": "Pv2",
266
- " capacity": 1
260
+ serverFarmId: " 0" ,
261
+ sku: {
262
+ name: " P1v2" ,
263
+ tier: " PremiumV2" ,
264
+ size: " P1v2" ,
265
+ family: " Pv2" ,
266
+ capacity: 1
267
267
},
268
- " clientRequestId": "8f880321-a991-45c7-b743-6ff63fe4c004",
269
- " correlationRequestId": "1995c3be-ba7f-4ccf-94af-516df637ec8a",
270
- " requestId": "b973a8e6-6949-4783-b44c-ac778be831bb",
271
- " address": "/websystems/WebSites/serverfarms/subscriptions/<id>/webspaces/<webspace-id>/serverfarms/<plan-name>/async",
272
- " verb": "PUT"
268
+ clientRequestId: " 8f880321-a991-45c7-b743-6ff63fe4c004" ,
269
+ correlationRequestId: " 1995c3be-ba7f-4ccf-94af-516df637ec8a" ,
270
+ requestId: " b973a8e6-6949-4783-b44c-ac778be831bb" ,
271
+ address: " /websystems/WebSites/serverfarms/subscriptions/<id>/webspaces/<webspace-id>/serverfarms/<plan-name>/async" ,
272
+ verb: " PUT"
273
273
},
274
- " topic": "/subscriptions/<id>/resourceGroups/<rg>/providers/Microsoft.Web/ serverfarms/<serverfarm-name>",
275
- " dataVersion": "1",
276
- " metaDataVersion": "1"
274
+ topic: " /subscriptions/<id>/resourceGroups/<rg>/providers/Microsoft.Web/serverfarms/<serverfarm-name>" ,
275
+ dataVersion: " 1" ,
276
+ metaDataVersion: " 1"
277
277
}
278
278
```
279
279
0 commit comments