Skip to content

Commit 2e16e45

Browse files
authored
Merge pull request #115411 from JasonFreeberg/app-service-eg-fix
Fix copy/paste and markup errors
2 parents aa66543 + 656b244 commit 2e16e45

File tree

1 file changed

+71
-71
lines changed

1 file changed

+71
-71
lines changed

articles/event-grid/event-schema-app-service.md

Lines changed: 71 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Azure App Service emits the following event types
3232
| Microsoft.Web/sites.SlotSwapCompleted | Triggered when a slot swap has completed |
3333
| Microsoft.Web/sites.SlotSwapFailed | Triggered when a slot swap has failed |
3434
| 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 |
3636
| Microsoft.Web/sites.AppUpdated.Restarted | Triggered when a site has been restarted |
3737
| Microsoft.Web/sites.AppUpdated.Stopped | Triggered when a site has been stopped |
3838
| 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
6060
{
6161
id:'7c5d6de5-eb70-4de2-b788-c52a544e68b8',
6262
subject:'/Microsoft.Web/sites/<site-name>',
63-
eventType:'Microsoft.Web.SlotSwapStarted',
63+
eventType:'Microsoft.Web.BackupOperationStarted',
6464
eventTime:'2020-01-28T18:26:51.7194887Z',
6565
data: {
6666
"appEventTypeDetail": { "action": "Started" },
@@ -94,24 +94,24 @@ The data object contains the following properties:
9494

9595
```js
9696
{
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',
101101
data: {
102-
"appEventTypeDetail": {
103-
"action": "Started"
102+
appEventTypeDetail: {
103+
action: "Started"
104104
},
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"
111111
}
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'
115115
}
116116
```
117117

@@ -132,24 +132,24 @@ The data object contains the following properties:
132132

133133
```js
134134
{
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',
145145
address: '/websystems/WebSites/web/subscriptions/<id>/webspaces/<webspace>/sites/<site-name>/slots?Command=SWAP&targetSlot=production',
146-
verb:'POST'
146+
verb: 'POST'
147147
sourceSlot: "staging",
148148
targetSlot: "production"
149149
},
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'
153153
}
154154
```
155155

@@ -171,24 +171,24 @@ The data object contains the following properties:
171171

172172
```js
173173
{
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',
184184
address: '/websystems/WebSites/web/subscriptions/<id>/webspaces/<webspace>/sites/<site-name>/slots?Command=SWAP&targetSlot=production',
185-
verb:'POST'
185+
verb: 'POST'
186186
sourceSlot: "staging",
187187
targetSlot: "production"
188188
},
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'
192192
}
193193
```
194194

@@ -221,10 +221,10 @@ The data object contains the following properties:
221221
clientRequestId: '64a5e0aa-7cee-4ff1-9093-b9197b820014',
222222
correlationRequestId: '25bb36a5-8f6c-4f04-b615-e9a0ee045756',
223223
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',
225225
verb: 'POST'
226226
},
227-
topic: '/subscriptions/<id>/resourceGroups/<group>/providers/ Microsoft.Web/sites/<site-name>',
227+
topic: '/subscriptions/<id>/resourceGroups/<group>/providers/Microsoft.Web/sites/<site-name>',
228228
dataVersion: '1',
229229
metaDataVersion: '1'
230230
}
@@ -247,33 +247,33 @@ The data object has the following properties:
247247

248248
```js
249249
{
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"
259259
},
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
267267
},
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"
273273
},
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"
277277
}
278278
```
279279

0 commit comments

Comments
 (0)