Skip to content

Commit

Permalink
Add example events. (#16404)
Browse files Browse the repository at this point in the history
* Add examples

* Rename certificate_new_version_created.json to secret_new_version_created.json

* Update geofence_entered.json

* Create geofence_entered.json

* Update geofence_entered.json

* Update geofence_entered.json

* Update geofence_entered.json

* Update geofence_result.json

* Update geofence_result.json

* Update keyvalue_deleted.json

Add syncToken for AppConfiguration.

* Update keyvalue_modified.json

Add syncToken for AppConfiguration.

* Delete chat_member_removed_from_thread_with_user.json

* Delete chat_member_added_to_thread_with_user.json

* Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json

Co-authored-by: JoshLove-msft <[email protected]>

* Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json

Co-authored-by: JoshLove-msft <[email protected]>

* Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json

Co-authored-by: JoshLove-msft <[email protected]>

* Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json

Co-authored-by: JoshLove-msft <[email protected]>

* Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json

Co-authored-by: JoshLove-msft <[email protected]>

* Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json

Co-authored-by: JoshLove-msft <[email protected]>

* Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json

Co-authored-by: JoshLove-msft <[email protected]>

* Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json

Co-authored-by: JoshLove-msft <[email protected]>

* Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json

Co-authored-by: JoshLove-msft <[email protected]>

* Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json

Co-authored-by: JoshLove-msft <[email protected]>

* Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json

Co-authored-by: JoshLove-msft <[email protected]>

* Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json

Co-authored-by: JoshLove-msft <[email protected]>

* Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json

Co-authored-by: JoshLove-msft <[email protected]>

* Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json

Co-authored-by: JoshLove-msft <[email protected]>

* Update specification/eventgrid/data-plane/Microsoft.ContainerService/stable/2018-01-01/examples/new_kubernetes_version_available.json

Co-authored-by: JoshLove-msft <[email protected]>

* Update placeholders

* Update app_service_plan_updated.json

* Update policy_state_changed.json

* Update new_kubernetes_version_available.json

Co-authored-by: JoshLove-msft <[email protected]>
  • Loading branch information
Tianyun-G and JoshLove-msft authored Nov 1, 2021
1 parent 9da36e8 commit 0c887b0
Show file tree
Hide file tree
Showing 71 changed files with 2,005 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"id": "84e17ea4-66db-4b54-8050-df8f7763f87b",
"topic": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/microsoft.appconfiguration/configurationstores/contoso",
"subject": "https://contoso.azconfig.io/kv/Foo?label=FizzBuzz",
"data": {
"key": "Foo",
"label": "FizzBuzz",
"etag": "FnUExLaj2moIi4tJX9AXn9sakm0",
"syncToken": "zAJw6V16=Njo1IzUxNjQ2NzM=;sn=5164673"
},
"eventType": "Microsoft.AppConfiguration.KeyValueDeleted",
"eventTime": "2019-05-31T20:05:03Z",
"dataVersion": "1",
"metadataVersion": "1"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"id": "84e17ea4-66db-4b54-8050-df8f7763f87b",
"topic": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/microsoft.appconfiguration/configurationstores/contoso",
"subject": "https://contoso.azconfig.io/kv/Foo?label=FizzBuzz",
"data": {
"key": "Foo",
"label": "FizzBuzz",
"etag": "FnUExLaj2moIi4tJX9AXn9sakm0",
"syncToken": "zAJw6V16=Njo1IzUxNjQ2NzM=;sn=5164673"
},
"eventType": "Microsoft.AppConfiguration.KeyValueModified",
"eventTime": "2019-05-31T20:05:03Z",
"dataVersion": "1",
"metadataVersion": "1"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"id":"9b87886d-21a5-4af5-8e3e-10c4b8dac73b",
"eventType":"Microsoft.Cache.ExportRDBCompleted",
"topic":"/subscriptions/{subscription_id}/resourceGroups/{resource_group_name}/providers/Microsoft.Cache/Redis/{cache_name}",
"data":{
"name":"ExportRDBCompleted",
"timestamp":"2020-12-09T21:50:19.9995668+00:00",
"status":"Succeeded"},
"subject":"ExportRDBCompleted",
"dataversion":"1.0",
"metadataVersion":"1",
"eventTime":"2020-12-09T21:50:19.9995668+00:00"}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"id":"9b87886d-21a5-4af5-8e3e-10c4b8dac73b",
"eventType":"Microsoft.Cache.ImportRDBCompleted",
"topic":"/subscriptions/{subscription_id}/resourceGroups/{resource_group_name}/providers/Microsoft.Cache/Redis/{cache_name}",
"data":{
"name":"ImportRDBCompleted",
"timestamp":"2020-12-09T21:50:19.9995668+00:00",
"status":"Succeeded"},
"subject":"ImportRDBCompleted",
"dataversion":"1.0",
"metadataVersion":"1",
"eventTime":"2020-12-09T21:50:19.9995668+00:00"}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"id":"9b87886d-21a5-4af5-8e3e-10c4b8dac73b",
"eventType":"Microsoft.Cache.PatchingCompleted",
"topic":"/subscriptions/{subscription_id}/resourceGroups/{resource_group_name}/providers/Microsoft.Cache/Redis/{cache_name}",
"data":{
"name":"PatchingCompleted",
"timestamp":"2020-12-09T21:50:19.9995668+00:00",
"status":"Succeeded"},
"subject":"PatchingCompleted",
"dataversion":"1.0",
"metadataVersion":"1",
"eventTime":"2020-12-09T21:50:19.9995668+00:00"}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"id":"9b87886d-21a5-4af5-8e3e-10c4b8dac73b",
"eventType":"Microsoft.Cache.ScalingCompleted",
"topic":"/subscriptions/{subscription_id}/resourceGroups/{resource_group_name}/providers/Microsoft.Cache/Redis/{cache_name}",
"data":{
"name":"ScalingCompleted",
"timestamp":"2020-12-09T21:50:19.9995668+00:00",
"status":"Succeeded"},
"subject":"ScalingCompleted",
"dataversion":"1.0",
"metadataVersion":"1",
"eventTime":"2020-12-09T21:50:19.9995668+00:00"}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"id": "23cfcc13-33f2-4ae1-8d23-b5015b05302b",
"topic": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}",
"subject": "thread/{thread-id}/sender/{rawId}/recipient/{rawId}",
"data": {
"deleteTime": "2021-02-19T00:43:10.14Z",
"messageId": "1613695388152",
"senderId": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-578d-7d07-83fe-084822000f6e",
"senderCommunicationIdentifier": {
"rawId": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-578d-7d07-83fe-084822000f6e",
"communicationUser": {
"id": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-578d-7d07-83fe-084822000f6e"
}
},
"senderDisplayName": "Bob(Admin)",
"composeTime": "2021-02-19T00:43:08.152Z",
"type": "Text",
"version": 1613695390361,
"recipientId": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-578d-7d60-83fe-084822000f6f",
"recipientCommunicationIdentifier": {
"rawId": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-578d-7d60-83fe-084822000f6f",
"communicationUser": {
"id": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-578d-7d60-83fe-084822000f6f"
}
},
"transactionId": "fFs4InlBn0O/0WyhfQZVSQ.1.1.2.1.1867776045.1.4",
"threadId": "19:[email protected]"
},
"eventType": "Microsoft.Communication.ChatMessageDeleted",
"dataVersion": "1.0",
"metadataVersion": "1",
"eventTime": "2021-02-19T00:43:10.9982947Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"id": "17d9c39d-0c58-4ed8-947d-c55959f57f75",
"topic": "/subscriptions/{subscription-id}/resourcegroups/{group-name}/providers/microsoft.communication/communicationservices/{communication-services-resource-name}",
"subject": "thread/{thread-id}/sender/{rawId}",
"data": {
"deleteTime": "2021-02-20T00:59:10.464+00:00",
"messageId": "1613782685440",
"type": "Text",
"version": "1613782814333",
"senderDisplayName": "Scott",
"senderCommunicationIdentifier": {
"rawId": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-5cbb-38a0-88f7-084822002453",
"communicationUser": {
"id": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-5cbb-38a0-88f7-084822002453"
}
},
"composeTime": "2021-02-20T00:58:05.44+00:00",
"threadId": "19:[email protected]",
"transactionId": "HqU6PeK5AkCRSpW8eAbL0A.1.1.2.1.987824181.1"
},
"eventType": "Microsoft.Communication.ChatMessageDeletedInThread",
"dataVersion": "1.0",
"metadataVersion": "1",
"eventTime": "2021-02-20T01:00:14.8518034Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"id": "93fc1037-b645-4eb0-a0f2-d7bb3ba6e060",
"topic": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}",
"subject": "thread/{thread-id}/sender/{rawId}/recipient/{rawId}",
"data": {
"editTime": "2021-02-19T00:28:20.784Z",
"messageBody": "Let's Chat about new communication services.",
"messageId": "1613694357917",
"metadata": {
"key": "value",
"description": "A map of data associated with the message"
},
"senderId": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-578d-7caf-07fd-084822001724",
"senderCommunicationIdentifier": {
"rawId": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-578d-7caf-07fd-084822001724",
"communicationUser": {
"id": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-578d-7caf-07fd-084822001724"
}
},
"senderDisplayName": "Bob(Admin)",
"composeTime": "2021-02-19T00:25:57.917Z",
"type": "Text",
"version": 1613694500784,
"recipientId": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-578d-7d60-83fe-084822000f6f",
"recipientCommunicationIdentifier": {
"rawId": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-578d-7d60-83fe-084822000f6f",
"communicationUser": {
"id": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-578d-7d60-83fe-084822000f6f"
}
},
"transactionId": "1mL4XZH2gEecu/alk9tOtw.2.1.2.1.1833042153.1.7",
"threadId": "19:[email protected]"
},
"eventType": "Microsoft.Communication.ChatMessageEdited",
"dataVersion": "1.0",
"metadataVersion": "1",
"eventTime": "2021-02-19T00:28:21.7456718Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"id": "7b8dc01e-2659-41fa-bc8c-88a967714510",
"topic": "/subscriptions/{subscription-id}/resourcegroups/{group-name}/providers/microsoft.communication/communicationservices/{communication-services-resource-name}",
"subject": "thread/{thread-id}/sender/{rawId}",
"data": {
"editTime": "2021-02-20T00:59:10.464+00:00",
"messageBody": "8effb181-1eb2-4a58-9d03-ed48a461b19b",
"messageId": "1613782685964",
"metadata": {
"key": "value",
"description": "A map of data associated with the message"
},
"type": "Text",
"version": "1613782750464",
"senderDisplayName": "Scott",
"senderCommunicationIdentifier": {
"rawId": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-5cbb-38a0-88f7-084822002453",
"communicationUser": {
"id": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-5cbb-38a0-88f7-084822002453"
}
},
"composeTime": "2021-02-20T00:58:05.964+00:00",
"threadId": "19:[email protected]",
"transactionId": "H8Gpj3NkIU6bXlWw8WPvhQ.2.1.2.1.985333801.1"
},
"eventType": "Microsoft.Communication.ChatMessageEditedInThread",
"dataVersion": "1.0",
"metadataVersion": "1",
"eventTime": "2021-02-20T00:59:10.7600061Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"id": "02272459-badb-4e2e-b538-4cb8a2f71da6",
"topic": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}",
"subject": "thread/{thread-id}/sender/{rawId}/recipient/{rawId}",
"data": {
"messageBody": "Welcome to Azure Communication Services",
"messageId": "1613694358927",
"metadata": {
"key": "value",
"description": "A map of data associated with the message"
},
"senderId": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-578d-7caf-07fd-084822001724",
"senderCommunicationIdentifier": {
"rawId": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-578d-7caf-07fd-084822001724",
"communicationUser": {
"id": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-578d-7caf-07fd-084822001724"
}
},
"senderDisplayName": "Jhon",
"composeTime": "2021-02-19T00:25:58.927Z",
"type": "Text",
"version": 1613694358927,
"recipientId": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-578d-7d05-83fe-084822000f6d",
"recipientCommunicationIdentifier": {
"rawId": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-578d-7d05-83fe-084822000f6d",
"communicationUser": {
"id": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-578d-7d05-83fe-084822000f6d"
}
},
"transactionId": "oh+LGB2dUUadMcTAdRWQxQ.1.1.1.1.1827536918.1.7",
"threadId": "19:[email protected]"
},
"eventType": "Microsoft.Communication.ChatMessageReceived",
"dataVersion": "1.0",
"metadataVersion": "1",
"eventTime": "2021-02-19T00:25:59.9436666Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"id": "4f614f97-c451-4b82-a8c9-1e30c3bfcda1",
"topic": "/subscriptions/{subscription-id}/resourcegroups/{group-name}/providers/microsoft.communication/communicationservices/{communication-services-resource-name}",
"subject": "thread/{thread-id}/sender/8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-5cdb-4916-07fd-084822002624",
"data": {
"messageBody": "Talk about new Thread Events in commuication services",
"messageId": "1613783230064",
"metadata": {
"key": "value",
"description": "A map of data associated with the message"
},
"type": "Text",
"version": "1613783230064",
"senderDisplayName": "Bob",
"senderCommunicationIdentifier": {
"rawId": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-5cdb-4916-07fd-084822002624",
"communicationUser": {
"id": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-5cdb-4916-07fd-084822002624"
}
},
"composeTime": "2021-02-20T01:07:10.064+00:00",
"threadId": "19:[email protected]",
"transactionId": "foMkntkKS0O/MhMlIE5Aag.1.1.1.1.1004077250.1"
},
"eventType": "Microsoft.Communication.ChatMessageReceivedInThread",
"dataVersion": "1.0",
"metadataVersion": "1",
"eventTime": "2021-02-20T01:07:10.5704596Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"id": "049a5a7f-6cd7-43c1-b352-df9e9e6146d1",
"topic": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}",
"subject": "thread/{thread-id}/participantAdded/{rawId}/recipient/{rawId}",
"data": {
"time": "2021-02-25T06:37:29.9232485Z",
"addedByCommunicationIdentifier": {
"rawId": "8:acs:0a420b29-555c-4f6b-841e-de8059893bb9_00000008-77c9-8767-1655-373a0d00885d",
"communicationUser": {
"id": "8:acs:0a420b29-555c-4f6b-841e-de8059893bb9_00000008-77c9-8767-1655-373a0d00885d"
}
},
"participantAdded": {
"displayName": "John Smith",
"participantCommunicationIdentifier": {
"rawId": "8:acs:0a420b29-555c-4f6b-841e-de8059893bb9_00000008-77c9-8785-1655-373a0d00885f",
"communicationUser": {
"id": "8:acs:0a420b29-555c-4f6b-841e-de8059893bb9_00000008-77c9-8785-1655-373a0d00885f"
}
}
},
"recipientCommunicationIdentifier": {
"rawId": "8:acs:0a420b29-555c-4f6b-841e-de8059893bb9_00000008-77c9-8781-1655-373a0d00885e",
"communicationUser": {
"id": "8:acs:0a420b29-555c-4f6b-841e-de8059893bb9_00000008-77c9-8781-1655-373a0d00885e"
}
},
"createTime": "2021-02-25T06:37:17.371Z",
"version": 1614235049907,
"transactionId": "q7rr9by6m0CiGiQxKdSO1w.1.1.1.1.1473446055.1.6",
"threadId": "19:[email protected]"
},
"eventType": "Microsoft.Communication.ChatParticipantAddedToThreadWithUser",
"dataVersion": "1.0",
"metadataVersion": "1",
"eventTime": "2021-02-25T06:37:31.4880091Z"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"id": "e8a4df24-799d-4c53-94fd-1e05703a4549",
"topic": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}",
"subject": "thread/{thread-id}/participantRemoved/{rawId}/recipient/{rawId}",
"data": {
"time": "2021-02-25T06:40:20.3564556Z",
"removedByCommunicationIdentifier": {
"rawId": "8:acs:0a420b29-555c-4f6b-841e-de8059893bb9_00000008-77c9-8767-1655-373a0d00885d",
"communicationUser": {
"id": "8:acs:0a420b29-555c-4f6b-841e-de8059893bb9_00000008-77c9-8767-1655-373a0d00885d"
}
},
"participantRemoved": {
"displayName": "Bob",
"participantCommunicationIdentifier": {
"rawId": "8:acs:0a420b29-555c-4f6b-841e-de8059893bb9_00000008-77c9-8785-1655-373a0d00885f",
"communicationUser": {
"id": "8:acs:0a420b29-555c-4f6b-841e-de8059893bb9_00000008-77c9-8785-1655-373a0d00885f"
}
}
},
"recipientCommunicationIdentifier": {
"rawId": "8:acs:0a420b29-555c-4f6b-841e-de8059893bb9_00000008-77c9-8781-1655-373a0d00885e",
"communicationUser": {
"id": "8:acs:0a420b29-555c-4f6b-841e-de8059893bb9_00000008-77c9-8781-1655-373a0d00885e"
}
},
"createTime": "2021-02-25T06:37:17.371Z",
"version": 1614235220325,
"transactionId": "usv74GQ5zU+JmWv/bQ+qfg.1.1.1.1.1480065078.1.5",
"threadId": "19:[email protected]"
},
"eventType": "Microsoft.Communication.ChatParticipantRemovedFromThreadWithUser",
"dataVersion": "1.0",
"metadataVersion": "1",
"eventTime": "2021-02-25T06:40:24.2244945Z"
}
Loading

0 comments on commit 0c887b0

Please sign in to comment.