-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Add email events to event grid #22272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
31fbf14
adding Email event
osaghaso 8406db0
adding Email event
osaghaso 9b14e60
adding Email event
osaghaso 83ad4d9
fixing avocado failure
osaghaso b98dbca
fixing avocado failure
osaghaso 53c47dc
fixing avocado failure
osaghaso 9ae10b3
making update to the sample json
osaghaso f14a340
making update to the sample json
osaghaso a5f88f5
making update to the sample json
osaghaso a170a5d
Merge branch 'main' into user/osaghaso/email_events_add
osaghaso 28e8dd6
making update to the sample json
osaghaso 695a171
remove unnessary definitations
osaghaso 053d28f
remove unnessary definitations
osaghaso 90fc833
adding x-ms-client-name se we dont change property casing
osaghaso File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -29,4 +29,4 @@ | |
| "threadId": "19:48899258eec941e7a281e03edc8f4964@thread.v2" | ||
| }, | ||
| "specversion": "1.0" | ||
| } | ||
| } | ||
15 changes: 15 additions & 0 deletions
15
...cation/stable/2018-01-01/examples/cloud-events-schema/email_delivery_report_received.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| { | ||
| "id": "5f04f77c-2a6a-43bd-9b74-576a64c01f9e", | ||
| "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", | ||
| "subject": "sender/test2@contoso.org/message/950850f5-bcdf-4315-b77a-6447cf56fac9", | ||
| "data": { | ||
| "sender": "test2@contoso.org", | ||
| "recipient": "test1@contoso.com", | ||
| "messageId": "950850f5-bcdf-4315-b77a-6447cf56fac9", | ||
| "status": "delivered", | ||
| "deliveryAttemptTimeStamp": "2023-02-09T19:46:12.2480265+00:00" | ||
| }, | ||
| "type": "Microsoft.Communication.EmailDeliveryReportReceived", | ||
| "time": "2023-02-09T19:46:12.2478002Z", | ||
| "specversion": "1.0" | ||
| } |
16 changes: 16 additions & 0 deletions
16
...le/2018-01-01/examples/cloud-events-schema/email_engagement_tracking_report_received.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| { | ||
| "id": "b69d6528-f09f-4ba7-93f9-dab8baf98d0e", | ||
| "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", | ||
| "subject": "sender/test2@contoso.org/message/fe26a737-6941-410c-b126-7eacbe4035d1", | ||
| "data": { | ||
| "sender": "test2@contoso.org", | ||
| "messageId": "fe26a737-6941-410c-b126-7eacbe4035d1", | ||
| "userActionTimeStamp": "2023-02-09T20:07:22.745555+00:00", | ||
| "engagementContext": "www.example.com", | ||
| "userAgent": "Desktop", | ||
| "engagementType": "click" | ||
| }, | ||
| "type": "Microsoft.Communication.EmailEngagementTrackingReportReceived", | ||
| "time": "2023-02-09T20:07:22.7453611Z", | ||
| "specversion": "1.0" | ||
| } |
16 changes: 16 additions & 0 deletions
16
...nication/stable/2018-01-01/examples/event-grid-schema/email_delivery_report_received.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| { | ||
osaghaso marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "id": "5f04f77c-2a6a-43bd-9b74-576a64c01f9e", | ||
| "topic": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", | ||
| "subject": "sender/test2@contoso.org/message/950850f5-bcdf-4315-b77a-6447cf56fac9", | ||
| "data": { | ||
| "sender": "test2@contoso.org", | ||
| "recipient": "test1@contoso.com", | ||
| "messageId": "950850f5-bcdf-4315-b77a-6447cf56fac9", | ||
| "status": "delivered", | ||
| "deliveryAttemptTimeStamp": "2023-02-09T19:46:12.2480265+00:00" | ||
| }, | ||
| "eventType": "Microsoft.Communication.EmailDeliveryReportReceived", | ||
| "dataVersion": "1.0", | ||
| "metadataVersion": "1", | ||
| "eventTime": "2023-02-09T19:46:12.2478002Z" | ||
| } | ||
17 changes: 17 additions & 0 deletions
17
...able/2018-01-01/examples/event-grid-schema/email_engagement_tracking_report_received.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| { | ||
| "id": "b69d6528-f09f-4ba7-93f9-dab8baf98d0e", | ||
| "topic": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", | ||
| "subject": "sender/test2@contoso.org/message/fe26a737-6941-410c-b126-7eacbe4035d1", | ||
| "data": { | ||
| "sender": "test2@contoso.org", | ||
| "messageId": "fe26a737-6941-410c-b126-7eacbe4035d1", | ||
| "userActionTimeStamp": "2023-02-09T20:07:22.745555+00:00", | ||
| "engagementContext": "www.example.com", | ||
| "userAgent": "Desktop", | ||
| "engagementType": "click" | ||
| }, | ||
| "eventType": "Microsoft.Communication.EmailEngagementTrackingReportReceived", | ||
| "dataVersion": "1.0", | ||
| "metadataVersion": "1", | ||
| "eventTime": "2023-02-09T20:07:22.7453611Z" | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.