Skip to content

Commit cc93039

Browse files
authored
Updated BlobCreatedEvent sample JSON
1 parent 6749e0b commit cc93039

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

articles/event-grid/event-schema.md

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -46,27 +46,28 @@ For example, the schema published for an Azure Blob storage event is:
4646
```json
4747
[
4848
{
49-
"topic": "/subscriptions/{subscription-id}/resourceGroups/Storage/providers/Microsoft.Storage/storageAccounts/xstoretestaccount",
50-
"subject": "/blobServices/default/containers/oc2d2817345i200097container/blobs/oc2d2817345i20002296blob",
49+
"topic": "/subscriptions/aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e/resourceGroups/contosorg/providers/Microsoft.Storage/storageAccounts/contosostorage",
50+
"subject": "/blobServices/default/containers/testcontainer/blobs/dataflow.jpg",
5151
"eventType": "Microsoft.Storage.BlobCreated",
52-
"eventTime": "2017-06-26T18:41:00.9584103Z",
53-
"id": "831e1650-001e-001b-66ab-eeb76e069631",
52+
"id": "aaaaaaaa-0000-1111-2222-bbbbbbbbbbbb",
5453
"data": {
55-
"api": "PutBlockList",
56-
"clientRequestId": "6d79dbfb-0e37-4fc4-981f-442c9ca65760",
57-
"requestId": "831e1650-001e-001b-66ab-eeb76e000000",
58-
"eTag": "0x8D4BCC2E4835CD0",
59-
"contentType": "application/octet-stream",
60-
"contentLength": 524288,
54+
"api": "PutBlob",
55+
"clientRequestId": "bbbbbbbb-1111-2222-3333-cccccccccccc",
56+
"requestId": "cccccccc-2222-3333-4444-dddddddddddd",
57+
"eTag": "0x8DD15A69488FE5A",
58+
"contentType": "image/jpeg",
59+
"contentLength": 52577,
6160
"blobType": "BlockBlob",
62-
"url": "https://oc2d2817345i60006.blob.core.windows.net/oc2d2817345i200097container/oc2d2817345i20002296blob",
63-
"sequencer": "00000000000004420000000000028963",
61+
"accessTier": "Default",
62+
"url": "https://contosostorage.blob.core.windows.net/testcontainer/dataflow.jpg",
63+
"sequencer": "0000000000000000000000000003A13C00000000007da85d",
6464
"storageDiagnostics": {
65-
"batchId": "b68529f3-68cd-4744-baa4-3c0498ec19f0"
65+
"batchId": "9d292d9f-e006-00a5-008f-47b300000000"
6666
}
6767
},
6868
"dataVersion": "",
69-
"metadataVersion": "1"
69+
"metadataVersion": "1",
70+
"eventTime": "2024-12-06T03:32:15.7238874Z"
7071
}
7172
]
7273
```

0 commit comments

Comments
 (0)