From f968f7f0b8b7672fdb11d16e8063a868847a8d5f Mon Sep 17 00:00:00 2001 From: Tianyun Gao Date: Thu, 14 Oct 2021 17:02:48 +0800 Subject: [PATCH 01/32] Add examples --- .../2018-01-01/examples/keyvalue_deleted.json | 14 +++++ .../examples/keyvalue_modified.json | 14 +++++ .../examples/export_rdb_completed.json | 12 ++++ .../examples/import_rdb_completed.json | 12 ++++ .../examples/patching_completed.json | 12 ++++ .../examples/scaling_completed.json | 12 ++++ ...chat_member_added_to_thread_with_user.json | 22 +++++++ ..._member_removed_from_thread_with_user.json | 22 +++++++ .../examples/chat_message_deleted.json | 33 ++++++++++ .../chat_message_deleted_in_thread.json | 25 ++++++++ .../examples/chat_message_edited.json | 38 ++++++++++++ .../chat_message_edited_in_thread.json | 30 +++++++++ .../examples/chat_message_received.json | 37 +++++++++++ .../chat_message_received_in_thread.json | 29 +++++++++ ...participant_added_to_thread_with_user.json | 37 +++++++++++ ...icipant_removed_from_thread_with_user.json | 37 +++++++++++ .../examples/chat_thread_created.json | 62 +++++++++++++++++++ .../chat_thread_created_withUser.json | 62 +++++++++++++++++++ .../examples/chat_thread_deleted.json | 22 +++++++ .../chat_thread_participant_added.json | 31 ++++++++++ .../chat_thread_participant_removed.json | 31 ++++++++++ .../chat_thread_properties_updated.json | 25 ++++++++ ...at_thread_properties_updated_per_user.json | 33 ++++++++++ .../chat_thread_with_user_deleted.json | 30 +++++++++ .../recording_file_status_updated.json | 25 ++++++++ .../sms_delivery_report_received.json | 24 +++++++ .../stable/2018-01-01/examples/sms_received | 16 +++++ .../2018-01-01/examples/chart_deleted.json | 23 +++++++ .../2018-01-01/examples/chart_pushed.json | 23 +++++++ .../new_kubernetes_version_available.json | 15 +++++ .../2018-01-01/examples/device_connected.json | 18 ++++++ .../2018-01-01/examples/device_created.json | 43 +++++++++++++ .../2018-01-01/examples/device_telemetry.json | 29 +++++++++ .../examples/capture_file_created.json | 20 ++++++ .../certificate_new_version_created.json | 18 ++++++ .../examples/dataset_drift_detected.json | 19 ++++++ .../2018-01-01/examples/model_deployed.json | 21 +++++++ .../2018-01-01/examples/model_registered.json | 20 ++++++ .../2018-01-01/examples/run_completed.json | 31 ++++++++++ .../examples/run_status_changed.json | 32 ++++++++++ .../2018-01-01/examples/geofence_entered.json | 25 ++++++++ .../2018-01-01/examples/geofence_result.json | 33 ++++++++++ .../examples/policy_state_changed.json | 18 ++++++ .../examples/policy_state_created.json | 18 ++++++ .../examples/resource_action_cancel.json | 51 +++++++++++++++ .../examples/resource_action_failure.json | 51 +++++++++++++++ .../examples/resource_action_success.json | 51 +++++++++++++++ .../examples/resource_delete_cancel.json | 61 ++++++++++++++++++ .../examples/resource_delete_failure.json | 61 ++++++++++++++++++ .../examples/resource_delete_success.json | 61 ++++++++++++++++++ .../examples/resource_write_cancel.json | 55 ++++++++++++++++ .../examples/resource_write_failure.json | 55 ++++++++++++++++ .../examples/resource_write_success.json | 55 ++++++++++++++++ ...ages_available_periodic_notifications.json | 17 +++++ ...sages_available_periodic_notification.json | 17 +++++ ..._messages_available_with_no_listeners.json | 17 +++++ .../examples/client_connection_connected.json | 15 +++++ .../client_connection_disconnected.json | 16 +++++ .../examples/app_service_plan_updated.json | 29 +++++++++ .../app_updated_changed_app_settings.json | 20 ++++++ .../examples/app_updated_restarted.json | 20 ++++++ .../examples/app_updated_stopped.json | 20 ++++++ .../examples/backup_operation_completed.json | 20 ++++++ .../examples/backup_operation_failed.json | 20 ++++++ .../examples/backup_operation_started.json | 20 ++++++ .../examples/restore_operation_completed.json | 21 +++++++ .../examples/restore_operation_failed.json | 20 ++++++ .../examples/restore_operation_started.json | 20 ++++++ .../examples/slot_swap_completed.json | 20 ++++++ .../2018-01-01/examples/slot_swap_failed.json | 20 ++++++ .../examples/slot_swap_started.json | 20 ++++++ .../slot_swap_with_preview_cancelled.json | 20 ++++++ .../slot_swap_with_preview_started.json | 20 ++++++ 73 files changed, 2046 insertions(+) create mode 100644 specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/examples/keyvalue_deleted.json create mode 100644 specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/examples/keyvalue_modified.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/export_rdb_completed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/import_rdb_completed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/patching_completed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/scaling_completed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_member_added_to_thread_with_user.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_member_removed_from_thread_with_user.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_message_deleted.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_message_deleted_in_thread.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_message_edited.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_message_edited_in_thread.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_message_received.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_message_received_in_thread.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_participant_added_to_thread_with_user.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_participant_removed_from_thread_with_user.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_created.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_created_withUser.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_deleted.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_participant_added.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_participant_removed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_properties_updated.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_properties_updated_per_user.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_with_user_deleted.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/recording_file_status_updated.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/sms_delivery_report_received.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/sms_received create mode 100644 specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/chart_deleted.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/chart_pushed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ContainerService/stable/2018-01-01/examples/new_kubernetes_version_available.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/device_connected.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/device_created.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/device_telemetry.json create mode 100644 specification/eventgrid/data-plane/Microsoft.EventHub/stable/2018-01-01/examples/capture_file_created.json create mode 100644 specification/eventgrid/data-plane/Microsoft.KeyVault/stable/2018-01-01/examples/certificate_new_version_created.json create mode 100644 specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/dataset_drift_detected.json create mode 100644 specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/model_deployed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/model_registered.json create mode 100644 specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/run_completed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/run_status_changed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_entered.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_result.json create mode 100644 specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/policy_state_changed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/policy_state_created.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_action_cancel.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_action_failure.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_action_success.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_delete_cancel.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_delete_failure.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_delete_success.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_write_cancel.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_write_failure.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_write_success.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_with_no_listeners.json create mode 100644 specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/examples/client_connection_connected.json create mode 100644 specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/examples/client_connection_disconnected.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_service_plan_updated.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_updated_changed_app_settings.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_updated_restarted.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_updated_stopped.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/backup_operation_completed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/backup_operation_failed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/backup_operation_started.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/restore_operation_completed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/restore_operation_failed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/restore_operation_started.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_completed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_failed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_started.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_with_preview_cancelled.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_with_preview_started.json diff --git a/specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/examples/keyvalue_deleted.json b/specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/examples/keyvalue_deleted.json new file mode 100644 index 000000000000..be6076452f4c --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/examples/keyvalue_deleted.json @@ -0,0 +1,14 @@ +{ + "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" + }, + "eventType": "Microsoft.AppConfiguration.KeyValueDeleted", + "eventTime": "2019-05-31T20:05:03Z", + "dataVersion": "1", + "metadataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/examples/keyvalue_modified.json b/specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/examples/keyvalue_modified.json new file mode 100644 index 000000000000..37d64e46576c --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/examples/keyvalue_modified.json @@ -0,0 +1,14 @@ +{ + "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" + }, + "eventType": "Microsoft.AppConfiguration.KeyValueModified", + "eventTime": "2019-05-31T20:05:03Z", + "dataVersion": "1", + "metadataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/export_rdb_completed.json b/specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/export_rdb_completed.json new file mode 100644 index 000000000000..71e8f199a6c4 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/export_rdb_completed.json @@ -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"} diff --git a/specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/import_rdb_completed.json b/specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/import_rdb_completed.json new file mode 100644 index 000000000000..52914f06eff0 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/import_rdb_completed.json @@ -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"} diff --git a/specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/patching_completed.json b/specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/patching_completed.json new file mode 100644 index 000000000000..f05a0de4d736 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/patching_completed.json @@ -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"} diff --git a/specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/scaling_completed.json b/specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/scaling_completed.json new file mode 100644 index 000000000000..4a81a48269ed --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/scaling_completed.json @@ -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"} diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_member_added_to_thread_with_user.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_member_added_to_thread_with_user.json new file mode 100644 index 000000000000..17036bcc3d21 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_member_added_to_thread_with_user.json @@ -0,0 +1,22 @@ +{ + "id": "4abd2b49-d1a9-4fcc-9cd7-170fa5d96443", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "thread/{thread-id}/memberAdded/{rawId}/recipient/{rawId}", + "data": { + "time": "2020-09-18T00:47:13.1867087Z", + "addedBy": "8:acs:5354158b-17b7-489c-9380-95d8821ff76b_00000005-3e5f-1bc6-f40f-343a0d0003f1", + "memberAdded": { + "displayName": "John Smith", + "memberId": "8:acs:5354158b-17b7-489c-9380-95d8821ff76b_00000005-3e5f-1bc6-f40f-343a0d0003fe" + }, + "createTime": "2020-09-18T00:46:41.559Z", + "version": 1600390033176, + "recipientId": "8:acs:5354158b-17b7-489c-9380-95d8821ff76b_00000005-3e5f-1bc6-f40f-343a0d0003f0", + "transactionId": "pVIjw/pHEEKUOUJ2DAAl5A.1.1.1.1.1818361951.1.1", + "threadId": "19:6d20c2f921cd402ead7d1b31b0d030cd@thread.v2" + }, + "eventType": "Microsoft.Communication.ChatMemberAddedToThreadWithUser", + "dataVersion": "1.0", + "metadataVersion": "1", + "eventTime": "2020-09-18T00:47:13.2342692Z" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_member_removed_from_thread_with_user.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_member_removed_from_thread_with_user.json new file mode 100644 index 000000000000..0276b0c1f76f --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_member_removed_from_thread_with_user.json @@ -0,0 +1,22 @@ +{ + "id": "b3701976-1ea2-4d66-be68-4ec4fc1b4b96", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "thread/{thread-id}/memberRemoved/{rawId}/recipient/{rawId}", + "data": { + "time": "2020-09-18T00:47:51.1461742Z", + "removedBy": "8:acs:5354158b-17b7-489c-9380-95d8821ff76b_00000005-3e5f-1bc6-f40f-343a0d0003f1", + "memberRemoved": { + "displayName": "John", + "memberId": "8:acs:5354158b-17b7-489c-9380-95d8821ff76b_00000005-3e5f-1bc6-f40f-343a0d0003fe" + }, + "createTime": "2020-09-18T00:46:41.559Z", + "version": 1600390071131, + "recipientId": "8:acs:5354158b-17b7-489c-9380-95d8821ff76b_00000005-3e5f-1bc6-f40f-343a0d0003f0", + "transactionId": "G9Y+UbjVmEuxAG3O4bEyvw.1.1.1.1.1819803816.1.1", + "threadId": "19:6d20c2f921cd402ead7d1b31b0d030cd@thread.v2" + }, + "eventType": "Microsoft.Communication.ChatMemberRemovedFromThreadWithUser", + "dataVersion": "1.0", + "metadataVersion": "1", + "eventTime": "2020-09-18T00:47:51.2244511Z" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_message_deleted.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_message_deleted.json new file mode 100644 index 000000000000..716fa2f70ed3 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_message_deleted.json @@ -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:48899258eec941e7a281e03edc8f4964@thread.v2" + }, + "eventType": "Microsoft.Communication.ChatMessageDeleted", + "dataVersion": "1.0", + "metadataVersion": "1", + "eventTime": "2021-02-19T00:43:10.9982947Z" + } \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_message_deleted_in_thread.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_message_deleted_in_thread.json new file mode 100644 index 000000000000..c131d22fe391 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_message_deleted_in_thread.json @@ -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:e07c8ddc5bab4c059ea9f11d29b544b6@thread.v2", + "transactionId": "HqU6PeK5AkCRSpW8eAbL0A.1.1.2.1.987824181.1" + }, + "eventType": "Microsoft.Communication.ChatMessageDeletedInThread", + "dataVersion": "1.0", + "metadataVersion": "1", + "eventTime": "2021-02-20T01:00:14.8518034Z" + } \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_message_edited.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_message_edited.json new file mode 100644 index 000000000000..a3a242aedc12 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_message_edited.json @@ -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:6e5d6ca1d75044a49a36a7965ec4a906@thread.v2" + }, + "eventType": "Microsoft.Communication.ChatMessageEdited", + "dataVersion": "1.0", + "metadataVersion": "1", + "eventTime": "2021-02-19T00:28:21.7456718Z" + } \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_message_edited_in_thread.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_message_edited_in_thread.json new file mode 100644 index 000000000000..e66186ab89aa --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_message_edited_in_thread.json @@ -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:e07c8ddc5bab4c059ea9f11d29b544b6@thread.v2", + "transactionId": "H8Gpj3NkIU6bXlWw8WPvhQ.2.1.2.1.985333801.1" + }, + "eventType": "Microsoft.Communication.ChatMessageEditedInThread", + "dataVersion": "1.0", + "metadataVersion": "1", + "eventTime": "2021-02-20T00:59:10.7600061Z" + } \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_message_received.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_message_received.json new file mode 100644 index 000000000000..25d4ca1f09c5 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_message_received.json @@ -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:6e5d6ca1d75044a49a36a7965ec4a906@thread.v2" + }, + "eventType": "Microsoft.Communication.ChatMessageReceived", + "dataVersion": "1.0", + "metadataVersion": "1", + "eventTime": "2021-02-19T00:25:59.9436666Z" + } \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_message_received_in_thread.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_message_received_in_thread.json new file mode 100644 index 000000000000..f272449e0436 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_message_received_in_thread.json @@ -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:5b3809e80e4a439d92c3316e273f4a2b@thread.v2", + "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" + } \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_participant_added_to_thread_with_user.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_participant_added_to_thread_with_user.json new file mode 100644 index 000000000000..ca11b6cbd45f --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_participant_added_to_thread_with_user.json @@ -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:f1400e1c542f4086a606b52ad20cd0bd@thread.v2" + }, + "eventType": "Microsoft.Communication.ChatParticipantAddedToThreadWithUser", + "dataVersion": "1.0", + "metadataVersion": "1", + "eventTime": "2021-02-25T06:37:31.4880091Z" + } \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_participant_removed_from_thread_with_user.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_participant_removed_from_thread_with_user.json new file mode 100644 index 000000000000..1184b9d40928 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_participant_removed_from_thread_with_user.json @@ -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:f1400e1c542f4086a606b52ad20cd0bd@thread.v2" + }, + "eventType": "Microsoft.Communication.ChatParticipantRemovedFromThreadWithUser", + "dataVersion": "1.0", + "metadataVersion": "1", + "eventTime": "2021-02-25T06:40:24.2244945Z" + } \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_created.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_created.json new file mode 100644 index 000000000000..d52efdd0b90a --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_created.json @@ -0,0 +1,62 @@ +{ + "id": "a607ac52-0974-4d3c-bfd8-6f708a26f509", + "topic": "/subscriptions/{subscription-id}/resourcegroups/{group-name}/providers/microsoft.communication/communicationservices/{communication-services-resource-name}", + "subject": "thread/{thread-id}/createdBy/{rawId}", + "data": { + "createdByCommunicationIdentifier": { + "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" + } + }, + "properties": { + "topic": "Talk about new Thread Events in commuication services" + }, + "participants": [ + { + "displayName": "Bob", + "participantCommunicationIdentifier": { + "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" + } + } + }, + { + "displayName": "Scott", + "participantCommunicationIdentifier": { + "rawId": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-5cbb-38e6-07fd-084822002467", + "communicationUser": { + "id": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-5cbb-38e6-07fd-084822002467" + } + } + }, + { + "displayName": "Shawn", + "participantCommunicationIdentifier": { + "rawId": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-5cbb-38f6-83fe-084822002337", + "communicationUser": { + "id": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-5cbb-38f6-83fe-084822002337" + } + } + }, + { + "displayName": "Anthony", + "participantCommunicationIdentifier": { + "rawId": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-5cbb-38e3-e1fe-084822002c35", + "communicationUser": { + "id": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-5cbb-38e3-e1fe-084822002c35" + } + } + } + ], + "createTime": "2021-02-20T00:31:54.365+00:00", + "version": 1613781114365, + "threadId": "19:e07c8ddc5bab4c059ea9f11d29b544b6@thread.v2", + "transactionId": "gK6+kgANy0O1wchlVKVTJg.1.1.1.1.921436178.1" + }, + "eventType": "Microsoft.Communication.ChatThreadCreated", + "dataVersion": "1.0", + "metadataVersion": "1", + "eventTime": "2021-02-20T00:31:54.5369967Z" + } \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_created_withUser.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_created_withUser.json new file mode 100644 index 000000000000..a98102d9702a --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_created_withUser.json @@ -0,0 +1,62 @@ +{ + "id": "eba02b2d-37bf-420e-8656-3a42ef74c435", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "thread/{thread-id}/createdBy/rawId/recipient/rawId", + "data": { + "createdBy": "8:acs:3d703c91-9657-4b3f-b19c-ef9d53f99710_00000008-576c-286d-e1fe-0848220013b9", + "createdByCommunicationIdentifier": { + "rawId": "8:acs:3d703c91-9657-4b3f-b19c-ef9d53f99710_00000008-576c-286d-e1fe-0848220013b9", + "communicationUser": { + "id": "8:acs:3d703c91-9657-4b3f-b19c-ef9d53f99710_00000008-576c-286d-e1fe-0848220013b9" + } + }, + "properties": { + "topic": "Chat about new commuication services" + }, + "members": [ + { + "displayName": "Bob", + "memberId": "8:acs:3d703c91-9657-4b3f-b19c-ef9d53f99710_00000008-576c-286d-e1fe-0848220013b9" + }, + { + "displayName": "John", + "memberId": "8:acs:3d703c91-9657-4b3f-b19c-ef9d53f99710_00000008-576c-289b-07fd-0848220015ea" + } + ], + "participants": [ + { + "displayName": "Bob", + "participantCommunicationIdentifier": { + "rawId": "8:acs:3d703c91-9657-4b3f-b19c-ef9d53f99710_00000008-576c-286d-e1fe-0848220013b9", + "communicationUser": { + "id": "8:acs:3d703c91-9657-4b3f-b19c-ef9d53f99710_00000008-576c-286d-e1fe-0848220013b9" + } + } + }, + { + "displayName": "John", + "participantCommunicationIdentifier": { + "rawId": "8:acs:3d703c91-9657-4b3f-b19c-ef9d53f99710_00000008-576c-289b-07fd-0848220015ea", + "communicationUser": { + "id": "8:acs:3d703c91-9657-4b3f-b19c-ef9d53f99710_00000008-576c-289b-07fd-0848220015ea" + } + } + } + ], + "createTime": "2021-02-18T23:47:26.91Z", + "version": 1613692046910, + "recipientId": "8:acs:3d703c91-9657-4b3f-b19c-ef9d53f99710_00000008-576c-286e-84f5-08482200181c", + "recipientCommunicationIdentifier": { + "rawId": "8:acs:3d703c91-9657-4b3f-b19c-ef9d53f99710_00000008-576c-286e-84f5-08482200181c", + "communicationUser": { + "id": "8:acs:3d703c91-9657-4b3f-b19c-ef9d53f99710_00000008-576c-286e-84f5-08482200181c" + } + }, + "transactionId": "zbZt+9h/N0em+XCW2QvyIA.1.1.1.1.1737228330.0.1737490483.1.6", + "threadId": "19:1d594fb1eeb14566903cbc5decb5bf5b@thread.v2" + }, + "eventType": "Microsoft.Communication.ChatThreadCreatedWithUser", + "dataVersion": "1.0", + "metadataVersion": "1", + "eventTime": "2021-02-18T23:47:34.7437103Z" + } \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_deleted.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_deleted.json new file mode 100644 index 000000000000..ab4faf4c8ebe --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_deleted.json @@ -0,0 +1,22 @@ +{ + "id": "1dbd5237-4823-4fed-980c-8d27c17cf5b0", + "topic": "/subscriptions/{subscription-id}/resourcegroups/{group-name}/providers/microsoft.communication/communicationservices/{communication-services-resource-name}", + "subject": "thread/{thread-id}/deletedBy/{rawId}", + "data": { + "deletedByCommunicationIdentifier": { + "rawId": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-5c9e-a300-07fd-084822002266", + "communicationUser": { + "id": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-5c9e-a300-07fd-084822002266" + } + }, + "deleteTime": "2021-02-20T00:00:42.109802+00:00", + "createTime": "2021-02-20T00:00:39.947+00:00", + "version": 1613779241389, + "threadId": "19:c9e9f3060b884e448671391882066ac3@thread.v2", + "transactionId": "KibptDpcLEeEFnlR7cI3QA.1.1.2.1.848298005.1" + }, + "eventType": "Microsoft.Communication.ChatThreadDeleted", + "dataVersion": "1.0", + "metadataVersion": "1", + "eventTime": "2021-02-20T00:00:42.5428002Z" + } \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_participant_added.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_participant_added.json new file mode 100644 index 000000000000..84ad515279d8 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_participant_added.json @@ -0,0 +1,31 @@ +{ + "id": "3024eb5d-1d71-49d1-878c-7dc3165433d9", + "topic": "/subscriptions/{subscription-id}/resourcegroups/{group-name}/providers/microsoft.communication/communicationservices/{communication-services-resource-name}", + "subject": "thread/{thread-id}/participantadded/{rawId}", + "data": { + "time": "2021-02-20T00:54:42.8622646+00:00", + "addedByCommunicationIdentifier": { + "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" + } + }, + "participantAdded": { + "displayName": "Bob", + "participantCommunicationIdentifier": { + "rawId": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-5cbb-38f3-88f7-084822002454", + "communicationUser": { + "id": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-5cbb-38f3-88f7-084822002454" + } + } + }, + "createTime": "2021-02-20T00:31:54.365+00:00", + "version": 1613782482822, + "threadId": "19:e07c8ddc5bab4c059ea9f11d29b544b6@thread.v2", + "transactionId": "9q6cO7i4FkaZ+5RRVzshVw.1.1.1.1.974913783.1" + }, + "eventType": "Microsoft.Communication.ChatThreadParticipantAdded", + "dataVersion": "1.0", + "metadataVersion": "1", + "eventTime": "2021-02-20T00:54:43.9866454Z" + } \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_participant_removed.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_participant_removed.json new file mode 100644 index 000000000000..0036c16ad74f --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_participant_removed.json @@ -0,0 +1,31 @@ +{ + "id": "6ed810fd-8776-4b13-81c2-1a0c4f791a07", + "topic": "/subscriptions/{subscription-id}/resourcegroups/{group-name}/providers/microsoft.communication/communicationservices/{communication-services-resource-name}", + "subject": "thread/{thread-id}/participantremoved/{rawId}", + "data": { + "time": "2021-02-20T00:56:18.1118825+00:00", + "removedByCommunicationIdentifier": { + "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" + } + }, + "participantRemoved": { + "displayName": "Shawn", + "participantCommunicationIdentifier": { + "rawId": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-5cbb-38e6-07fd-084822002467", + "communicationUser": { + "id": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-5cbb-38e6-07fd-084822002467" + } + } + }, + "createTime": "2021-02-20T00:31:54.365+00:00", + "version": 1613782578096, + "threadId": "19:e07c8ddc5bab4c059ea9f11d29b544b6@thread.v2", + "transactionId": "zGCq8IGRr0aEF6COuy7wSA.1.1.1.1.978649284.1" + }, + "eventType": "Microsoft.Communication.ChatThreadParticipantRemoved", + "dataVersion": "1.0", + "metadataVersion": "1", + "eventTime": "2021-02-20T00:56:18.856721Z" + } \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_properties_updated.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_properties_updated.json new file mode 100644 index 000000000000..a3b0ea8c220b --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_properties_updated.json @@ -0,0 +1,25 @@ +{ + "id": "cf867580-9caf-45be-b49f-ab1cbfcaa59f", + "topic": "/subscriptions/{subscription-id}/resourcegroups/{group-name}/providers/microsoft.communication/communicationservices/{communication-services-resource-name}", + "subject": "thread/{thread-id}/editedBy/{rawId}", + "data": { + "editedByCommunicationIdentifier": { + "rawId": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-5c9e-9e35-07fd-084822002264", + "communicationUser": { + "id": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-5c9e-9e35-07fd-084822002264" + } + }, + "editTime": "2021-02-20T00:04:07.7152073+00:00", + "properties": { + "topic": "Talk about new Thread Events in commuication services" + }, + "createTime": "2021-02-20T00:00:40.126+00:00", + "version": 1613779447695, + "threadId": "19:9e8eefe67b3c470a8187b4c2b00240bc@thread.v2", + "transactionId": "GBE9MB2a40KEWzexIg0D3A.1.1.1.1.856359041.1" + }, + "eventType": "Microsoft.Communication.ChatThreadPropertiesUpdated", + "dataVersion": "1.0", + "metadataVersion": "1", + "eventTime": "2021-02-20T00:04:07.8410277Z" + } \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_properties_updated_per_user.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_properties_updated_per_user.json new file mode 100644 index 000000000000..036e97e6f3a7 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_properties_updated_per_user.json @@ -0,0 +1,33 @@ +{ + "id": "d57342ff-264e-4a5e-9c54-ef05b7d50082", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "thread/{thread-id}/editedBy/{rawId}/recipient/{rawId}", + "data": { + "editedBy": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-578d-7d07-83fe-084822000f6e", + "editedByCommunicationIdentifier": { + "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" + } + }, + "editTime": "2021-02-19T00:28:28.7390282Z", + "properties": { + "topic": "Communication in Azure" + }, + "createTime": "2021-02-19T00:28:25.864Z", + "version": 1613694508719, + "recipientId": "8:acs:109f0644-b956-4cd9-87b1-71024f6e2f44_00000008-578d-7caf-07fd-084822001724", + "recipientCommunicationIdentifier": { + "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" + } + }, + "transactionId": "WLXPrnJ/I0+LTj2cwMrNMQ.1.1.1.1.1833369763.1.4", + "threadId": "19:2cc3504c41244d7483208a4f58a1f188@thread.v2" + }, + "eventType": "Microsoft.Communication.ChatThreadPropertiesUpdatedPerUser", + "dataVersion": "1.0", + "metadataVersion": "1", + "eventTime": "2021-02-19T00:28:29.559726Z" + } \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_with_user_deleted.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_with_user_deleted.json new file mode 100644 index 000000000000..00d33b3120b1 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_with_user_deleted.json @@ -0,0 +1,30 @@ +{ + "id": "f5d6750c-c6d7-4da8-bb05-6f3fca6c7295", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "thread/{thread-id}/deletedBy/{rawId}/recipient/{rawId}", + "data": { + "deletedBy": "8:acs:3d703c91-9657-4b3f-b19c-ef9d53f99710_00000008-5772-6473-83fe-084822000e21", + "deletedByCommunicationIdentifier": { + "rawId": "8:acs:3d703c91-9657-4b3f-b19c-ef9d53f99710_00000008-5772-6473-83fe-084822000e21", + "communicationUser": { + "id": "8:acs:3d703c91-9657-4b3f-b19c-ef9d53f99710_00000008-5772-6473-83fe-084822000e21" + } + }, + "deleteTime": "2021-02-18T23:57:51.5987591Z", + "createTime": "2021-02-18T23:54:15.683Z", + "version": 1613692578672, + "recipientId": "8:acs:3d703c91-9657-4b3f-b19c-ef9d53f99710_00000008-5772-647b-e1fe-084822001416", + "recipientCommunicationIdentifier": { + "rawId": "8:acs:3d703c91-9657-4b3f-b19c-ef9d53f99710_00000008-5772-647b-e1fe-084822001416", + "communicationUser": { + "id": "8:acs:3d703c91-9657-4b3f-b19c-ef9d53f99710_00000008-5772-647b-e1fe-084822001416" + } + }, + "transactionId": "mrliWVUndEmLwkZbeS5KoA.1.1.2.1.1761607918.1.6", + "threadId": "19:5870b8f021d74fd786bf5aeb095da291@thread.v2" + }, + "eventType": "Microsoft.Communication.ChatThreadWithUserDeleted", + "dataVersion": "1.0", + "metadataVersion": "1", + "eventTime": "2021-02-18T23:57:52.1597234Z" + } \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/recording_file_status_updated.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/recording_file_status_updated.json new file mode 100644 index 000000000000..dc114045a625 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/recording_file_status_updated.json @@ -0,0 +1,25 @@ +{ + "id": "7283825e-f8f1-4c61-a9ea-752c56890500", + "topic": "/subscriptions/{subscription-id}/resourcegroups/}{group-name}/providers/microsoft.communication/communicationservices/{communication-services-resource-name}", + "subject": "/recording/call/{call-id}/recordingId/{recording-id}", + "data": { + "recordingStorageInfo": { + "recordingChunks": [ + { + "documentId": "0-eus-d12-801b3f3fc462fe8a01e6810cbff729b8", + "index": 0, + "endReason": "SessionEnded", + "contentLocation": "https://storage.asm.skype.com/v1/objects/0-eus-d12-801b3f3fc462fe8a01e6810cbff729b8/content/video", + "metadataLocation": "https://storage.asm.skype.com/v1/objects/0-eus-d12-801b3f3fc462fe8a01e6810cbff729b8/content/acsmetadata" + } + ] + }, + "recordingStartTime": "2021-07-27T15:20:23.6089755Z", + "recordingDurationMs": 6620, + "sessionEndReason": "CallEnded" + }, + "eventType": "Microsoft.Communication.RecordingFileStatusUpdated", + "dataVersion": "1.0", + "metadataVersion": "1", + "eventTime": "2021-07-27T15:20:34.2199328Z" + } \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/sms_delivery_report_received.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/sms_delivery_report_received.json new file mode 100644 index 000000000000..7dc5912be070 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/sms_delivery_report_received.json @@ -0,0 +1,24 @@ +{ + "id": "Outgoing_202009180022138813a09b-0cbf-4304-9b03-1546683bb910", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/microsoft.communication/communicationservices/{communication-services-resource-name}", + "subject": "/phonenumber/15555555555", + "data": { + "MessageId": "Outgoing_202009180022138813a09b-0cbf-4304-9b03-1546683bb910", + "From": "15555555555", + "To": "+15555555555", + "DeliveryStatus": "Delivered", + "DeliveryStatusDetails": "No error.", + "ReceivedTimestamp": "2020-09-18T00:22:20.2855749Z", + "DeliveryAttempts": [ + { + "Timestamp": "2020-09-18T00:22:14.9315918Z", + "SegmentsSucceeded": 1, + "SegmentsFailed": 0 + } + ] + }, + "eventType": "Microsoft.Communication.SMSDeliveryReportReceived", + "dataVersion": "1.0", + "metadataVersion": "1", + "eventTime": "2020-09-18T00:22:20Z" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/sms_received b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/sms_received new file mode 100644 index 000000000000..f75e062e2f43 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/sms_received @@ -0,0 +1,16 @@ +{ + "id": "Incoming_20200918002745d29ebbea-3341-4466-9690-0a03af35228e", + "topic": "/subscriptions/50ad1522-5c2c-4d9a-a6c8-67c11ecb75b8/resourcegroups/acse2e/providers/microsoft.communication/communicationservices/{communication-services-resource-name}", + "subject": "/phonenumber/15555555555", + "data": { + "MessageId": "Incoming_20200918002745d29ebbea-3341-4466-9690-0a03af35228e", + "From": "15555555555", + "To": "15555555555", + "Message": "Great to connect with ACS events", + "ReceivedTimestamp": "2020-09-18T00:27:45.32Z" + }, + "eventType": "Microsoft.Communication.SMSReceived", + "dataVersion": "1.0", + "metadataVersion": "1", + "eventTime": "2020-09-18T00:27:47Z" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/chart_deleted.json b/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/chart_deleted.json new file mode 100644 index 000000000000..a0e4361824c0 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/chart_deleted.json @@ -0,0 +1,23 @@ +{ + "id": "39136b3a-1a7e-416f-a09e-5c85d5402fca", + "topic": "/subscriptions//resourceGroups//providers/Microsoft.ContainerRegistry/registries/", + "subject": "mychart:1.0.0", + "eventType": "Microsoft.ContainerRegistry.ChartDeleted", + "eventTime": "019-03-12T22:42:08.7034064Z", + "data": { + "id":"ea3a9c28-5b17-40f6-a500-3f02b682927", + "timestamp":"2019-03-12T22:42:08.3783775+00:00", + "action":"chart_delete", + "target":{ + "mediaType":"application/vnd.acr.helm.chart", + "size":25265, + "digest":"sha256:7f060075264b5ba7c14c23672698152ae6a3ebac1c47916e4efe19cd624d5fab", + "repository":"repo", + "tag":"mychart-1.0.0.tgz", + "name":"mychart", + "version":"1.0.0" + } + }, + "dataVersion": "1.0", + "metadataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/chart_pushed.json b/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/chart_pushed.json new file mode 100644 index 000000000000..b40938ee1c41 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/chart_pushed.json @@ -0,0 +1,23 @@ +{ + "id": "ea3a9c28-5b17-40f6-a500-3f02b6829277", + "topic": "/subscriptions//resourceGroups//providers/Microsoft.ContainerRegistry/registries/", + "subject": "mychart:1.0.0", + "eventType": "Microsoft.ContainerRegistry.ChartPushed", + "eventTime": "2019-03-12T22:16:31.5164086Z", + "data": { + "id":"ea3a9c28-5b17-40f6-a500-3f02b682927", + "timestamp":"2019-03-12T22:16:31.0087496+00:00", + "action":"chart_push", + "target":{ + "mediaType":"application/vnd.acr.helm.chart", + "size":25265, + "digest":"sha256:7f060075264b5ba7c14c23672698152ae6a3ebac1c47916e4efe19cd624d5fab", + "repository":"repo", + "tag":"mychart-1.0.0.tgz", + "name":"mychart", + "version":"1.0.0" + } + }, + "dataVersion": "1.0", + "metadataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.ContainerService/stable/2018-01-01/examples/new_kubernetes_version_available.json b/specification/eventgrid/data-plane/Microsoft.ContainerService/stable/2018-01-01/examples/new_kubernetes_version_available.json new file mode 100644 index 000000000000..56140faaedd9 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ContainerService/stable/2018-01-01/examples/new_kubernetes_version_available.json @@ -0,0 +1,15 @@ +{ + "topic": "/subscriptions//resourceGroups/providers/Microsoft.ContainerService/managedClusters/", + "subject": "", + "eventType": "Microsoft.ContainerService.NewKubernetesVersionAvailable", + "id": "1234567890abcdef1234567890abcdef12345678", + "data": { + "latestSupportedKubernetesVersion": "1.20.7", + "latestStableKubernetesVersion": "1.19.11", + "lowestMinorKubernetesVersion": "1.18.19", + "latestPreviewKubernetesVersion": "1.21.1" + }, + "dataVersion": "1", + "metadataVersion": "1", + "eventTime": "2021-07-01T04:52:57.0000000Z" +} diff --git a/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/device_connected.json b/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/device_connected.json new file mode 100644 index 000000000000..e60bcaf59985 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/device_connected.json @@ -0,0 +1,18 @@ +{ + "id": "f6bbf8f4-d365-520d-a878-17bf7238abd8", + "topic": "/SUBSCRIPTIONS//RESOURCEGROUPS//PROVIDERS/MICROSOFT.DEVICES/IOTHUBS/", + "subject": "devices/LogicAppTestDevice", + "eventType": "Microsoft.Devices.DeviceConnected", + "eventTime": "2018-06-02T19:17:44.4383997Z", + "data": { + "deviceConnectionStateEventInfo": { + "sequenceNumber": + "000000000000000001D4132452F67CE200000002000000000000000000000001" + }, + "hubName": "egtesthub1", + "deviceId": "LogicAppTestDevice", + "moduleId" : "DeviceModuleID" + }, + "dataVersion": "1", + "metadataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/device_created.json b/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/device_created.json new file mode 100644 index 000000000000..82d2f97bcf9c --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/device_created.json @@ -0,0 +1,43 @@ +{ + "id": "56afc886-767b-d359-d59e-0da7877166b2", + "topic": "/SUBSCRIPTIONS//RESOURCEGROUPS//PROVIDERS/MICROSOFT.DEVICES/IOTHUBS/", + "subject": "devices/LogicAppTestDevice", + "eventType": "Microsoft.Devices.DeviceCreated", + "eventTime": "2018-01-02T19:17:44.4383997Z", + "data": { + "twin": { + "deviceId": "LogicAppTestDevice", + "etag": "AAAAAAAAAAE=", + "deviceEtag": "null", + "status": "enabled", + "statusUpdateTime": "0001-01-01T00:00:00", + "connectionState": "Disconnected", + "lastActivityTime": "0001-01-01T00:00:00", + "cloudToDeviceMessageCount": 0, + "authenticationType": "sas", + "x509Thumbprint": { + "primaryThumbprint": null, + "secondaryThumbprint": null + }, + "version": 2, + "properties": { + "desired": { + "$metadata": { + "$lastUpdated": "2018-01-02T19:17:44.4383997Z" + }, + "$version": 1 + }, + "reported": { + "$metadata": { + "$lastUpdated": "2018-01-02T19:17:44.4383997Z" + }, + "$version": 1 + } + } + }, + "hubName": "egtesthub1", + "deviceId": "LogicAppTestDevice" + }, + "dataVersion": "1", + "metadataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/device_telemetry.json b/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/device_telemetry.json new file mode 100644 index 000000000000..9d303a86ce38 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/device_telemetry.json @@ -0,0 +1,29 @@ +{ + "id": "9af86784-8d40-fe2g-8b2a-bab65e106785", + "topic": "/SUBSCRIPTIONS//RESOURCEGROUPS//PROVIDERS/MICROSOFT.DEVICES/IOTHUBS/", + "subject": "devices/LogicAppTestDevice", + "eventType": "Microsoft.Devices.DeviceTelemetry", + "eventTime": "2019-01-07T20:58:30.48Z", + "data": { + "body": { + "Weather": { + "Temperature": 900 + }, + "Location": "USA" + }, + "properties": { + "Status": "Active" + }, + "systemProperties": { + "iothub-content-type": "application/json", + "iothub-content-encoding": "utf-8", + "iothub-connection-device-id": "d1", + "iothub-connection-auth-method": "{\"scope\":\"device\",\"type\":\"sas\",\"issuer\":\"iothub\",\"acceptingIpFilterRule\":null}", + "iothub-connection-auth-generation-id": "123455432199234570", + "iothub-enqueuedtime": "2019-01-07T20:58:30.48Z", + "iothub-message-source": "Telemetry" + } + }, + "dataVersion": "", + "metadataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.EventHub/stable/2018-01-01/examples/capture_file_created.json b/specification/eventgrid/data-plane/Microsoft.EventHub/stable/2018-01-01/examples/capture_file_created.json new file mode 100644 index 000000000000..6d348c1a4ed1 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.EventHub/stable/2018-01-01/examples/capture_file_created.json @@ -0,0 +1,20 @@ +{ + "topic": "/subscriptions//resourcegroups/rgDataMigrationSample/providers/Microsoft.EventHub/namespaces/tfdatamigratens", + "subject": "eventhubs/hubdatamigration", + "eventType": "Microsoft.EventHub.CaptureFileCreated", + "eventTime": "2017-08-31T19:12:46.0498024Z", + "id": "14e87d03-6fbf-4bb2-9a21-92bd1281f247", + "data": { + "fileUrl": "https://tf0831datamigrate.blob.core.windows.net/windturbinecapture/tfdatamigratens/hubdatamigration/1/2017/08/31/19/11/45.avro", + "fileType": "AzureBlockBlob", + "partitionId": "1", + "sizeInBytes": 249168, + "eventCount": 1500, + "firstSequenceNumber": 2400, + "lastSequenceNumber": 3899, + "firstEnqueueTime": "2017-08-31T19:12:14.674Z", + "lastEnqueueTime": "2017-08-31T19:12:44.309Z" + }, + "dataVersion": "", + "metadataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.KeyVault/stable/2018-01-01/examples/certificate_new_version_created.json b/specification/eventgrid/data-plane/Microsoft.KeyVault/stable/2018-01-01/examples/certificate_new_version_created.json new file mode 100644 index 000000000000..b89c8e6daf27 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.KeyVault/stable/2018-01-01/examples/certificate_new_version_created.json @@ -0,0 +1,18 @@ +{ + "id":"00eccf70-95a7-4e7c-8299-2eb17ee9ad64", + "topic":"/subscriptions/{subscription-id}/resourceGroups/sample-rg/providers/Microsoft.KeyVault/vaults/sample-kv", + "subject":"newsecret", + "eventType":"Microsoft.KeyVault.SecretNewVersionCreated", + "eventTime":"2019-07-25T01:08:33.1036736Z", + "data":{ + "Id":"https://sample-kv.vault.azure.net/secrets/newsecret/ee059b2bb5bc48398a53b168c6cdcb10", + "VaultName":"sample-kv", + "ObjectType":"Secret", + "ObjectName":"newsecret", + "Version":"ee059b2bb5bc48398a53b168c6cdcb10", + "NBF":"1559081980", + "EXP":"1559082102" + }, + "dataVersion":"1", + "metadataVersion":"1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/dataset_drift_detected.json b/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/dataset_drift_detected.json new file mode 100644 index 000000000000..c5b5b0ecffc7 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/dataset_drift_detected.json @@ -0,0 +1,19 @@ +{ + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.MachineLearningServices/workspaces/{workspace-name}", + "subject": "datadrifts/{}/runs/{}", + "eventType": "Microsoft.MachineLearningServices.DatasetDriftDetected", + "eventTime": "2017-06-26T18:41:00.9584103Z", + "id": "831e1650-001e-001b-66ab-eeb76e069631", + "data": { + "DataDriftId": "01d29aa4-e6a4-470a-9ef3-66660d21f8ef", + "DataDriftName": "myDriftMonitor", + "RunId": "01d29aa4-e6a4-470a-9ef3-66660d21f8ef_1571590300380", + "BaseDatasetId": "3c56d136-0f64-4657-a0e8-5162089a88a3", + "TargetDatasetId": "d7e74d2e-c972-4266-b5fb-6c9c182d2a74", + "DriftCoefficient": 0.83503490684792081, + "StartTime": "2019-07-04T00:00:00+00:00", + "EndTime": "2019-07-05T00:00:00+00:00" + }, + "dataVersion": "", + "metadataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/model_deployed.json b/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/model_deployed.json new file mode 100644 index 000000000000..c81a40f6877f --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/model_deployed.json @@ -0,0 +1,21 @@ +{ + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.MachineLearningServices/workspaces/{workspace-name}", + "subject": "endpoints/my-sklearn-service", + "eventType": "Microsoft.MachineLearningServices.ModelDeployed", + "eventTime": "2017-06-26T18:41:00.9584103Z", + "id": "831e1650-001e-001b-66ab-eeb76e069631", + "data": { + "ServiceName": "my-sklearn-service", + "ServiceComputeType": "ACI", + "ModelIds": "sklearn_regression_model:1,sklearn_regression_model:2", + "ServiceTags": { + "area": "diabetes", + "type": "regression" + }, + "ServiceProperties": { + "type": "test" + } + }, + "dataVersion": "", + "metadataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/model_registered.json b/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/model_registered.json new file mode 100644 index 000000000000..550b849d06dc --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/model_registered.json @@ -0,0 +1,20 @@ +{ + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.MachineLearningServices/workspaces/{workspace-name}", + "subject": "models/sklearn_regression_model:20", + "eventType": "Microsoft.MachineLearningServices.ModelRegistered", + "eventTime": "2017-06-26T18:41:00.9584103Z", + "id": "831e1650-001e-001b-66ab-eeb76e069631", + "data": { + "ModelName": "sklearn_regression_model", + "ModelVersion": 20, + "ModelTags": { + "area": "diabetes", + "type": "regression" + }, + "ModelProperties": { + "type": "test" + } + }, + "dataVersion": "", + "metadataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/run_completed.json b/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/run_completed.json new file mode 100644 index 000000000000..73e1f074d8ef --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/run_completed.json @@ -0,0 +1,31 @@ +{ + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.MachineLearningServices/workspaces/{workspace-name}", + "subject": "experiments/0fa9dfaa-cba3-4fa7-b590-23e48548f5c1/runs/AutoML_ad912b2d-6467-4f32-a616-dbe4af6dd8fc_5", + "eventType": "Microsoft.MachineLearningServices.RunCompleted", + "eventTime": "2017-06-26T18:41:00.9584103Z", + "id": "831e1650-001e-001b-66ab-eeb76e069631", + "data": { + "experimentId": "0fa9dfaa-cba3-4fa7-b590-23e48548f5c1", + "experimentName": "automl-local-regression", + "runId": "AutoML_ad912b2d-6467-4f32-a616-dbe4af6dd8fc_5", + "runType": null, + "runTags": {}, + "runProperties": { + "runTemplate": "automl_child", + "pipeline_id": "5adc0a4fe02504a586f09a4fcbb241f9a4012062", + "pipeline_spec": "{\"objects\": [{\"class_name\": \"StandardScaler\", \"module\": \"sklearn.preprocessing\", \"param_args\": [], \"param_kwargs\": {\"with_mean\": true, \"with_std\": false}, \"prepared_kwargs\": {}, \"spec_class\": \"preproc\"}, {\"class_name\": \"LassoLars\", \"module\": \"sklearn.linear_model\", \"param_args\": [], \"param_kwargs\": {\"alpha\": 0.001, \"normalize\": true}, \"prepared_kwargs\": {}, \"spec_class\": \"sklearn\"}], \"pipeline_id\": \"5adc0a4fe02504a586f09a4fcbb241f9a4012062\"}", + "training_percent": "100", + "predicted_cost": "0.062226144097381045", + "iteration": "5", + "run_template": "automl_child", + "run_preprocessor": "StandardScalerWrapper", + "run_algorithm": "LassoLars", + "conda_env_data_location": "aml://artifact/ExperimentRun/dcid.AutoML_ad912b2d-6467-4f32-a616-dbe4af6dd8fc_5/outputs/conda_env_v_1_0_0.yml", + "model_name": "AutoMLad912b2d65", + "scoring_data_location": "aml://artifact/ExperimentRun/dcid.AutoML_ad912b2d-6467-4f32-a616-dbe4af6dd8fc_5/outputs/scoring_file_v_1_0_0.py", + "model_data_location": "aml://artifact/ExperimentRun/dcid.AutoML_ad912b2d-6467-4f32-a616-dbe4af6dd8fc_5/outputs/model.pkl" + } + }, + "dataVersion": "", + "metadataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/run_status_changed.json b/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/run_status_changed.json new file mode 100644 index 000000000000..47b618ea60b0 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/run_status_changed.json @@ -0,0 +1,32 @@ +{ + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.MachineLearningServices/workspaces/{workspace-name}", + "subject": "experiments/0fa9dfaa-cba3-4fa7-b590-23e48548f5c1/runs/AutoML_ad912b2d-6467-4f32-a616-dbe4af6dd8fc_5", + "eventType": "Microsoft.MachineLearningServices.RunStatusChanged", + "eventTime": "2017-06-26T18:41:00.9584103Z", + "id": "831e1650-001e-001b-66ab-eeb76e069631", + "data": { + "experimentId": "0fa9dfaa-cba3-4fa7-b590-23e48548f5c1", + "experimentName": "automl-local-regression", + "runId": "AutoML_ad912b2d-6467-4f32-a616-dbe4af6dd8fc_5", + "runType": null, + "runTags": {}, + "runProperties": { + "runTemplate": "automl_child", + "pipeline_id": "5adc0a4fe02504a586f09a4fcbb241f9a4012062", + "pipeline_spec": "{\"objects\": [{\"class_name\": \"StandardScaler\", \"module\": \"sklearn.preprocessing\", \"param_args\": [], \"param_kwargs\": {\"with_mean\": true, \"with_std\": false}, \"prepared_kwargs\": {}, \"spec_class\": \"preproc\"}, {\"class_name\": \"LassoLars\", \"module\": \"sklearn.linear_model\", \"param_args\": [], \"param_kwargs\": {\"alpha\": 0.001, \"normalize\": true}, \"prepared_kwargs\": {}, \"spec_class\": \"sklearn\"}], \"pipeline_id\": \"5adc0a4fe02504a586f09a4fcbb241f9a4012062\"}", + "training_percent": "100", + "predicted_cost": "0.062226144097381045", + "iteration": "5", + "run_template": "automl_child", + "run_preprocessor": "StandardScalerWrapper", + "run_algorithm": "LassoLars", + "conda_env_data_location": "aml://artifact/ExperimentRun/dcid.AutoML_ad912b2d-6467-4f32-a616-dbe4af6dd8fc_5/outputs/conda_env_v_1_0_0.yml", + "model_name": "AutoMLad912b2d65", + "scoring_data_location": "aml://artifact/ExperimentRun/dcid.AutoML_ad912b2d-6467-4f32-a616-dbe4af6dd8fc_5/outputs/scoring_file_v_1_0_0.py", + "model_data_location": "aml://artifact/ExperimentRun/dcid.AutoML_ad912b2d-6467-4f32-a616-dbe4af6dd8fc_5/outputs/model.pkl" + }, + "runStatus": "failed" + }, + "dataVersion": "", + "metadataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_entered.json b/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_entered.json new file mode 100644 index 000000000000..41b530fb4bfa --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_entered.json @@ -0,0 +1,25 @@ +{   +    "id":"7f8446e2-1ac7-4234-8425-303726ea3981", +    "topic":"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Maps/accounts/{accountName}", +    "subject":"/spatial/geofence/udid/{udid}/id/{eventId}", +    "data":{   +       "geometries":[   +          {   +             "deviceId":"device_1", +             "udId":"1a13b444-4acf-32ab-ce4e-9ca4af20b169", +             "geometryId":"2", +             "distance":-999.0, +             "nearestLat":47.618786, +             "nearestLon":-122.132151 +          } +       ], +       "expiredGeofenceGeometryId":[   +       ], +       "invalidPeriodGeofenceGeometryId":[   +       ] +    }, +    "eventType":"Microsoft.Maps.GeofenceEntered", +    "eventTime":"2018-11-08T00:54:17.6408601Z", +    "metadataVersion":"1", +    "dataVersion":"1.0" + } diff --git a/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_result.json b/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_result.json new file mode 100644 index 000000000000..713aa117eea2 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_result.json @@ -0,0 +1,33 @@ +{   +    "id":"451675de-a67d-4929-876c-5c2bf0b2c000", +    "topic":"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Maps/accounts/{accountName}", +    "subject":"/spatial/geofence/udid/{udid}/id/{eventId}", +    "data":{   +       "geometries":[   +          {   +             "deviceId":"device_1", +             "udId":"1a13b444-4acf-32ab-ce4e-9ca4af20b169", +             "geometryId":"1", +             "distance":999.0, +             "nearestLat":47.609833, +             "nearestLon":-122.148274 +          }, +          {   +             "deviceId":"device_1", +             "udId":"1a13b444-4acf-32ab-ce4e-9ca4af20b169", +             "geometryId":"2", +             "distance":999.0, +             "nearestLat":47.621954, +             "nearestLon":-122.131841 +          } +       ], +       "expiredGeofenceGeometryId":[   +       ], +       "invalidPeriodGeofenceGeometryId":[   +       ] +    }, +    "eventType":"Microsoft.Maps.GeofenceResult", +    "eventTime":"2018-11-08T00:52:08.0954283Z", +    "metadataVersion":"1", +    "dataVersion":"1.0" + } diff --git a/specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/policy_state_changed.json b/specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/policy_state_changed.json new file mode 100644 index 000000000000..f4a58f15bf0d --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/policy_state_changed.json @@ -0,0 +1,18 @@ +{ + "id": "5829794FCB5075FCF585476619577B5A5A30E52C84842CBD4E2AD73996714C4C", + "topic": "/subscriptions/", + "subject": "/subscriptions//resourceGroups//providers///", + "data": { + "timestamp": "2021-03-27T18:37:42.4496956Z", + "policyAssignmentId": "/providers/microsoft.authorization/policyassignments/", + "policyDefinitionId": "/providers/microsoft.authorization/policydefinitions/", + "policyDefinitionReferenceId": "", + "complianceState": "NonCompliant", + "subscriptionId": "", + "complianceReasonCode": "" + }, + "eventType": "Microsoft.PolicyInsights.PolicyStateChanged", + "eventTime": "2021-03-27T18:37:42.5241536Z", + "dataVersion": "1", + "metadataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/policy_state_created.json b/specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/policy_state_created.json new file mode 100644 index 000000000000..c207d1800e0e --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/policy_state_created.json @@ -0,0 +1,18 @@ +{ + "id": "5829794FCB5075FCF585476619577B5A5A30E52C84842CBD4E2AD73996714C4C", + "topic": "/subscriptions/", + "subject": "/subscriptions//resourceGroups//providers///", + "data": { + "timestamp": "2021-03-27T18:37:42.4496956Z", + "policyAssignmentId": "/providers/microsoft.authorization/policyassignments/", + "policyDefinitionId": "/providers/microsoft.authorization/policydefinitions/", + "policyDefinitionReferenceId": "", + "complianceState": "NonCompliant", + "subscriptionId": "", + "complianceReasonCode": "" + }, + "eventType": "Microsoft.PolicyInsights.PolicyStateCreated", + "eventTime": "2021-03-27T18:37:42.5241536Z", + "dataVersion": "1", + "metadataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_action_cancel.json b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_action_cancel.json new file mode 100644 index 000000000000..e46c3eceee0d --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_action_cancel.json @@ -0,0 +1,51 @@ +{ + "subject": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventHub/namespaces/{namespace}/AuthorizationRules/RootManageSharedAccessKey", + "eventType": "Microsoft.Resources.ResourceActionCancel", + "eventTime": "2018-10-08T22:46:22.6022559Z", + "id": "{ID}", + "data": { + "authorization": { + "scope": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventHub/namespaces/{namespace}/AuthorizationRules/RootManageSharedAccessKey", + "action": "Microsoft.EventHub/namespaces/AuthorizationRules/listKeys/action", + "evidence": { + "role": "Contributor", + "roleAssignmentScope": "/subscriptions/{subscription-id}", + "roleAssignmentId": "{ID}", + "roleDefinitionId": "{ID}", + "principalId": "{ID}", + "principalType": "ServicePrincipal" + } + }, + "claims": { + "aud": "{audience-claim}", + "iss": "{issuer-claim}", + "iat": "{issued-at-claim}", + "nbf": "{not-before-claim}", + "exp": "{expiration-claim}", + "aio": "{token}", + "appid": "{ID}", + "appidacr": "2", + "http://schemas.microsoft.com/identity/claims/identityprovider": "{URL}", + "http://schemas.microsoft.com/identity/claims/objectidentifier": "{ID}", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "{ID}", "http://schemas.microsoft.com/identity/claims/tenantid": "{ID}", + "uti": "{ID}", + "ver": "1.0" + }, + "correlationId": "{ID}", + "httpRequest": { + "clientRequestId": "{ID}", + "clientIpAddress": "{IP-address}", + "method": "POST", + "url": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventHub/namespaces/{namespace}/AuthorizationRules/RootManageSharedAccessKey/listKeys?api-version=2017-04-01" + }, + "resourceProvider": "Microsoft.EventHub", + "resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventHub/namespaces/{namespace}/AuthorizationRules/RootManageSharedAccessKey", + "operationName": "Microsoft.EventHub/namespaces/AuthorizationRules/listKeys/action", + "status": "Succeeded", + "subscriptionId": "{subscription-id}", + "tenantId": "{tenant-id}" + }, + "dataVersion": "2", + "metadataVersion": "1", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}" +} diff --git a/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_action_failure.json b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_action_failure.json new file mode 100644 index 000000000000..7d2b274eba76 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_action_failure.json @@ -0,0 +1,51 @@ +{ + "subject": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventHub/namespaces/{namespace}/AuthorizationRules/RootManageSharedAccessKey", + "eventType": "Microsoft.Resources.ResourceActionFailure", + "eventTime": "2018-10-08T22:46:22.6022559Z", + "id": "{ID}", + "data": { + "authorization": { + "scope": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventHub/namespaces/{namespace}/AuthorizationRules/RootManageSharedAccessKey", + "action": "Microsoft.EventHub/namespaces/AuthorizationRules/listKeys/action", + "evidence": { + "role": "Contributor", + "roleAssignmentScope": "/subscriptions/{subscription-id}", + "roleAssignmentId": "{ID}", + "roleDefinitionId": "{ID}", + "principalId": "{ID}", + "principalType": "ServicePrincipal" + } + }, + "claims": { + "aud": "{audience-claim}", + "iss": "{issuer-claim}", + "iat": "{issued-at-claim}", + "nbf": "{not-before-claim}", + "exp": "{expiration-claim}", + "aio": "{token}", + "appid": "{ID}", + "appidacr": "2", + "http://schemas.microsoft.com/identity/claims/identityprovider": "{URL}", + "http://schemas.microsoft.com/identity/claims/objectidentifier": "{ID}", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "{ID}", "http://schemas.microsoft.com/identity/claims/tenantid": "{ID}", + "uti": "{ID}", + "ver": "1.0" + }, + "correlationId": "{ID}", + "httpRequest": { + "clientRequestId": "{ID}", + "clientIpAddress": "{IP-address}", + "method": "POST", + "url": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventHub/namespaces/{namespace}/AuthorizationRules/RootManageSharedAccessKey/listKeys?api-version=2017-04-01" + }, + "resourceProvider": "Microsoft.EventHub", + "resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventHub/namespaces/{namespace}/AuthorizationRules/RootManageSharedAccessKey", + "operationName": "Microsoft.EventHub/namespaces/AuthorizationRules/listKeys/action", + "status": "Succeeded", + "subscriptionId": "{subscription-id}", + "tenantId": "{tenant-id}" + }, + "dataVersion": "2", + "metadataVersion": "1", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}" +} diff --git a/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_action_success.json b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_action_success.json new file mode 100644 index 000000000000..84b3b0c022b7 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_action_success.json @@ -0,0 +1,51 @@ +{ + "subject": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventHub/namespaces/{namespace}/AuthorizationRules/RootManageSharedAccessKey", + "eventType": "Microsoft.Resources.ResourceActionSuccess", + "eventTime": "2018-10-08T22:46:22.6022559Z", + "id": "{ID}", + "data": { + "authorization": { + "scope": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventHub/namespaces/{namespace}/AuthorizationRules/RootManageSharedAccessKey", + "action": "Microsoft.EventHub/namespaces/AuthorizationRules/listKeys/action", + "evidence": { + "role": "Contributor", + "roleAssignmentScope": "/subscriptions/{subscription-id}", + "roleAssignmentId": "{ID}", + "roleDefinitionId": "{ID}", + "principalId": "{ID}", + "principalType": "ServicePrincipal" + } + }, + "claims": { + "aud": "{audience-claim}", + "iss": "{issuer-claim}", + "iat": "{issued-at-claim}", + "nbf": "{not-before-claim}", + "exp": "{expiration-claim}", + "aio": "{token}", + "appid": "{ID}", + "appidacr": "2", + "http://schemas.microsoft.com/identity/claims/identityprovider": "{URL}", + "http://schemas.microsoft.com/identity/claims/objectidentifier": "{ID}", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "{ID}", "http://schemas.microsoft.com/identity/claims/tenantid": "{ID}", + "uti": "{ID}", + "ver": "1.0" + }, + "correlationId": "{ID}", + "httpRequest": { + "clientRequestId": "{ID}", + "clientIpAddress": "{IP-address}", + "method": "POST", + "url": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventHub/namespaces/{namespace}/AuthorizationRules/RootManageSharedAccessKey/listKeys?api-version=2017-04-01" + }, + "resourceProvider": "Microsoft.EventHub", + "resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventHub/namespaces/{namespace}/AuthorizationRules/RootManageSharedAccessKey", + "operationName": "Microsoft.EventHub/namespaces/AuthorizationRules/listKeys/action", + "status": "Succeeded", + "subscriptionId": "{subscription-id}", + "tenantId": "{tenant-id}" + }, + "dataVersion": "2", + "metadataVersion": "1", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}" +} diff --git a/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_delete_cancel.json b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_delete_cancel.json new file mode 100644 index 000000000000..e42153003e8e --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_delete_cancel.json @@ -0,0 +1,61 @@ +{ + "subject": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Storage/storageAccounts/{storage-name}", + "eventType": "Microsoft.Resources.ResourceDeleteCancel", + "eventTime": "2018-07-19T19:24:12.763881Z", + "id": "19a69642-1aad-4a96-a5ab-8d05494513ce", + "data": { + "authorization": { + "scope": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Storage/storageAccounts/{storage-name}", + "action": "Microsoft.Storage/storageAccounts/delete", + "evidence": { + "role": "Subscription Admin" + } + }, + "claims": { + "aud": "{audience-claim}", + "iss": "{issuer-claim}", + "iat": "{issued-at-claim}", + "nbf": "{not-before-claim}", + "exp": "{expiration-claim}", + "_claim_names": "{\"groups\":\"src1\"}", + "_claim_sources": "{\"src1\":{\"endpoint\":\"{URI}\"}}", + "http://schemas.microsoft.com/claims/authnclassreference": "1", + "aio": "{token}", + "http://schemas.microsoft.com/claims/authnmethodsreferences": "rsa,mfa", + "appid": "{ID}", + "appidacr": "2", + "http://schemas.microsoft.com/2012/01/devicecontext/claims/identifier": "{ID}", + "e_exp": "262800", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname": "{last-name}", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname": "{first-name}", + "ipaddr": "{IP-address}", + "name": "{full-name}", + "http://schemas.microsoft.com/identity/claims/objectidentifier": "{ID}", + "onprem_sid": "{ID}", + "puid": "{ID}", + "http://schemas.microsoft.com/identity/claims/scope": "user_impersonation", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "{ID}", + "http://schemas.microsoft.com/identity/claims/tenantid": "{ID}", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": "{user-name}", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn": "{user-name}", + "uti": "{ID}", + "ver": "1.0" + }, + "correlationId": "{ID}", + "httpRequest": { + "clientRequestId": "{ID}", + "clientIpAddress": "{IP-address}", + "method": "DELETE", + "url": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Storage/storageAccounts/{storage-name}?api-version=2018-02-01" + }, + "resourceProvider": "Microsoft.Storage", + "resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Storage/storageAccounts/{storage-name}", + "operationName": "Microsoft.Storage/storageAccounts/delete", + "status": "Succeeded", + "subscriptionId": "{subscription-id}", + "tenantId": "{tenant-id}" + }, + "dataVersion": "2", + "metadataVersion": "1", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}" +} diff --git a/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_delete_failure.json b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_delete_failure.json new file mode 100644 index 000000000000..2fab5049ef9e --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_delete_failure.json @@ -0,0 +1,61 @@ +{ + "subject": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Storage/storageAccounts/{storage-name}", + "eventType": "Microsoft.Resources.ResourceDeleteFailure", + "eventTime": "2018-07-19T19:24:12.763881Z", + "id": "19a69642-1aad-4a96-a5ab-8d05494513ce", + "data": { + "authorization": { + "scope": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Storage/storageAccounts/{storage-name}", + "action": "Microsoft.Storage/storageAccounts/delete", + "evidence": { + "role": "Subscription Admin" + } + }, + "claims": { + "aud": "{audience-claim}", + "iss": "{issuer-claim}", + "iat": "{issued-at-claim}", + "nbf": "{not-before-claim}", + "exp": "{expiration-claim}", + "_claim_names": "{\"groups\":\"src1\"}", + "_claim_sources": "{\"src1\":{\"endpoint\":\"{URI}\"}}", + "http://schemas.microsoft.com/claims/authnclassreference": "1", + "aio": "{token}", + "http://schemas.microsoft.com/claims/authnmethodsreferences": "rsa,mfa", + "appid": "{ID}", + "appidacr": "2", + "http://schemas.microsoft.com/2012/01/devicecontext/claims/identifier": "{ID}", + "e_exp": "262800", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname": "{last-name}", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname": "{first-name}", + "ipaddr": "{IP-address}", + "name": "{full-name}", + "http://schemas.microsoft.com/identity/claims/objectidentifier": "{ID}", + "onprem_sid": "{ID}", + "puid": "{ID}", + "http://schemas.microsoft.com/identity/claims/scope": "user_impersonation", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "{ID}", + "http://schemas.microsoft.com/identity/claims/tenantid": "{ID}", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": "{user-name}", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn": "{user-name}", + "uti": "{ID}", + "ver": "1.0" + }, + "correlationId": "{ID}", + "httpRequest": { + "clientRequestId": "{ID}", + "clientIpAddress": "{IP-address}", + "method": "DELETE", + "url": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Storage/storageAccounts/{storage-name}?api-version=2018-02-01" + }, + "resourceProvider": "Microsoft.Storage", + "resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Storage/storageAccounts/{storage-name}", + "operationName": "Microsoft.Storage/storageAccounts/delete", + "status": "Succeeded", + "subscriptionId": "{subscription-id}", + "tenantId": "{tenant-id}" + }, + "dataVersion": "2", + "metadataVersion": "1", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}" +} diff --git a/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_delete_success.json b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_delete_success.json new file mode 100644 index 000000000000..28e209216df1 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_delete_success.json @@ -0,0 +1,61 @@ +{ + "subject": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Storage/storageAccounts/{storage-name}", + "eventType": "Microsoft.Resources.ResourceDeleteSuccess", + "eventTime": "2018-07-19T19:24:12.763881Z", + "id": "19a69642-1aad-4a96-a5ab-8d05494513ce", + "data": { + "authorization": { + "scope": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Storage/storageAccounts/{storage-name}", + "action": "Microsoft.Storage/storageAccounts/delete", + "evidence": { + "role": "Subscription Admin" + } + }, + "claims": { + "aud": "{audience-claim}", + "iss": "{issuer-claim}", + "iat": "{issued-at-claim}", + "nbf": "{not-before-claim}", + "exp": "{expiration-claim}", + "_claim_names": "{\"groups\":\"src1\"}", + "_claim_sources": "{\"src1\":{\"endpoint\":\"{URI}\"}}", + "http://schemas.microsoft.com/claims/authnclassreference": "1", + "aio": "{token}", + "http://schemas.microsoft.com/claims/authnmethodsreferences": "rsa,mfa", + "appid": "{ID}", + "appidacr": "2", + "http://schemas.microsoft.com/2012/01/devicecontext/claims/identifier": "{ID}", + "e_exp": "262800", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname": "{last-name}", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname": "{first-name}", + "ipaddr": "{IP-address}", + "name": "{full-name}", + "http://schemas.microsoft.com/identity/claims/objectidentifier": "{ID}", + "onprem_sid": "{ID}", + "puid": "{ID}", + "http://schemas.microsoft.com/identity/claims/scope": "user_impersonation", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "{ID}", + "http://schemas.microsoft.com/identity/claims/tenantid": "{ID}", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": "{user-name}", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn": "{user-name}", + "uti": "{ID}", + "ver": "1.0" + }, + "correlationId": "{ID}", + "httpRequest": { + "clientRequestId": "{ID}", + "clientIpAddress": "{IP-address}", + "method": "DELETE", + "url": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Storage/storageAccounts/{storage-name}?api-version=2018-02-01" + }, + "resourceProvider": "Microsoft.Storage", + "resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Storage/storageAccounts/{storage-name}", + "operationName": "Microsoft.Storage/storageAccounts/delete", + "status": "Succeeded", + "subscriptionId": "{subscription-id}", + "tenantId": "{tenant-id}" + }, + "dataVersion": "2", + "metadataVersion": "1", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}" +} diff --git a/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_write_cancel.json b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_write_cancel.json new file mode 100644 index 000000000000..a61862355c7a --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_write_cancel.json @@ -0,0 +1,55 @@ +{ + "subject": "/subscriptions/{subscription-id}/resourcegroups/{resource-group}/providers/Microsoft.Storage/storageAccounts/{storage-name}", + "eventType": "Microsoft.Resources.ResourceWriteCancel", + "eventTime": "2018-07-19T18:38:04.6117357Z", + "id": "4db48cba-50a2-455a-93b4-de41a3b5b7f6", + "data": { + "authorization": { + "scope": "/subscriptions/{subscription-id}/resourcegroups/{resource-group}/providers/Microsoft.Storage/storageAccounts/{storage-name}", + "action": "Microsoft.Storage/storageAccounts/write", + "evidence": { + "role": "Subscription Admin" + } + }, + "claims": { + "aud": "{audience-claim}", + "iss": "{issuer-claim}", + "iat": "{issued-at-claim}", + "nbf": "{not-before-claim}", + "exp": "{expiration-claim}", + "_claim_names": "{\"groups\":\"src1\"}", + "_claim_sources": "{\"src1\":{\"endpoint\":\"{URI}\"}}", + "http://schemas.microsoft.com/claims/authnclassreference": "1", + "aio": "{token}", + "http://schemas.microsoft.com/claims/authnmethodsreferences": "rsa,mfa", + "appid": "{ID}", + "appidacr": "2", + "http://schemas.microsoft.com/2012/01/devicecontext/claims/identifier": "{ID}", + "e_exp": "{expiration}", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname": "{last-name}", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname": "{first-name}", + "ipaddr": "{IP-address}", + "name": "{full-name}", + "http://schemas.microsoft.com/identity/claims/objectidentifier": "{ID}", + "onprem_sid": "{ID}", + "puid": "{ID}", + "http://schemas.microsoft.com/identity/claims/scope": "user_impersonation", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "{ID}", + "http://schemas.microsoft.com/identity/claims/tenantid": "{ID}", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": "{user-name}", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn": "{user-name}", + "uti": "{ID}", + "ver": "1.0" + }, + "correlationId": "{ID}", + "resourceProvider": "Microsoft.Storage", + "resourceUri": "/subscriptions/{subscription-id}/resourcegroups/{resource-group}/providers/Microsoft.Storage/storageAccounts/{storage-name}", + "operationName": "Microsoft.Storage/storageAccounts/write", + "status": "Succeeded", + "subscriptionId": "{subscription-id}", + "tenantId": "{tenant-id}" + }, + "dataVersion": "2", + "metadataVersion": "1", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}" +} diff --git a/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_write_failure.json b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_write_failure.json new file mode 100644 index 000000000000..df42b7bc2126 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_write_failure.json @@ -0,0 +1,55 @@ +{ + "subject": "/subscriptions/{subscription-id}/resourcegroups/{resource-group}/providers/Microsoft.Storage/storageAccounts/{storage-name}", + "eventType": "Microsoft.Resources.ResourceWriteFailure", + "eventTime": "2018-07-19T18:38:04.6117357Z", + "id": "4db48cba-50a2-455a-93b4-de41a3b5b7f6", + "data": { + "authorization": { + "scope": "/subscriptions/{subscription-id}/resourcegroups/{resource-group}/providers/Microsoft.Storage/storageAccounts/{storage-name}", + "action": "Microsoft.Storage/storageAccounts/write", + "evidence": { + "role": "Subscription Admin" + } + }, + "claims": { + "aud": "{audience-claim}", + "iss": "{issuer-claim}", + "iat": "{issued-at-claim}", + "nbf": "{not-before-claim}", + "exp": "{expiration-claim}", + "_claim_names": "{\"groups\":\"src1\"}", + "_claim_sources": "{\"src1\":{\"endpoint\":\"{URI}\"}}", + "http://schemas.microsoft.com/claims/authnclassreference": "1", + "aio": "{token}", + "http://schemas.microsoft.com/claims/authnmethodsreferences": "rsa,mfa", + "appid": "{ID}", + "appidacr": "2", + "http://schemas.microsoft.com/2012/01/devicecontext/claims/identifier": "{ID}", + "e_exp": "{expiration}", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname": "{last-name}", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname": "{first-name}", + "ipaddr": "{IP-address}", + "name": "{full-name}", + "http://schemas.microsoft.com/identity/claims/objectidentifier": "{ID}", + "onprem_sid": "{ID}", + "puid": "{ID}", + "http://schemas.microsoft.com/identity/claims/scope": "user_impersonation", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "{ID}", + "http://schemas.microsoft.com/identity/claims/tenantid": "{ID}", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": "{user-name}", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn": "{user-name}", + "uti": "{ID}", + "ver": "1.0" + }, + "correlationId": "{ID}", + "resourceProvider": "Microsoft.Storage", + "resourceUri": "/subscriptions/{subscription-id}/resourcegroups/{resource-group}/providers/Microsoft.Storage/storageAccounts/{storage-name}", + "operationName": "Microsoft.Storage/storageAccounts/write", + "status": "Succeeded", + "subscriptionId": "{subscription-id}", + "tenantId": "{tenant-id}" + }, + "dataVersion": "2", + "metadataVersion": "1", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}" +} diff --git a/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_write_success.json b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_write_success.json new file mode 100644 index 000000000000..074c8ec080d9 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_write_success.json @@ -0,0 +1,55 @@ +{ + "subject": "/subscriptions/{subscription-id}/resourcegroups/{resource-group}/providers/Microsoft.Storage/storageAccounts/{storage-name}", + "eventType": "Microsoft.Resources.ResourceWriteSuccess", + "eventTime": "2018-07-19T18:38:04.6117357Z", + "id": "4db48cba-50a2-455a-93b4-de41a3b5b7f6", + "data": { + "authorization": { + "scope": "/subscriptions/{subscription-id}/resourcegroups/{resource-group}/providers/Microsoft.Storage/storageAccounts/{storage-name}", + "action": "Microsoft.Storage/storageAccounts/write", + "evidence": { + "role": "Subscription Admin" + } + }, + "claims": { + "aud": "{audience-claim}", + "iss": "{issuer-claim}", + "iat": "{issued-at-claim}", + "nbf": "{not-before-claim}", + "exp": "{expiration-claim}", + "_claim_names": "{\"groups\":\"src1\"}", + "_claim_sources": "{\"src1\":{\"endpoint\":\"{URI}\"}}", + "http://schemas.microsoft.com/claims/authnclassreference": "1", + "aio": "{token}", + "http://schemas.microsoft.com/claims/authnmethodsreferences": "rsa,mfa", + "appid": "{ID}", + "appidacr": "2", + "http://schemas.microsoft.com/2012/01/devicecontext/claims/identifier": "{ID}", + "e_exp": "{expiration}", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname": "{last-name}", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname": "{first-name}", + "ipaddr": "{IP-address}", + "name": "{full-name}", + "http://schemas.microsoft.com/identity/claims/objectidentifier": "{ID}", + "onprem_sid": "{ID}", + "puid": "{ID}", + "http://schemas.microsoft.com/identity/claims/scope": "user_impersonation", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier": "{ID}", + "http://schemas.microsoft.com/identity/claims/tenantid": "{ID}", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name": "{user-name}", + "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/upn": "{user-name}", + "uti": "{ID}", + "ver": "1.0" + }, + "correlationId": "{ID}", + "resourceProvider": "Microsoft.Storage", + "resourceUri": "/subscriptions/{subscription-id}/resourcegroups/{resource-group}/providers/Microsoft.Storage/storageAccounts/{storage-name}", + "operationName": "Microsoft.Storage/storageAccounts/write", + "status": "Succeeded", + "subscriptionId": "{subscription-id}", + "tenantId": "{tenant-id}" + }, + "dataVersion": "2", + "metadataVersion": "1", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}" +} diff --git a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json new file mode 100644 index 000000000000..5b66f99c633d --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json @@ -0,0 +1,17 @@ +{ + "topic": "/subscriptions//resourcegroups/DemoGroup/providers/Microsoft.ServiceBus/namespaces/", + "subject": "topics//subscriptions/", + "eventType": "Microsoft.ServiceBus.ActiveMessagesAvailablePeriodicNotifications", + "eventTime": "2018-02-14T05:12:53.4133526Z", + "id": "dede87b0-3656-419c-acaf-70c95ddc60f5", + "data": { + "namespaceName": "YOUR SERVICE BUS NAMESPACE WILL SHOW HERE", + "requestUri": "https://YOUR-SERVICE-BUS-NAMESPACE-WILL-SHOW-HERE.servicebus.windows.net/TOPIC-NAME/subscriptions/SUBSCRIPTIONNAME/$deadletterqueue/messages/head", + "entityType": "subscriber", + "queueName": "QUEUE NAME IF QUEUE", + "topicName": "TOPIC NAME IF TOPIC", + "subscriptionName": "SUBSCRIPTION NAME" + }, + "dataVersion": "1", + "metadataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json new file mode 100644 index 000000000000..8b2ea007706d --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json @@ -0,0 +1,17 @@ +{ + "topic": "/subscriptions//resourcegroups/DemoGroup/providers/Microsoft.ServiceBus/namespaces/", + "subject": "topics//subscriptions/", + "eventType": "Microsoft.ServiceBus.DeadletterMessagesAvailablePeriodicNotifications", + "eventTime": "2018-02-14T05:12:53.4133526Z", + "id": "dede87b0-3656-419c-acaf-70c95ddc60f5", + "data": { + "namespaceName": "YOUR SERVICE BUS NAMESPACE WILL SHOW HERE", + "requestUri": "https://YOUR-SERVICE-BUS-NAMESPACE-WILL-SHOW-HERE.servicebus.windows.net/TOPIC-NAME/subscriptions/SUBSCRIPTIONNAME/$deadletterqueue/messages/head", + "entityType": "subscriber", + "queueName": "QUEUE NAME IF QUEUE", + "topicName": "TOPIC NAME IF TOPIC", + "subscriptionName": "SUBSCRIPTION NAME" + }, + "dataVersion": "1", + "metadataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_with_no_listeners.json b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_with_no_listeners.json new file mode 100644 index 000000000000..5ea30a798664 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_with_no_listeners.json @@ -0,0 +1,17 @@ +{ + "topic": "/subscriptions/{subscription-id}/resourcegroups/{your-rg}/providers/Microsoft.ServiceBus/namespaces/{your-service-bus-namespace}", + "subject": "topics/{your-service-bus-topic}/subscriptions/{your-service-bus-subscription}", + "eventType": "Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListeners", + "eventTime": "2018-02-14T05:12:53.4133526Z", + "id": "dede87b0-3656-419c-acaf-70c95ddc60f5", + "data": { + "namespaceName": "YOUR SERVICE BUS NAMESPACE WILL SHOW HERE", + "requestUri": "https://{your-service-bus-namespace}.servicebus.windows.net/{your-topic}/subscriptions/{your-service-bus-subscription}/$deadletterqueue/messages/head", + "entityType": "subscriber", + "queueName": "QUEUE NAME IF QUEUE", + "topicName": "TOPIC NAME IF TOPIC", + "subscriptionName": "SUBSCRIPTION NAME" + }, + "dataVersion": "1", + "metadataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/examples/client_connection_connected.json b/specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/examples/client_connection_connected.json new file mode 100644 index 000000000000..7d7fca0e7c03 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/examples/client_connection_connected.json @@ -0,0 +1,15 @@ +{ + "topic": "/subscriptions/{subscription-id}/resourceGroups/signalr-rg/providers/Microsoft.SignalRService/SignalR/signalr-resource", + "subject": "/hub/chat", + "eventType": "Microsoft.SignalRService.ClientConnectionConnected", + "eventTime": "2019-06-10T18:41:00.9584103Z", + "id": "831e1650-001e-001b-66ab-eeb76e069631", + "data": { + "timestamp": "2019-06-10T18:41:00.9584103Z", + "hubName": "chat", + "connectionId": "crH0uxVSvP61p5wkFY1x1A", + "userId": "user-eymwyo23" + }, + "dataVersion": "1.0", + "metadataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/examples/client_connection_disconnected.json b/specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/examples/client_connection_disconnected.json new file mode 100644 index 000000000000..33027c195350 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/examples/client_connection_disconnected.json @@ -0,0 +1,16 @@ +{ + "topic": "/subscriptions/{subscription-id}/resourceGroups/signalr-rg/providers/Microsoft.SignalRService/SignalR/signalr-resource", + "subject": "/hub/chat", + "eventType": "Microsoft.SignalRService.ClientConnectionDisconnected", + "eventTime": "2019-06-10T18:41:00.9584103Z", + "id": "831e1650-001e-001b-66ab-eeb76e069631", + "data": { + "timestamp": "2019-06-10T18:41:00.9584103Z", + "hubName": "chat", + "connectionId": "crH0uxVSvP61p5wkFY1x1A", + "userId": "user-eymwyo23", + "errorMessage": "Internal server error." + }, + "dataVersion": "1.0", + "metadataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_service_plan_updated.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_service_plan_updated.json new file mode 100644 index 000000000000..a848b7fb67c2 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_service_plan_updated.json @@ -0,0 +1,29 @@ +{ + "id": "56501672-9150-40e1-893a-18420c7fdbf7", + "topic": "/subscriptions//resourceGroups//providers/Microsoft.Web/serverfarms/", + "subject": "/Microsoft.Web/serverfarms/", + "eventType": "Microsoft.Web.AppServicePlanUpdated", + "eventTime": "2020-01-28T18:22:23.5516004Z", + "data": { + "serverFarmEventTypeDetail": { + "stampKind": "Public", + "action": "Updated", + "status": "Started" + }, + "serverFarmId": "0", + "sku": { + "name": "P1v2", + "tier": "PremiumV2", + "size": "P1v2", + "family": "Pv2", + "capacity": 1 + }, + "clientRequestId": "8f880321-a991-45c7-b743-6ff63fe4c004", + "correlationRequestId": "1995c3be-ba7f-4ccf-94af-516df637ec8a", + "requestId": "b973a8e6-6949-4783-b44c-ac778be831bb", + "address": "/websystems/WebSites/serverfarms/subscriptions//webspaces//serverfarms//async", + "verb": "PUT" + }, + "dataVersion": "1", + "metaDataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_updated_changed_app_settings.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_updated_changed_app_settings.json new file mode 100644 index 000000000000..f4fc8b97d91e --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_updated_changed_app_settings.json @@ -0,0 +1,20 @@ +{ + "id": "b74ea56b-2a3f-4de5-a5d7-38e60c81cf23", + "topic": "/subscriptions//resourceGroups//providers/Microsoft.Web/sites/", + "subject": "/Microsoft.Web/sites/", + "eventType": "Microsoft.Web.AppUpdated", + "eventTime": "2020-01-28T18:22:30.2760952Z", + "data": { + "appEventTypeDetail": { + "action": "Stopped" + }, + "name": "", + "clientRequestId": "64a5e0aa-7cee-4ff1-9093-b9197b820014", + "correlationRequestId": "25bb36a5-8f6c-4f04-b615-e9a0ee045756", + "requestId": "f2e8eb3f-b190-42de-b99e-6acefe587374", + "address": "/websystems/WebSites/web/subscriptions//webspaces//sites//stop", + "verb": "POST" + }, + "dataVersion": "1'", + "metaDataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_updated_restarted.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_updated_restarted.json new file mode 100644 index 000000000000..f4fc8b97d91e --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_updated_restarted.json @@ -0,0 +1,20 @@ +{ + "id": "b74ea56b-2a3f-4de5-a5d7-38e60c81cf23", + "topic": "/subscriptions//resourceGroups//providers/Microsoft.Web/sites/", + "subject": "/Microsoft.Web/sites/", + "eventType": "Microsoft.Web.AppUpdated", + "eventTime": "2020-01-28T18:22:30.2760952Z", + "data": { + "appEventTypeDetail": { + "action": "Stopped" + }, + "name": "", + "clientRequestId": "64a5e0aa-7cee-4ff1-9093-b9197b820014", + "correlationRequestId": "25bb36a5-8f6c-4f04-b615-e9a0ee045756", + "requestId": "f2e8eb3f-b190-42de-b99e-6acefe587374", + "address": "/websystems/WebSites/web/subscriptions//webspaces//sites//stop", + "verb": "POST" + }, + "dataVersion": "1'", + "metaDataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_updated_stopped.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_updated_stopped.json new file mode 100644 index 000000000000..f4fc8b97d91e --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_updated_stopped.json @@ -0,0 +1,20 @@ +{ + "id": "b74ea56b-2a3f-4de5-a5d7-38e60c81cf23", + "topic": "/subscriptions//resourceGroups//providers/Microsoft.Web/sites/", + "subject": "/Microsoft.Web/sites/", + "eventType": "Microsoft.Web.AppUpdated", + "eventTime": "2020-01-28T18:22:30.2760952Z", + "data": { + "appEventTypeDetail": { + "action": "Stopped" + }, + "name": "", + "clientRequestId": "64a5e0aa-7cee-4ff1-9093-b9197b820014", + "correlationRequestId": "25bb36a5-8f6c-4f04-b615-e9a0ee045756", + "requestId": "f2e8eb3f-b190-42de-b99e-6acefe587374", + "address": "/websystems/WebSites/web/subscriptions//webspaces//sites//stop", + "verb": "POST" + }, + "dataVersion": "1'", + "metaDataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/backup_operation_completed.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/backup_operation_completed.json new file mode 100644 index 000000000000..003e0f344f4b --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/backup_operation_completed.json @@ -0,0 +1,20 @@ +{ + "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", + "topic": "/subscriptions//resourceGroups//providers/Microsoft.Web/sites/", + "subject": "/Microsoft.Web/sites/", + "eventType": "Microsoft.Web.BackupOperationCompleted", + "eventTime": "2020-01-28T18:26:51.7194887Z", + "data": { + "appEventTypeDetail": { + "action": "Started" + }, + "name": "", + "clientRequestId": "None", + "correlationRequestId": "None", + "requestId": "292f499d-04ee-4066-994d-c2df57b99198", + "address": "None", + "verb": "None" + }, + "dataVersion": "1", + "metaDataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/backup_operation_failed.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/backup_operation_failed.json new file mode 100644 index 000000000000..a551efecf375 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/backup_operation_failed.json @@ -0,0 +1,20 @@ +{ + "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", + "topic": "/subscriptions//resourceGroups//providers/Microsoft.Web/sites/", + "subject": "/Microsoft.Web/sites/", + "eventType": "Microsoft.Web.BackupOperationFailed", + "eventTime": "2020-01-28T18:26:51.7194887Z", + "data": { + "appEventTypeDetail": { + "action": "Started" + }, + "name": "", + "clientRequestId": "None", + "correlationRequestId": "None", + "requestId": "292f499d-04ee-4066-994d-c2df57b99198", + "address": "None", + "verb": "None" + }, + "dataVersion": "1", + "metaDataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/backup_operation_started.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/backup_operation_started.json new file mode 100644 index 000000000000..0267b13c8c9d --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/backup_operation_started.json @@ -0,0 +1,20 @@ +{ + "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", + "topic": "/subscriptions//resourceGroups//providers/Microsoft.Web/sites/", + "subject": "/Microsoft.Web/sites/", + "eventType": "Microsoft.Web.BackupOperationStarted", + "eventTime": "2020-01-28T18:26:51.7194887Z", + "data": { + "appEventTypeDetail": { + "action": "Started" + }, + "name": "", + "clientRequestId": "None", + "correlationRequestId": "None", + "requestId": "292f499d-04ee-4066-994d-c2df57b99198", + "address": "None", + "verb": "None" + }, + "dataVersion": "1", + "metaDataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/restore_operation_completed.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/restore_operation_completed.json new file mode 100644 index 000000000000..8b53b79b26d9 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/restore_operation_completed.json @@ -0,0 +1,21 @@ + +{ + "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", + "topic": "/subscriptions//resourceGroups//providers/Microsoft.Web/sites/", + "subject": "/Microsoft.Web/sites/", + "eventType": "Microsoft.Web.RestoreOperationCompleted", + "eventTime": "2020-01-28T18:26:51.7194887Z", + "data": { + "appEventTypeDetail": { + "action": "Started" + }, + "name": "", + "clientRequestId": "None", + "correlationRequestId": "None", + "requestId": "292f499d-04ee-4066-994d-c2df57b99198", + "address": "None", + "verb": "POST" + }, + "dataVersion": "1", + "metaDataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/restore_operation_failed.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/restore_operation_failed.json new file mode 100644 index 000000000000..0a65fc26ef82 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/restore_operation_failed.json @@ -0,0 +1,20 @@ +{ + "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", + "topic": "/subscriptions//resourceGroups//providers/Microsoft.Web/sites/", + "subject": "/Microsoft.Web/sites/", + "eventType": "Microsoft.Web.RestoreOperationFailed", + "eventTime": "2020-01-28T18:26:51.7194887Z", + "data": { + "appEventTypeDetail": { + "action": "Started" + }, + "name": "", + "clientRequestId": "None", + "correlationRequestId": "None", + "requestId": "292f499d-04ee-4066-994d-c2df57b99198", + "address": "None", + "verb": "POST" + }, + "dataVersion": "1", + "metaDataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/restore_operation_started.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/restore_operation_started.json new file mode 100644 index 000000000000..6f4b1ec0963a --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/restore_operation_started.json @@ -0,0 +1,20 @@ +{ + "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", + "topic": "/subscriptions//resourceGroups//providers/Microsoft.Web/sites/", + "subject": "/Microsoft.Web/sites/", + "eventType": "Microsoft.Web.RestoreOperationStarted", + "eventTime": "2020-01-28T18:26:51.7194887Z", + "data": { + "appEventTypeDetail": { + "action": "Started" + }, + "name": "", + "clientRequestId": "None", + "correlationRequestId": "None", + "requestId": "292f499d-04ee-4066-994d-c2df57b99198", + "address": "None", + "verb": "POST" + }, + "dataVersion": "1", + "metaDataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_completed.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_completed.json new file mode 100644 index 000000000000..a6fa8b775040 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_completed.json @@ -0,0 +1,20 @@ +{ + "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", + "topic": "/subscriptions//resourceGroups//providers/Microsoft.Web/sites/", + "subject": "/Microsoft.Web/sites/", + "eventType": "Microsoft.Web.SlotSwapCompleted", + "eventTime": "2020-01-28T18:26:51.7194887Z", + "data": { + "appEventTypeDetail": null, + "name": "", + "clientRequestId": "922f4841-20d9-4dd6-8c5b-23f0d85e5592", + "correlationRequestId": "9ac46505-2b8a-4e06-834c-05ffbe2e8c3a", + "requestId": "765117aa-eaf8-4bd2-a644-1dbf69c7b0fd", + "address": "/websystems/WebSites/web/subscriptions//webspaces//sites//slots?Command=SWAP&targetSlot=production", + "verb": "POST", + "sourceSlot": "staging", + "targetSlot": "production" + }, + "dataVersion": "1", + "metaDataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_failed.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_failed.json new file mode 100644 index 000000000000..5c6c65a31fd4 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_failed.json @@ -0,0 +1,20 @@ +{ + "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", + "topic": "/subscriptions//resourceGroups//providers/Microsoft.Web/sites/", + "subject": "/Microsoft.Web/sites/", + "eventType": "Microsoft.Web.SlotSwapFailed", + "eventTime": "2020-01-28T18:26:51.7194887Z", + "data": { + "appEventTypeDetail": null, + "name": "", + "clientRequestId": "922f4841-20d9-4dd6-8c5b-23f0d85e5592", + "correlationRequestId": "9ac46505-2b8a-4e06-834c-05ffbe2e8c3a", + "requestId": "765117aa-eaf8-4bd2-a644-1dbf69c7b0fd", + "address": "/websystems/WebSites/web/subscriptions//webspaces//sites//slots?Command=SWAP&targetSlot=production", + "verb": "POST", + "sourceSlot": "staging", + "targetSlot": "production" + }, + "dataVersion": "1", + "metaDataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_started.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_started.json new file mode 100644 index 000000000000..9cfb5639b6b3 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_started.json @@ -0,0 +1,20 @@ +{ + "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", + "topic": "/subscriptions//resourceGroups//providers/Microsoft.Web/sites/", + "subject": "/Microsoft.Web/sites/", + "eventType": "Microsoft.Web.SlotSwapStarted", + "eventTime": "2020-01-28T18:26:51.7194887Z", + "data": { + "appEventTypeDetail": null, + "name": "", + "clientRequestId": "922f4841-20d9-4dd6-8c5b-23f0d85e5592", + "correlationRequestId": "9ac46505-2b8a-4e06-834c-05ffbe2e8c3a", + "requestId": "765117aa-eaf8-4bd2-a644-1dbf69c7b0fd", + "address": "/websystems/WebSites/web/subscriptions//webspaces//sites//slots?Command=SWAP&targetSlot=production", + "verb": "POST", + "sourceSlot": "staging", + "targetSlot": "production" + }, + "dataVersion": "1", + "metaDataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_with_preview_cancelled.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_with_preview_cancelled.json new file mode 100644 index 000000000000..a6e0d26208fe --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_with_preview_cancelled.json @@ -0,0 +1,20 @@ +{ + "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", + "topic": "/subscriptions//resourceGroups//providers/Microsoft.Web/sites/", + "subject": "/Microsoft.Web/sites/", + "eventType": "Microsoft.Web.SlotSwapWithPreviewCancelled", + "eventTime": "2020-01-28T18:26:51.7194887Z", + "data": { + "appEventTypeDetail": null, + "name": "", + "clientRequestId": "922f4841-20d9-4dd6-8c5b-23f0d85e5592", + "correlationRequestId": "9ac46505-2b8a-4e06-834c-05ffbe2e8c3a", + "requestId": "765117aa-eaf8-4bd2-a644-1dbf69c7b0fd", + "address": "/websystems/WebSites/web/subscriptions//webspaces//sites//slots?Command=SWAP&targetSlot=production", + "verb": "POST", + "sourceSlot": "staging", + "targetSlot": "production" + }, + "dataVersion": "1", + "metaDataVersion": "1" +} diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_with_preview_started.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_with_preview_started.json new file mode 100644 index 000000000000..9eba26075c72 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_with_preview_started.json @@ -0,0 +1,20 @@ +{ + "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", + "topic": "/subscriptions//resourceGroups//providers/Microsoft.Web/sites/", + "subject": "/Microsoft.Web/sites/", + "eventType": "Microsoft.Web.SlotSwapWithPreviewStarted", + "eventTime": "2020-01-28T18:26:51.7194887Z", + "data": { + "appEventTypeDetail": null, + "name": "", + "clientRequestId": "922f4841-20d9-4dd6-8c5b-23f0d85e5592", + "correlationRequestId": "9ac46505-2b8a-4e06-834c-05ffbe2e8c3a", + "requestId": "765117aa-eaf8-4bd2-a644-1dbf69c7b0fd", + "address": "/websystems/WebSites/web/subscriptions//webspaces//sites//slots?Command=SWAP&targetSlot=production", + "verb": "POST", + "sourceSlot": "staging", + "targetSlot": "production" + }, + "dataVersion": "1", + "metaDataVersion": "1" +} From 0d66cff625497ba7899093e92bd4ad0a509aba68 Mon Sep 17 00:00:00 2001 From: "Tianyun Gao (MSFT)" <65581162+Tianyun-G@users.noreply.github.com> Date: Thu, 14 Oct 2021 17:35:55 +0800 Subject: [PATCH 02/32] Rename certificate_new_version_created.json to secret_new_version_created.json --- ...e_new_version_created.json => secret_new_version_created.json} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename specification/eventgrid/data-plane/Microsoft.KeyVault/stable/2018-01-01/examples/{certificate_new_version_created.json => secret_new_version_created.json} (100%) diff --git a/specification/eventgrid/data-plane/Microsoft.KeyVault/stable/2018-01-01/examples/certificate_new_version_created.json b/specification/eventgrid/data-plane/Microsoft.KeyVault/stable/2018-01-01/examples/secret_new_version_created.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.KeyVault/stable/2018-01-01/examples/certificate_new_version_created.json rename to specification/eventgrid/data-plane/Microsoft.KeyVault/stable/2018-01-01/examples/secret_new_version_created.json From e36bc35a4e2570b6e05bedb0dbd103399b2dfab3 Mon Sep 17 00:00:00 2001 From: "Tianyun Gao (MSFT)" <65581162+Tianyun-G@users.noreply.github.com> Date: Thu, 14 Oct 2021 17:54:31 +0800 Subject: [PATCH 03/32] Update geofence_entered.json --- .../2018-01-01/examples/geofence_entered.json | 39 ++++++++++--------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_entered.json b/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_entered.json index 41b530fb4bfa..5e1ab02ebf9f 100644 --- a/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_entered.json +++ b/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_entered.json @@ -1,25 +1,26 @@ -{   -    "id":"7f8446e2-1ac7-4234-8425-303726ea3981", -    "topic":"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Maps/accounts/{accountName}", -    "subject":"/spatial/geofence/udid/{udid}/id/{eventId}", -    "data":{   -       "geometries":[   -          {   -             "deviceId":"device_1", -             "udId":"1a13b444-4acf-32ab-ce4e-9ca4af20b169", -             "geometryId":"2", -             "distance":-999.0, -             "nearestLat":47.618786, -             "nearestLon":-122.132151 -          } +{ + "id":"7f8446e2-1ac7-4234-8425-303726ea3981", + "topic":"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Maps/accounts/{accountName}", + "subject":"/spatial/geofence/udid/{udid}/id/{eventId}", + "data":{   +    "geometries":[   +        {   +          "deviceId":"device_1", +          "udId":"1a13b444-4acf-32ab-ce4e-9ca4af20b169", +          "geometryId":"2", +          "distance":-999.0, +          "nearestLat":47.618786, +          "nearestLon":-122.132151 +        }       ],       "expiredGeofenceGeometryId":[         ],       "invalidPeriodGeofenceGeometryId":[         ]    }, -    "eventType":"Microsoft.Maps.GeofenceEntered", -    "eventTime":"2018-11-08T00:54:17.6408601Z", -    "metadataVersion":"1", -    "dataVersion":"1.0" - } +  "eventType":"Microsoft.Maps.GeofenceEntered", +  "eventTime":"2018-11-08T00:54:17.6408601Z", +  "metadataVersion":"1", +  "dataVersion":"1.0" + +} From de246c17ce1765af07b47637521d65e023956df6 Mon Sep 17 00:00:00 2001 From: "Tianyun Gao (MSFT)" <65581162+Tianyun-G@users.noreply.github.com> Date: Thu, 14 Oct 2021 17:54:45 +0800 Subject: [PATCH 04/32] Create geofence_entered.json From bc30e9f18f43b0b94140d1c343b76281a78d9ae9 Mon Sep 17 00:00:00 2001 From: "Tianyun Gao (MSFT)" <65581162+Tianyun-G@users.noreply.github.com> Date: Thu, 14 Oct 2021 17:57:03 +0800 Subject: [PATCH 05/32] Update geofence_entered.json --- .../2018-01-01/examples/geofence_entered.json | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_entered.json b/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_entered.json index 5e1ab02ebf9f..1f8b9bfd9d94 100644 --- a/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_entered.json +++ b/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_entered.json @@ -2,25 +2,25 @@ "id":"7f8446e2-1ac7-4234-8425-303726ea3981", "topic":"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Maps/accounts/{accountName}", "subject":"/spatial/geofence/udid/{udid}/id/{eventId}", - "data":{   -    "geometries":[   -        {   -          "deviceId":"device_1", -          "udId":"1a13b444-4acf-32ab-ce4e-9ca4af20b169", -          "geometryId":"2", -          "distance":-999.0, -          "nearestLat":47.618786, -          "nearestLon":-122.132151 -        } -       ], -       "expiredGeofenceGeometryId":[   -       ], -       "invalidPeriodGeofenceGeometryId":[   -       ] -    }, -  "eventType":"Microsoft.Maps.GeofenceEntered", -  "eventTime":"2018-11-08T00:54:17.6408601Z", -  "metadataVersion":"1", -  "dataVersion":"1.0" + "data":{ +  "geometries":[   +  { +  "deviceId":"device_1", +  "udId":"1a13b444-4acf-32ab-ce4e-9ca4af20b169", +  "geometryId":"2", +  "distance":-999.0, +  "nearestLat":47.618786, +  "nearestLon":-122.132151 +  } +  ], +  "expiredGeofenceGeometryId":[ + ], +  "invalidPeriodGeofenceGeometryId":[ +  ] +  }, + "eventType":"Microsoft.Maps.GeofenceEntered", + "eventTime":"2018-11-08T00:54:17.6408601Z", + "metadataVersion":"1", + "dataVersion":"1.0" } From 7361f0faed3ccd5891d48e1ea0e34c68abe2c758 Mon Sep 17 00:00:00 2001 From: "Tianyun Gao (MSFT)" <65581162+Tianyun-G@users.noreply.github.com> Date: Thu, 14 Oct 2021 17:58:12 +0800 Subject: [PATCH 06/32] Update geofence_entered.json --- .../2018-01-01/examples/geofence_entered.json | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_entered.json b/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_entered.json index 1f8b9bfd9d94..09ccb5f2da62 100644 --- a/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_entered.json +++ b/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_entered.json @@ -3,21 +3,21 @@ "topic":"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Maps/accounts/{accountName}", "subject":"/spatial/geofence/udid/{udid}/id/{eventId}", "data":{ -  "geometries":[   -  { -  "deviceId":"device_1", -  "udId":"1a13b444-4acf-32ab-ce4e-9ca4af20b169", -  "geometryId":"2", -  "distance":-999.0, -  "nearestLat":47.618786, -  "nearestLon":-122.132151 -  } -  ], -  "expiredGeofenceGeometryId":[ + "geometries":[  + { + "deviceId":"device_1", + "udId":"1a13b444-4acf-32ab-ce4e-9ca4af20b169", + "geometryId":"2", + "distance":-999.0, + "nearestLat":47.618786, + "nearestLon":-122.132151 + } + ], + "expiredGeofenceGeometryId":[ ], -  "invalidPeriodGeofenceGeometryId":[ -  ] -  }, + "invalidPeriodGeofenceGeometryId":[ + ] + }, "eventType":"Microsoft.Maps.GeofenceEntered", "eventTime":"2018-11-08T00:54:17.6408601Z", "metadataVersion":"1", From 69621f4c2533ccdfe921af455cdd7ba350e0fdf2 Mon Sep 17 00:00:00 2001 From: "Tianyun Gao (MSFT)" <65581162+Tianyun-G@users.noreply.github.com> Date: Thu, 14 Oct 2021 17:58:44 +0800 Subject: [PATCH 07/32] Update geofence_entered.json --- .../stable/2018-01-01/examples/geofence_entered.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_entered.json b/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_entered.json index 09ccb5f2da62..b2bbb65d26b8 100644 --- a/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_entered.json +++ b/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_entered.json @@ -3,7 +3,7 @@ "topic":"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Maps/accounts/{accountName}", "subject":"/spatial/geofence/udid/{udid}/id/{eventId}", "data":{ - "geometries":[  + "geometries":[ { "deviceId":"device_1", "udId":"1a13b444-4acf-32ab-ce4e-9ca4af20b169", From b4fd6e9b037077ba788a34aea0f2be8559e62431 Mon Sep 17 00:00:00 2001 From: "Tianyun Gao (MSFT)" <65581162+Tianyun-G@users.noreply.github.com> Date: Thu, 14 Oct 2021 18:01:50 +0800 Subject: [PATCH 08/32] Update geofence_result.json --- .../2018-01-01/examples/geofence_result.json | 64 +++++++++---------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_result.json b/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_result.json index 713aa117eea2..5379976969ca 100644 --- a/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_result.json +++ b/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_result.json @@ -1,33 +1,33 @@ -{   -    "id":"451675de-a67d-4929-876c-5c2bf0b2c000", -    "topic":"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Maps/accounts/{accountName}", -    "subject":"/spatial/geofence/udid/{udid}/id/{eventId}", -    "data":{   -       "geometries":[   -          {   -             "deviceId":"device_1", -             "udId":"1a13b444-4acf-32ab-ce4e-9ca4af20b169", -             "geometryId":"1", -             "distance":999.0, -             "nearestLat":47.609833, -             "nearestLon":-122.148274 -          }, -          {   -             "deviceId":"device_1", -             "udId":"1a13b444-4acf-32ab-ce4e-9ca4af20b169", -             "geometryId":"2", -             "distance":999.0, -             "nearestLat":47.621954, -             "nearestLon":-122.131841 -          } -       ], -       "expiredGeofenceGeometryId":[   -       ], -       "invalidPeriodGeofenceGeometryId":[   -       ] -    }, -    "eventType":"Microsoft.Maps.GeofenceResult", -    "eventTime":"2018-11-08T00:52:08.0954283Z", -    "metadataVersion":"1", -    "dataVersion":"1.0" +{ + "id":"451675de-a67d-4929-876c-5c2bf0b2c000", +"topic":"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Maps/accounts/{accountName}", + "subject":"/spatial/geofence/udid/{udid}/id/{eventId}", + "data":{   + "geometries":[   + { + "deviceId":"device_1", + "udId":"1a13b444-4acf-32ab-ce4e-9ca4af20b169", + "geometryId":"1", + "distance":999.0, + "nearestLat":47.609833, + "nearestLon":-122.148274 + }, + { + "deviceId":"device_1", + "udId":"1a13b444-4acf-32ab-ce4e-9ca4af20b169", + "geometryId":"2", + "distance":999.0, + "nearestLat":47.621954, + "nearestLon":-122.131841 + } + ], + "expiredGeofenceGeometryId":[ + ], + "invalidPeriodGeofenceGeometryId":[ + ] + }, + "eventType":"Microsoft.Maps.GeofenceResult", + "eventTime":"2018-11-08T00:52:08.0954283Z", + "metadataVersion":"1", + "dataVersion":"1.0" } From 452603b4570883247e34b65de1f35c195f558717 Mon Sep 17 00:00:00 2001 From: "Tianyun Gao (MSFT)" <65581162+Tianyun-G@users.noreply.github.com> Date: Thu, 14 Oct 2021 18:02:23 +0800 Subject: [PATCH 09/32] Update geofence_result.json --- .../stable/2018-01-01/examples/geofence_result.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_result.json b/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_result.json index 5379976969ca..176c8db3e613 100644 --- a/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_result.json +++ b/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_result.json @@ -2,8 +2,8 @@ "id":"451675de-a67d-4929-876c-5c2bf0b2c000", "topic":"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Maps/accounts/{accountName}", "subject":"/spatial/geofence/udid/{udid}/id/{eventId}", - "data":{   - "geometries":[   + "data":{ + "geometries":[ { "deviceId":"device_1", "udId":"1a13b444-4acf-32ab-ce4e-9ca4af20b169", From 12742e7cb54f4b53472ba0a6fc6c1066c6c285fd Mon Sep 17 00:00:00 2001 From: "Tianyun Gao (MSFT)" <65581162+Tianyun-G@users.noreply.github.com> Date: Fri, 15 Oct 2021 09:35:06 +0800 Subject: [PATCH 10/32] Update keyvalue_deleted.json Add syncToken for AppConfiguration. --- .../stable/2018-01-01/examples/keyvalue_deleted.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/examples/keyvalue_deleted.json b/specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/examples/keyvalue_deleted.json index be6076452f4c..ed7621dab03e 100644 --- a/specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/examples/keyvalue_deleted.json +++ b/specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/examples/keyvalue_deleted.json @@ -5,7 +5,8 @@ "data": { "key": "Foo", "label": "FizzBuzz", - "etag": "FnUExLaj2moIi4tJX9AXn9sakm0" + "etag": "FnUExLaj2moIi4tJX9AXn9sakm0", + "syncToken": "zAJw6V16=Njo1IzUxNjQ2NzM=;sn=5164673" }, "eventType": "Microsoft.AppConfiguration.KeyValueDeleted", "eventTime": "2019-05-31T20:05:03Z", From 2627e6bf15db097936129164f0c589ca9e37a191 Mon Sep 17 00:00:00 2001 From: "Tianyun Gao (MSFT)" <65581162+Tianyun-G@users.noreply.github.com> Date: Fri, 15 Oct 2021 09:36:19 +0800 Subject: [PATCH 11/32] Update keyvalue_modified.json Add syncToken for AppConfiguration. --- .../stable/2018-01-01/examples/keyvalue_modified.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/examples/keyvalue_modified.json b/specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/examples/keyvalue_modified.json index 37d64e46576c..a2948012d16e 100644 --- a/specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/examples/keyvalue_modified.json +++ b/specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/examples/keyvalue_modified.json @@ -5,7 +5,8 @@ "data": { "key": "Foo", "label": "FizzBuzz", - "etag": "FnUExLaj2moIi4tJX9AXn9sakm0" + "etag": "FnUExLaj2moIi4tJX9AXn9sakm0", + "syncToken": "zAJw6V16=Njo1IzUxNjQ2NzM=;sn=5164673" }, "eventType": "Microsoft.AppConfiguration.KeyValueModified", "eventTime": "2019-05-31T20:05:03Z", From bed2df65ec7f7373ae7adee49bc8453afb21cd26 Mon Sep 17 00:00:00 2001 From: "Tianyun Gao (MSFT)" <65581162+Tianyun-G@users.noreply.github.com> Date: Fri, 15 Oct 2021 09:42:52 +0800 Subject: [PATCH 12/32] Delete chat_member_removed_from_thread_with_user.json --- ..._member_removed_from_thread_with_user.json | 22 ------------------- 1 file changed, 22 deletions(-) delete mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_member_removed_from_thread_with_user.json diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_member_removed_from_thread_with_user.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_member_removed_from_thread_with_user.json deleted file mode 100644 index 0276b0c1f76f..000000000000 --- a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_member_removed_from_thread_with_user.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "id": "b3701976-1ea2-4d66-be68-4ec4fc1b4b96", - "topic": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", - "subject": "thread/{thread-id}/memberRemoved/{rawId}/recipient/{rawId}", - "data": { - "time": "2020-09-18T00:47:51.1461742Z", - "removedBy": "8:acs:5354158b-17b7-489c-9380-95d8821ff76b_00000005-3e5f-1bc6-f40f-343a0d0003f1", - "memberRemoved": { - "displayName": "John", - "memberId": "8:acs:5354158b-17b7-489c-9380-95d8821ff76b_00000005-3e5f-1bc6-f40f-343a0d0003fe" - }, - "createTime": "2020-09-18T00:46:41.559Z", - "version": 1600390071131, - "recipientId": "8:acs:5354158b-17b7-489c-9380-95d8821ff76b_00000005-3e5f-1bc6-f40f-343a0d0003f0", - "transactionId": "G9Y+UbjVmEuxAG3O4bEyvw.1.1.1.1.1819803816.1.1", - "threadId": "19:6d20c2f921cd402ead7d1b31b0d030cd@thread.v2" - }, - "eventType": "Microsoft.Communication.ChatMemberRemovedFromThreadWithUser", - "dataVersion": "1.0", - "metadataVersion": "1", - "eventTime": "2020-09-18T00:47:51.2244511Z" -} \ No newline at end of file From 2a1300de4240fcc6b902b193348f9ae80d9f48ca Mon Sep 17 00:00:00 2001 From: "Tianyun Gao (MSFT)" <65581162+Tianyun-G@users.noreply.github.com> Date: Fri, 15 Oct 2021 09:44:30 +0800 Subject: [PATCH 13/32] Delete chat_member_added_to_thread_with_user.json --- ...chat_member_added_to_thread_with_user.json | 22 ------------------- 1 file changed, 22 deletions(-) delete mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_member_added_to_thread_with_user.json diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_member_added_to_thread_with_user.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_member_added_to_thread_with_user.json deleted file mode 100644 index 17036bcc3d21..000000000000 --- a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_member_added_to_thread_with_user.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "id": "4abd2b49-d1a9-4fcc-9cd7-170fa5d96443", - "topic": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", - "subject": "thread/{thread-id}/memberAdded/{rawId}/recipient/{rawId}", - "data": { - "time": "2020-09-18T00:47:13.1867087Z", - "addedBy": "8:acs:5354158b-17b7-489c-9380-95d8821ff76b_00000005-3e5f-1bc6-f40f-343a0d0003f1", - "memberAdded": { - "displayName": "John Smith", - "memberId": "8:acs:5354158b-17b7-489c-9380-95d8821ff76b_00000005-3e5f-1bc6-f40f-343a0d0003fe" - }, - "createTime": "2020-09-18T00:46:41.559Z", - "version": 1600390033176, - "recipientId": "8:acs:5354158b-17b7-489c-9380-95d8821ff76b_00000005-3e5f-1bc6-f40f-343a0d0003f0", - "transactionId": "pVIjw/pHEEKUOUJ2DAAl5A.1.1.1.1.1818361951.1.1", - "threadId": "19:6d20c2f921cd402ead7d1b31b0d030cd@thread.v2" - }, - "eventType": "Microsoft.Communication.ChatMemberAddedToThreadWithUser", - "dataVersion": "1.0", - "metadataVersion": "1", - "eventTime": "2020-09-18T00:47:13.2342692Z" -} \ No newline at end of file From 529a52f780a051d128b9ee8c668243a65c248e31 Mon Sep 17 00:00:00 2001 From: "Tianyun Gao (MSFT)" <65581162+Tianyun-G@users.noreply.github.com> Date: Thu, 21 Oct 2021 10:57:02 +0800 Subject: [PATCH 14/32] Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> --- .../active_messages_available_periodic_notifications.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json index 5b66f99c633d..87ee9a1d9847 100644 --- a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json +++ b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json @@ -1,5 +1,5 @@ { - "topic": "/subscriptions//resourcegroups/DemoGroup/providers/Microsoft.ServiceBus/namespaces/", + "topic": "/subscriptions/{subscription-id}/resourcegroups/DemoGroup/providers/Microsoft.ServiceBus/namespaces/{namespace}", "subject": "topics//subscriptions/", "eventType": "Microsoft.ServiceBus.ActiveMessagesAvailablePeriodicNotifications", "eventTime": "2018-02-14T05:12:53.4133526Z", From 0f3caf3b0e9c9f933effebf1ab6abdaae4d9f8a5 Mon Sep 17 00:00:00 2001 From: "Tianyun Gao (MSFT)" <65581162+Tianyun-G@users.noreply.github.com> Date: Thu, 21 Oct 2021 10:57:24 +0800 Subject: [PATCH 15/32] Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> --- .../active_messages_available_periodic_notifications.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json index 87ee9a1d9847..75ad3d419cd9 100644 --- a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json +++ b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json @@ -6,7 +6,7 @@ "id": "dede87b0-3656-419c-acaf-70c95ddc60f5", "data": { "namespaceName": "YOUR SERVICE BUS NAMESPACE WILL SHOW HERE", - "requestUri": "https://YOUR-SERVICE-BUS-NAMESPACE-WILL-SHOW-HERE.servicebus.windows.net/TOPIC-NAME/subscriptions/SUBSCRIPTIONNAME/$deadletterqueue/messages/head", + "requestUri": "https://{namespace}.servicebus.windows.net/{topic}/subscriptions/{subscription}/$deadletterqueue/messages/head", "entityType": "subscriber", "queueName": "QUEUE NAME IF QUEUE", "topicName": "TOPIC NAME IF TOPIC", From b437ce5a5fc460775b3c77bd0b1da739d9228ba9 Mon Sep 17 00:00:00 2001 From: "Tianyun Gao (MSFT)" <65581162+Tianyun-G@users.noreply.github.com> Date: Thu, 21 Oct 2021 10:57:32 +0800 Subject: [PATCH 16/32] Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> --- .../active_messages_available_periodic_notifications.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json index 75ad3d419cd9..8d1c37b5e91d 100644 --- a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json +++ b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json @@ -8,7 +8,7 @@ "namespaceName": "YOUR SERVICE BUS NAMESPACE WILL SHOW HERE", "requestUri": "https://{namespace}.servicebus.windows.net/{topic}/subscriptions/{subscription}/$deadletterqueue/messages/head", "entityType": "subscriber", - "queueName": "QUEUE NAME IF QUEUE", + "queueName": null, "topicName": "TOPIC NAME IF TOPIC", "subscriptionName": "SUBSCRIPTION NAME" }, From 6d26e007b4294b62820bc036bc7e5cee4ace8838 Mon Sep 17 00:00:00 2001 From: "Tianyun Gao (MSFT)" <65581162+Tianyun-G@users.noreply.github.com> Date: Thu, 21 Oct 2021 10:57:39 +0800 Subject: [PATCH 17/32] Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> --- .../active_messages_available_periodic_notifications.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json index 8d1c37b5e91d..f70b60a2007a 100644 --- a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json +++ b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json @@ -10,7 +10,7 @@ "entityType": "subscriber", "queueName": null, "topicName": "TOPIC NAME IF TOPIC", - "subscriptionName": "SUBSCRIPTION NAME" + "subscriptionName": "{subscription}" }, "dataVersion": "1", "metadataVersion": "1" From d04b5de047cfbe2a1726cb5eb4b9e061948ed76a Mon Sep 17 00:00:00 2001 From: "Tianyun Gao (MSFT)" <65581162+Tianyun-G@users.noreply.github.com> Date: Thu, 21 Oct 2021 10:57:46 +0800 Subject: [PATCH 18/32] Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> --- .../active_messages_available_periodic_notifications.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json index f70b60a2007a..fb7f3fd5028f 100644 --- a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json +++ b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json @@ -9,7 +9,7 @@ "requestUri": "https://{namespace}.servicebus.windows.net/{topic}/subscriptions/{subscription}/$deadletterqueue/messages/head", "entityType": "subscriber", "queueName": null, - "topicName": "TOPIC NAME IF TOPIC", + "topicName": "{topic}", "subscriptionName": "{subscription}" }, "dataVersion": "1", From 97037095e1d6e5a97788e782446a78d8debdd9bf Mon Sep 17 00:00:00 2001 From: "Tianyun Gao (MSFT)" <65581162+Tianyun-G@users.noreply.github.com> Date: Thu, 21 Oct 2021 10:57:55 +0800 Subject: [PATCH 19/32] Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> --- .../deadletter_messages_available_periodic_notification.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json index 8b2ea007706d..58db82648ad4 100644 --- a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json +++ b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json @@ -6,7 +6,7 @@ "id": "dede87b0-3656-419c-acaf-70c95ddc60f5", "data": { "namespaceName": "YOUR SERVICE BUS NAMESPACE WILL SHOW HERE", - "requestUri": "https://YOUR-SERVICE-BUS-NAMESPACE-WILL-SHOW-HERE.servicebus.windows.net/TOPIC-NAME/subscriptions/SUBSCRIPTIONNAME/$deadletterqueue/messages/head", + "requestUri": "https://{namespace}.servicebus.windows.net/{queue}/$deadletterqueue/messages/head", "entityType": "subscriber", "queueName": "QUEUE NAME IF QUEUE", "topicName": "TOPIC NAME IF TOPIC", From 9f83e34fac3ae250a299ceb2d2ade24236ad0425 Mon Sep 17 00:00:00 2001 From: "Tianyun Gao (MSFT)" <65581162+Tianyun-G@users.noreply.github.com> Date: Thu, 21 Oct 2021 10:58:19 +0800 Subject: [PATCH 20/32] Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> --- .../deadletter_messages_available_periodic_notification.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json index 58db82648ad4..e7b3d183bf4b 100644 --- a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json +++ b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json @@ -5,7 +5,7 @@ "eventTime": "2018-02-14T05:12:53.4133526Z", "id": "dede87b0-3656-419c-acaf-70c95ddc60f5", "data": { - "namespaceName": "YOUR SERVICE BUS NAMESPACE WILL SHOW HERE", + "namespaceName": "{namespace}", "requestUri": "https://{namespace}.servicebus.windows.net/{queue}/$deadletterqueue/messages/head", "entityType": "subscriber", "queueName": "QUEUE NAME IF QUEUE", From 2be395dff48094d53cee34b785abdaeee8a4d40d Mon Sep 17 00:00:00 2001 From: "Tianyun Gao (MSFT)" <65581162+Tianyun-G@users.noreply.github.com> Date: Thu, 21 Oct 2021 10:58:25 +0800 Subject: [PATCH 21/32] Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> --- .../active_messages_available_periodic_notifications.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json index fb7f3fd5028f..aa7ee795c3e6 100644 --- a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json +++ b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json @@ -5,7 +5,7 @@ "eventTime": "2018-02-14T05:12:53.4133526Z", "id": "dede87b0-3656-419c-acaf-70c95ddc60f5", "data": { - "namespaceName": "YOUR SERVICE BUS NAMESPACE WILL SHOW HERE", + "namespaceName": "{namespace}", "requestUri": "https://{namespace}.servicebus.windows.net/{topic}/subscriptions/{subscription}/$deadletterqueue/messages/head", "entityType": "subscriber", "queueName": null, From 9c5c63b3c72aad565e6b7e2bf196ce3b49e1eb94 Mon Sep 17 00:00:00 2001 From: "Tianyun Gao (MSFT)" <65581162+Tianyun-G@users.noreply.github.com> Date: Thu, 21 Oct 2021 10:58:33 +0800 Subject: [PATCH 22/32] Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> --- .../active_messages_available_periodic_notifications.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json index aa7ee795c3e6..1ef32bc78bc2 100644 --- a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json +++ b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json @@ -1,6 +1,6 @@ { "topic": "/subscriptions/{subscription-id}/resourcegroups/DemoGroup/providers/Microsoft.ServiceBus/namespaces/{namespace}", - "subject": "topics//subscriptions/", + "subject": "topics/{topic}/subscriptions/{subscription}", "eventType": "Microsoft.ServiceBus.ActiveMessagesAvailablePeriodicNotifications", "eventTime": "2018-02-14T05:12:53.4133526Z", "id": "dede87b0-3656-419c-acaf-70c95ddc60f5", From 96bd4fe53cdf7ba2bf3874442b43f1c0cf992b08 Mon Sep 17 00:00:00 2001 From: "Tianyun Gao (MSFT)" <65581162+Tianyun-G@users.noreply.github.com> Date: Thu, 21 Oct 2021 10:58:41 +0800 Subject: [PATCH 23/32] Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> --- .../deadletter_messages_available_periodic_notification.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json index e7b3d183bf4b..dea3ef8c49c6 100644 --- a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json +++ b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json @@ -1,5 +1,5 @@ { - "topic": "/subscriptions//resourcegroups/DemoGroup/providers/Microsoft.ServiceBus/namespaces/", + "topic": "/subscriptions/{subscription-id}/resourcegroups/DemoGroup/providers/Microsoft.ServiceBus/namespaces/{namespace}", "subject": "topics//subscriptions/", "eventType": "Microsoft.ServiceBus.DeadletterMessagesAvailablePeriodicNotifications", "eventTime": "2018-02-14T05:12:53.4133526Z", From e1539334210a7c6720d4c06d5ccc427e5bdf80a1 Mon Sep 17 00:00:00 2001 From: "Tianyun Gao (MSFT)" <65581162+Tianyun-G@users.noreply.github.com> Date: Thu, 21 Oct 2021 10:58:49 +0800 Subject: [PATCH 24/32] Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> --- .../deadletter_messages_available_periodic_notification.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json index dea3ef8c49c6..853065b644dd 100644 --- a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json +++ b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json @@ -1,6 +1,6 @@ { "topic": "/subscriptions/{subscription-id}/resourcegroups/DemoGroup/providers/Microsoft.ServiceBus/namespaces/{namespace}", - "subject": "topics//subscriptions/", + "subject": "queues/{queue}", "eventType": "Microsoft.ServiceBus.DeadletterMessagesAvailablePeriodicNotifications", "eventTime": "2018-02-14T05:12:53.4133526Z", "id": "dede87b0-3656-419c-acaf-70c95ddc60f5", From 857459292e08f74e53d8f235b8ae641fe3267f84 Mon Sep 17 00:00:00 2001 From: "Tianyun Gao (MSFT)" <65581162+Tianyun-G@users.noreply.github.com> Date: Thu, 21 Oct 2021 10:58:57 +0800 Subject: [PATCH 25/32] Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> --- .../deadletter_messages_available_periodic_notification.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json index 853065b644dd..570b4c3de837 100644 --- a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json +++ b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json @@ -8,7 +8,7 @@ "namespaceName": "{namespace}", "requestUri": "https://{namespace}.servicebus.windows.net/{queue}/$deadletterqueue/messages/head", "entityType": "subscriber", - "queueName": "QUEUE NAME IF QUEUE", + "queueName": "{queue}", "topicName": "TOPIC NAME IF TOPIC", "subscriptionName": "SUBSCRIPTION NAME" }, From a8aff6b90a302cb5daa09d1871155ea9a94947f7 Mon Sep 17 00:00:00 2001 From: "Tianyun Gao (MSFT)" <65581162+Tianyun-G@users.noreply.github.com> Date: Thu, 21 Oct 2021 10:59:02 +0800 Subject: [PATCH 26/32] Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> --- .../deadletter_messages_available_periodic_notification.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json index 570b4c3de837..ce1c23f0b25f 100644 --- a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json +++ b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json @@ -9,7 +9,7 @@ "requestUri": "https://{namespace}.servicebus.windows.net/{queue}/$deadletterqueue/messages/head", "entityType": "subscriber", "queueName": "{queue}", - "topicName": "TOPIC NAME IF TOPIC", + "topicName": null, "subscriptionName": "SUBSCRIPTION NAME" }, "dataVersion": "1", From c3c110de85458bfd42a3c6beacb02f935a4dd663 Mon Sep 17 00:00:00 2001 From: "Tianyun Gao (MSFT)" <65581162+Tianyun-G@users.noreply.github.com> Date: Thu, 21 Oct 2021 11:01:05 +0800 Subject: [PATCH 27/32] Update specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> --- .../deadletter_messages_available_periodic_notification.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json index ce1c23f0b25f..97ad11d742cc 100644 --- a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json +++ b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json @@ -10,7 +10,7 @@ "entityType": "subscriber", "queueName": "{queue}", "topicName": null, - "subscriptionName": "SUBSCRIPTION NAME" + "subscriptionName": null }, "dataVersion": "1", "metadataVersion": "1" From 28666ec0edab21950bf3242cf6094a0e6b327b07 Mon Sep 17 00:00:00 2001 From: "Tianyun Gao (MSFT)" <65581162+Tianyun-G@users.noreply.github.com> Date: Thu, 21 Oct 2021 11:01:18 +0800 Subject: [PATCH 28/32] Update specification/eventgrid/data-plane/Microsoft.ContainerService/stable/2018-01-01/examples/new_kubernetes_version_available.json Co-authored-by: JoshLove-msft <54595583+JoshLove-msft@users.noreply.github.com> --- .../2018-01-01/examples/new_kubernetes_version_available.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/eventgrid/data-plane/Microsoft.ContainerService/stable/2018-01-01/examples/new_kubernetes_version_available.json b/specification/eventgrid/data-plane/Microsoft.ContainerService/stable/2018-01-01/examples/new_kubernetes_version_available.json index 56140faaedd9..b0ccdfe48d23 100644 --- a/specification/eventgrid/data-plane/Microsoft.ContainerService/stable/2018-01-01/examples/new_kubernetes_version_available.json +++ b/specification/eventgrid/data-plane/Microsoft.ContainerService/stable/2018-01-01/examples/new_kubernetes_version_available.json @@ -1,5 +1,5 @@ { - "topic": "/subscriptions//resourceGroups/providers/Microsoft.ContainerService/managedClusters/", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.ContainerService/managedClusters/{cluster}", "subject": "", "eventType": "Microsoft.ContainerService.NewKubernetesVersionAvailable", "id": "1234567890abcdef1234567890abcdef12345678", From 7d8b25c76decee965d562285338632e4491c149a Mon Sep 17 00:00:00 2001 From: Tianyun Gao Date: Thu, 21 Oct 2021 14:48:49 +0800 Subject: [PATCH 29/32] Update placeholders --- .../stable/2018-01-01/examples/chart_deleted.json | 2 +- .../stable/2018-01-01/examples/chart_pushed.json | 2 +- .../stable/2018-01-01/examples/device_connected.json | 2 +- .../stable/2018-01-01/examples/device_created.json | 2 +- .../stable/2018-01-01/examples/device_telemetry.json | 2 +- .../2018-01-01/examples/capture_file_created.json | 2 +- .../2018-01-01/examples/policy_state_changed.json | 10 +++++----- .../2018-01-01/examples/policy_state_created.json | 10 +++++----- .../2018-01-01/examples/app_service_plan_updated.json | 6 +++--- .../examples/app_updated_changed_app_settings.json | 8 ++++---- .../2018-01-01/examples/app_updated_restarted.json | 8 ++++---- .../2018-01-01/examples/app_updated_stopped.json | 8 ++++---- .../examples/backup_operation_completed.json | 6 +++--- .../2018-01-01/examples/backup_operation_failed.json | 6 +++--- .../2018-01-01/examples/backup_operation_started.json | 6 +++--- .../examples/restore_operation_completed.json | 6 +++--- .../2018-01-01/examples/restore_operation_failed.json | 6 +++--- .../2018-01-01/examples/restore_operation_started.json | 6 +++--- .../2018-01-01/examples/slot_swap_completed.json | 8 ++++---- .../stable/2018-01-01/examples/slot_swap_failed.json | 8 ++++---- .../stable/2018-01-01/examples/slot_swap_started.json | 8 ++++---- .../examples/slot_swap_with_preview_cancelled.json | 8 ++++---- .../examples/slot_swap_with_preview_started.json | 8 ++++---- 23 files changed, 69 insertions(+), 69 deletions(-) diff --git a/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/chart_deleted.json b/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/chart_deleted.json index a0e4361824c0..177ccc858fb0 100644 --- a/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/chart_deleted.json +++ b/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/chart_deleted.json @@ -1,6 +1,6 @@ { "id": "39136b3a-1a7e-416f-a09e-5c85d5402fca", - "topic": "/subscriptions//resourceGroups//providers/Microsoft.ContainerRegistry/registries/", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.ContainerRegistry/registries/{name}", "subject": "mychart:1.0.0", "eventType": "Microsoft.ContainerRegistry.ChartDeleted", "eventTime": "019-03-12T22:42:08.7034064Z", diff --git a/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/chart_pushed.json b/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/chart_pushed.json index b40938ee1c41..a1e8dfa86088 100644 --- a/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/chart_pushed.json +++ b/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/chart_pushed.json @@ -1,6 +1,6 @@ { "id": "ea3a9c28-5b17-40f6-a500-3f02b6829277", - "topic": "/subscriptions//resourceGroups//providers/Microsoft.ContainerRegistry/registries/", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.ContainerRegistry/registries/{name}", "subject": "mychart:1.0.0", "eventType": "Microsoft.ContainerRegistry.ChartPushed", "eventTime": "2019-03-12T22:16:31.5164086Z", diff --git a/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/device_connected.json b/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/device_connected.json index e60bcaf59985..ba9327545ff1 100644 --- a/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/device_connected.json +++ b/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/device_connected.json @@ -1,6 +1,6 @@ { "id": "f6bbf8f4-d365-520d-a878-17bf7238abd8", - "topic": "/SUBSCRIPTIONS//RESOURCEGROUPS//PROVIDERS/MICROSOFT.DEVICES/IOTHUBS/", + "topic": "/SUBSCRIPTIONS/{subscription-id}/RESOURCEGROUPS{resource-group}/PROVIDERS/MICROSOFT.DEVICES/IOTHUBS/{hub—name}", "subject": "devices/LogicAppTestDevice", "eventType": "Microsoft.Devices.DeviceConnected", "eventTime": "2018-06-02T19:17:44.4383997Z", diff --git a/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/device_created.json b/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/device_created.json index 82d2f97bcf9c..1e128d72bf30 100644 --- a/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/device_created.json +++ b/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/device_created.json @@ -1,6 +1,6 @@ { "id": "56afc886-767b-d359-d59e-0da7877166b2", - "topic": "/SUBSCRIPTIONS//RESOURCEGROUPS//PROVIDERS/MICROSOFT.DEVICES/IOTHUBS/", + "topic": "/SUBSCRIPTIONS/{subscription-ID}/RESOURCEGROUPS/{resource-group}/PROVIDERS/MICROSOFT.DEVICES/IOTHUBS/{hub-name}", "subject": "devices/LogicAppTestDevice", "eventType": "Microsoft.Devices.DeviceCreated", "eventTime": "2018-01-02T19:17:44.4383997Z", diff --git a/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/device_telemetry.json b/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/device_telemetry.json index 9d303a86ce38..c3ef1d1545bb 100644 --- a/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/device_telemetry.json +++ b/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/device_telemetry.json @@ -1,6 +1,6 @@ { "id": "9af86784-8d40-fe2g-8b2a-bab65e106785", - "topic": "/SUBSCRIPTIONS//RESOURCEGROUPS//PROVIDERS/MICROSOFT.DEVICES/IOTHUBS/", + "topic": "/SUBSCRIPTIONS/{subscription-ID}/RESOURCEGROUPS/{resource-group}/PROVIDERS/MICROSOFT.DEVICES/IOTHUBS/{hub-name}", "subject": "devices/LogicAppTestDevice", "eventType": "Microsoft.Devices.DeviceTelemetry", "eventTime": "2019-01-07T20:58:30.48Z", diff --git a/specification/eventgrid/data-plane/Microsoft.EventHub/stable/2018-01-01/examples/capture_file_created.json b/specification/eventgrid/data-plane/Microsoft.EventHub/stable/2018-01-01/examples/capture_file_created.json index 6d348c1a4ed1..e001b678cc2e 100644 --- a/specification/eventgrid/data-plane/Microsoft.EventHub/stable/2018-01-01/examples/capture_file_created.json +++ b/specification/eventgrid/data-plane/Microsoft.EventHub/stable/2018-01-01/examples/capture_file_created.json @@ -1,5 +1,5 @@ { - "topic": "/subscriptions//resourcegroups/rgDataMigrationSample/providers/Microsoft.EventHub/namespaces/tfdatamigratens", + "topic": "/subscriptions/{guid}/resourcegroups/rgDataMigrationSample/providers/Microsoft.EventHub/namespaces/tfdatamigratens", "subject": "eventhubs/hubdatamigration", "eventType": "Microsoft.EventHub.CaptureFileCreated", "eventTime": "2017-08-31T19:12:46.0498024Z", diff --git a/specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/policy_state_changed.json b/specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/policy_state_changed.json index f4a58f15bf0d..d56933101042 100644 --- a/specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/policy_state_changed.json +++ b/specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/policy_state_changed.json @@ -1,14 +1,14 @@ { "id": "5829794FCB5075FCF585476619577B5A5A30E52C84842CBD4E2AD73996714C4C", - "topic": "/subscriptions/", - "subject": "/subscriptions//resourceGroups//providers///", + "topic": "/subscriptions/{subscription-id}", + "subject": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/{provider-namespace>}/{resource-type}/{resource-name}", "data": { "timestamp": "2021-03-27T18:37:42.4496956Z", - "policyAssignmentId": "/providers/microsoft.authorization/policyassignments/", - "policyDefinitionId": "/providers/microsoft.authorization/policydefinitions/", + "policyAssignmentId": "{policy-assignment-scope}/providers/microsoft.authorization/policyassignments/{policy-assignment-name}", + "policyDefinitionId": "{policy-definition-scope}/providers/microsoft.authorization/policydefinitions/{policy-definition-name}", "policyDefinitionReferenceId": "", "complianceState": "NonCompliant", - "subscriptionId": "", + "subscriptionId": "{subscription-id}", "complianceReasonCode": "" }, "eventType": "Microsoft.PolicyInsights.PolicyStateChanged", diff --git a/specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/policy_state_created.json b/specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/policy_state_created.json index c207d1800e0e..7bdbdf8bc987 100644 --- a/specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/policy_state_created.json +++ b/specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/policy_state_created.json @@ -1,14 +1,14 @@ { "id": "5829794FCB5075FCF585476619577B5A5A30E52C84842CBD4E2AD73996714C4C", - "topic": "/subscriptions/", - "subject": "/subscriptions//resourceGroups//providers///", + "topic": "/subscriptions/{subscription-id}", + "subject": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/{provider-namespace}/{resource-type}/{resource-name}", "data": { "timestamp": "2021-03-27T18:37:42.4496956Z", - "policyAssignmentId": "/providers/microsoft.authorization/policyassignments/", - "policyDefinitionId": "/providers/microsoft.authorization/policydefinitions/", + "policyAssignmentId": "{policy-assignment-scope}/providers/microsoft.authorization/policyassignments/{policy-assignment-name}", + "policyDefinitionId": "{policy-definition-scope}/providers/microsoft.authorization/policydefinitions/{policy-definition-name}", "policyDefinitionReferenceId": "", "complianceState": "NonCompliant", - "subscriptionId": "", + "subscriptionId": "{subscription-id}", "complianceReasonCode": "" }, "eventType": "Microsoft.PolicyInsights.PolicyStateCreated", diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_service_plan_updated.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_service_plan_updated.json index a848b7fb67c2..59433d92622b 100644 --- a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_service_plan_updated.json +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_service_plan_updated.json @@ -1,7 +1,7 @@ { "id": "56501672-9150-40e1-893a-18420c7fdbf7", - "topic": "/subscriptions//resourceGroups//providers/Microsoft.Web/serverfarms/", - "subject": "/Microsoft.Web/serverfarms/", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/serverfarms/{serverfarm-name>}", + "subject": "/Microsoft.Web/serverfarms/{plan-name}", "eventType": "Microsoft.Web.AppServicePlanUpdated", "eventTime": "2020-01-28T18:22:23.5516004Z", "data": { @@ -21,7 +21,7 @@ "clientRequestId": "8f880321-a991-45c7-b743-6ff63fe4c004", "correlationRequestId": "1995c3be-ba7f-4ccf-94af-516df637ec8a", "requestId": "b973a8e6-6949-4783-b44c-ac778be831bb", - "address": "/websystems/WebSites/serverfarms/subscriptions//webspaces//serverfarms//async", + "address": "/websystems/WebSites/serverfarms/subscriptions/{subscription-id}/webspaces/{webspace-id}/serverfarms/{plan-name}/async", "verb": "PUT" }, "dataVersion": "1", diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_updated_changed_app_settings.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_updated_changed_app_settings.json index f4fc8b97d91e..267c2d8c61f4 100644 --- a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_updated_changed_app_settings.json +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_updated_changed_app_settings.json @@ -1,18 +1,18 @@ { "id": "b74ea56b-2a3f-4de5-a5d7-38e60c81cf23", - "topic": "/subscriptions//resourceGroups//providers/Microsoft.Web/sites/", - "subject": "/Microsoft.Web/sites/", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/sites/{site-name}", + "subject": "/Microsoft.Web/sites/{site-name}", "eventType": "Microsoft.Web.AppUpdated", "eventTime": "2020-01-28T18:22:30.2760952Z", "data": { "appEventTypeDetail": { "action": "Stopped" }, - "name": "", + "name": "{site-name}", "clientRequestId": "64a5e0aa-7cee-4ff1-9093-b9197b820014", "correlationRequestId": "25bb36a5-8f6c-4f04-b615-e9a0ee045756", "requestId": "f2e8eb3f-b190-42de-b99e-6acefe587374", - "address": "/websystems/WebSites/web/subscriptions//webspaces//sites//stop", + "address": "/websystems/WebSites/web/subscriptions/{subscription-id}/webspaces/{webspace}/sites/{site-name}/stop", "verb": "POST" }, "dataVersion": "1'", diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_updated_restarted.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_updated_restarted.json index f4fc8b97d91e..267c2d8c61f4 100644 --- a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_updated_restarted.json +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_updated_restarted.json @@ -1,18 +1,18 @@ { "id": "b74ea56b-2a3f-4de5-a5d7-38e60c81cf23", - "topic": "/subscriptions//resourceGroups//providers/Microsoft.Web/sites/", - "subject": "/Microsoft.Web/sites/", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/sites/{site-name}", + "subject": "/Microsoft.Web/sites/{site-name}", "eventType": "Microsoft.Web.AppUpdated", "eventTime": "2020-01-28T18:22:30.2760952Z", "data": { "appEventTypeDetail": { "action": "Stopped" }, - "name": "", + "name": "{site-name}", "clientRequestId": "64a5e0aa-7cee-4ff1-9093-b9197b820014", "correlationRequestId": "25bb36a5-8f6c-4f04-b615-e9a0ee045756", "requestId": "f2e8eb3f-b190-42de-b99e-6acefe587374", - "address": "/websystems/WebSites/web/subscriptions//webspaces//sites//stop", + "address": "/websystems/WebSites/web/subscriptions/{subscription-id}/webspaces/{webspace}/sites/{site-name}/stop", "verb": "POST" }, "dataVersion": "1'", diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_updated_stopped.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_updated_stopped.json index f4fc8b97d91e..267c2d8c61f4 100644 --- a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_updated_stopped.json +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_updated_stopped.json @@ -1,18 +1,18 @@ { "id": "b74ea56b-2a3f-4de5-a5d7-38e60c81cf23", - "topic": "/subscriptions//resourceGroups//providers/Microsoft.Web/sites/", - "subject": "/Microsoft.Web/sites/", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/sites/{site-name}", + "subject": "/Microsoft.Web/sites/{site-name}", "eventType": "Microsoft.Web.AppUpdated", "eventTime": "2020-01-28T18:22:30.2760952Z", "data": { "appEventTypeDetail": { "action": "Stopped" }, - "name": "", + "name": "{site-name}", "clientRequestId": "64a5e0aa-7cee-4ff1-9093-b9197b820014", "correlationRequestId": "25bb36a5-8f6c-4f04-b615-e9a0ee045756", "requestId": "f2e8eb3f-b190-42de-b99e-6acefe587374", - "address": "/websystems/WebSites/web/subscriptions//webspaces//sites//stop", + "address": "/websystems/WebSites/web/subscriptions/{subscription-id}/webspaces/{webspace}/sites/{site-name}/stop", "verb": "POST" }, "dataVersion": "1'", diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/backup_operation_completed.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/backup_operation_completed.json index 003e0f344f4b..41d7c91085ec 100644 --- a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/backup_operation_completed.json +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/backup_operation_completed.json @@ -1,14 +1,14 @@ { "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", - "topic": "/subscriptions//resourceGroups//providers/Microsoft.Web/sites/", - "subject": "/Microsoft.Web/sites/", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/sites/{site-name}", + "subject": "/Microsoft.Web/sites/{site-name}", "eventType": "Microsoft.Web.BackupOperationCompleted", "eventTime": "2020-01-28T18:26:51.7194887Z", "data": { "appEventTypeDetail": { "action": "Started" }, - "name": "", + "name": "{site-name}", "clientRequestId": "None", "correlationRequestId": "None", "requestId": "292f499d-04ee-4066-994d-c2df57b99198", diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/backup_operation_failed.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/backup_operation_failed.json index a551efecf375..7e303597fc73 100644 --- a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/backup_operation_failed.json +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/backup_operation_failed.json @@ -1,14 +1,14 @@ { "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", - "topic": "/subscriptions//resourceGroups//providers/Microsoft.Web/sites/", - "subject": "/Microsoft.Web/sites/", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/sites/{site-name}", + "subject": "/Microsoft.Web/sites/{site-name}", "eventType": "Microsoft.Web.BackupOperationFailed", "eventTime": "2020-01-28T18:26:51.7194887Z", "data": { "appEventTypeDetail": { "action": "Started" }, - "name": "", + "name": "{site-name}", "clientRequestId": "None", "correlationRequestId": "None", "requestId": "292f499d-04ee-4066-994d-c2df57b99198", diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/backup_operation_started.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/backup_operation_started.json index 0267b13c8c9d..5c45e3cdbc83 100644 --- a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/backup_operation_started.json +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/backup_operation_started.json @@ -1,14 +1,14 @@ { "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", - "topic": "/subscriptions//resourceGroups//providers/Microsoft.Web/sites/", - "subject": "/Microsoft.Web/sites/", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/sites/{site-name}", + "subject": "/Microsoft.Web/sites/{site-name}", "eventType": "Microsoft.Web.BackupOperationStarted", "eventTime": "2020-01-28T18:26:51.7194887Z", "data": { "appEventTypeDetail": { "action": "Started" }, - "name": "", + "name": "{site-name}", "clientRequestId": "None", "correlationRequestId": "None", "requestId": "292f499d-04ee-4066-994d-c2df57b99198", diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/restore_operation_completed.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/restore_operation_completed.json index 8b53b79b26d9..9c8cd1eb0c9e 100644 --- a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/restore_operation_completed.json +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/restore_operation_completed.json @@ -1,15 +1,15 @@ { "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", - "topic": "/subscriptions//resourceGroups//providers/Microsoft.Web/sites/", - "subject": "/Microsoft.Web/sites/", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/sites/{site-name}", + "subject": "/Microsoft.Web/sites/{site-name}", "eventType": "Microsoft.Web.RestoreOperationCompleted", "eventTime": "2020-01-28T18:26:51.7194887Z", "data": { "appEventTypeDetail": { "action": "Started" }, - "name": "", + "name": "{site-name}", "clientRequestId": "None", "correlationRequestId": "None", "requestId": "292f499d-04ee-4066-994d-c2df57b99198", diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/restore_operation_failed.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/restore_operation_failed.json index 0a65fc26ef82..4ca60cd758a0 100644 --- a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/restore_operation_failed.json +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/restore_operation_failed.json @@ -1,14 +1,14 @@ { "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", - "topic": "/subscriptions//resourceGroups//providers/Microsoft.Web/sites/", - "subject": "/Microsoft.Web/sites/", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/sites/{site-name}", + "subject": "/Microsoft.Web/sites/{site-name}", "eventType": "Microsoft.Web.RestoreOperationFailed", "eventTime": "2020-01-28T18:26:51.7194887Z", "data": { "appEventTypeDetail": { "action": "Started" }, - "name": "", + "name": "{site-name}", "clientRequestId": "None", "correlationRequestId": "None", "requestId": "292f499d-04ee-4066-994d-c2df57b99198", diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/restore_operation_started.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/restore_operation_started.json index 6f4b1ec0963a..7014f0e7615d 100644 --- a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/restore_operation_started.json +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/restore_operation_started.json @@ -1,14 +1,14 @@ { "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", - "topic": "/subscriptions//resourceGroups//providers/Microsoft.Web/sites/", - "subject": "/Microsoft.Web/sites/", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/sites/{site-name}", + "subject": "/Microsoft.Web/sites/{site-name}", "eventType": "Microsoft.Web.RestoreOperationStarted", "eventTime": "2020-01-28T18:26:51.7194887Z", "data": { "appEventTypeDetail": { "action": "Started" }, - "name": "", + "name": "{site-name}", "clientRequestId": "None", "correlationRequestId": "None", "requestId": "292f499d-04ee-4066-994d-c2df57b99198", diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_completed.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_completed.json index a6fa8b775040..613a42f4210a 100644 --- a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_completed.json +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_completed.json @@ -1,16 +1,16 @@ { "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", - "topic": "/subscriptions//resourceGroups//providers/Microsoft.Web/sites/", - "subject": "/Microsoft.Web/sites/", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/sites/{site-name}", + "subject": "/Microsoft.Web/sites/{site-name}", "eventType": "Microsoft.Web.SlotSwapCompleted", "eventTime": "2020-01-28T18:26:51.7194887Z", "data": { "appEventTypeDetail": null, - "name": "", + "name": "{site-name}", "clientRequestId": "922f4841-20d9-4dd6-8c5b-23f0d85e5592", "correlationRequestId": "9ac46505-2b8a-4e06-834c-05ffbe2e8c3a", "requestId": "765117aa-eaf8-4bd2-a644-1dbf69c7b0fd", - "address": "/websystems/WebSites/web/subscriptions//webspaces//sites//slots?Command=SWAP&targetSlot=production", + "address": "/websystems/WebSites/web/subscriptions/{subscription-id}/webspaces/{webspace}/sites/{site-name}/slots?Command=SWAP&targetSlot=production", "verb": "POST", "sourceSlot": "staging", "targetSlot": "production" diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_failed.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_failed.json index 5c6c65a31fd4..a5b17f1cad1d 100644 --- a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_failed.json +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_failed.json @@ -1,16 +1,16 @@ { "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", - "topic": "/subscriptions//resourceGroups//providers/Microsoft.Web/sites/", - "subject": "/Microsoft.Web/sites/", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/sites/{site-name}", + "subject": "/Microsoft.Web/sites/{site-name}", "eventType": "Microsoft.Web.SlotSwapFailed", "eventTime": "2020-01-28T18:26:51.7194887Z", "data": { "appEventTypeDetail": null, - "name": "", + "name": "{site-name}", "clientRequestId": "922f4841-20d9-4dd6-8c5b-23f0d85e5592", "correlationRequestId": "9ac46505-2b8a-4e06-834c-05ffbe2e8c3a", "requestId": "765117aa-eaf8-4bd2-a644-1dbf69c7b0fd", - "address": "/websystems/WebSites/web/subscriptions//webspaces//sites//slots?Command=SWAP&targetSlot=production", + "address": "/websystems/WebSites/web/subscriptions/{subscription-id}/webspaces/{webspace}/sites/{site-name}/slots?Command=SWAP&targetSlot=production", "verb": "POST", "sourceSlot": "staging", "targetSlot": "production" diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_started.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_started.json index 9cfb5639b6b3..53bcbfcaf027 100644 --- a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_started.json +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_started.json @@ -1,16 +1,16 @@ { "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", - "topic": "/subscriptions//resourceGroups//providers/Microsoft.Web/sites/", - "subject": "/Microsoft.Web/sites/", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/sites/{site-name}", + "subject": "/Microsoft.Web/sites/{site-name}", "eventType": "Microsoft.Web.SlotSwapStarted", "eventTime": "2020-01-28T18:26:51.7194887Z", "data": { "appEventTypeDetail": null, - "name": "", + "name": "{site-name}", "clientRequestId": "922f4841-20d9-4dd6-8c5b-23f0d85e5592", "correlationRequestId": "9ac46505-2b8a-4e06-834c-05ffbe2e8c3a", "requestId": "765117aa-eaf8-4bd2-a644-1dbf69c7b0fd", - "address": "/websystems/WebSites/web/subscriptions//webspaces//sites//slots?Command=SWAP&targetSlot=production", + "address": "/websystems/WebSites/web/subscriptions/{subscription-id}/webspaces/{webspace}/sites/{site-name}/slots?Command=SWAP&targetSlot=production", "verb": "POST", "sourceSlot": "staging", "targetSlot": "production" diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_with_preview_cancelled.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_with_preview_cancelled.json index a6e0d26208fe..b4790f16671b 100644 --- a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_with_preview_cancelled.json +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_with_preview_cancelled.json @@ -1,16 +1,16 @@ { "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", - "topic": "/subscriptions//resourceGroups//providers/Microsoft.Web/sites/", - "subject": "/Microsoft.Web/sites/", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/sites/{site-name}", + "subject": "/Microsoft.Web/sites/{site-name}", "eventType": "Microsoft.Web.SlotSwapWithPreviewCancelled", "eventTime": "2020-01-28T18:26:51.7194887Z", "data": { "appEventTypeDetail": null, - "name": "", + "name": "{site-name}", "clientRequestId": "922f4841-20d9-4dd6-8c5b-23f0d85e5592", "correlationRequestId": "9ac46505-2b8a-4e06-834c-05ffbe2e8c3a", "requestId": "765117aa-eaf8-4bd2-a644-1dbf69c7b0fd", - "address": "/websystems/WebSites/web/subscriptions//webspaces//sites//slots?Command=SWAP&targetSlot=production", + "address": "/websystems/WebSites/web/subscriptions/{subscription-id}/webspaces/{webspace}/sites/{site-name}/slots?Command=SWAP&targetSlot=production", "verb": "POST", "sourceSlot": "staging", "targetSlot": "production" diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_with_preview_started.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_with_preview_started.json index 9eba26075c72..1b7b9d096aa5 100644 --- a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_with_preview_started.json +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_with_preview_started.json @@ -1,16 +1,16 @@ { "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", - "topic": "/subscriptions//resourceGroups//providers/Microsoft.Web/sites/", - "subject": "/Microsoft.Web/sites/", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/sites/{site-name}", + "subject": "/Microsoft.Web/sites/{site-name}", "eventType": "Microsoft.Web.SlotSwapWithPreviewStarted", "eventTime": "2020-01-28T18:26:51.7194887Z", "data": { "appEventTypeDetail": null, - "name": "", + "name": "{site-name}", "clientRequestId": "922f4841-20d9-4dd6-8c5b-23f0d85e5592", "correlationRequestId": "9ac46505-2b8a-4e06-834c-05ffbe2e8c3a", "requestId": "765117aa-eaf8-4bd2-a644-1dbf69c7b0fd", - "address": "/websystems/WebSites/web/subscriptions//webspaces//sites//slots?Command=SWAP&targetSlot=production", + "address": "/websystems/WebSites/web/subscriptions/{subscription-id}/webspaces/{webspace}/sites/{site-name}/slots?Command=SWAP&targetSlot=production", "verb": "POST", "sourceSlot": "staging", "targetSlot": "production" From 8878f977c92b547cb3fc9a99f174c30f4bbb3229 Mon Sep 17 00:00:00 2001 From: "Tianyun Gao (MSFT)" <65581162+Tianyun-G@users.noreply.github.com> Date: Thu, 21 Oct 2021 14:50:45 +0800 Subject: [PATCH 30/32] Update app_service_plan_updated.json --- .../stable/2018-01-01/examples/app_service_plan_updated.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_service_plan_updated.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_service_plan_updated.json index 59433d92622b..f0cf28613e18 100644 --- a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_service_plan_updated.json +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_service_plan_updated.json @@ -1,6 +1,6 @@ { "id": "56501672-9150-40e1-893a-18420c7fdbf7", - "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/serverfarms/{serverfarm-name>}", + "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/serverfarms/{serverfarm-name}", "subject": "/Microsoft.Web/serverfarms/{plan-name}", "eventType": "Microsoft.Web.AppServicePlanUpdated", "eventTime": "2020-01-28T18:22:23.5516004Z", From e4f3783c546c20a391e5a9b3e6d78d375f4bed1e Mon Sep 17 00:00:00 2001 From: "Tianyun Gao (MSFT)" <65581162+Tianyun-G@users.noreply.github.com> Date: Thu, 21 Oct 2021 14:51:25 +0800 Subject: [PATCH 31/32] Update policy_state_changed.json --- .../stable/2018-01-01/examples/policy_state_changed.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/policy_state_changed.json b/specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/policy_state_changed.json index d56933101042..d0685ae86e04 100644 --- a/specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/policy_state_changed.json +++ b/specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/policy_state_changed.json @@ -1,7 +1,7 @@ { "id": "5829794FCB5075FCF585476619577B5A5A30E52C84842CBD4E2AD73996714C4C", "topic": "/subscriptions/{subscription-id}", - "subject": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/{provider-namespace>}/{resource-type}/{resource-name}", + "subject": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/{provider-namespace}/{resource-type}/{resource-name}", "data": { "timestamp": "2021-03-27T18:37:42.4496956Z", "policyAssignmentId": "{policy-assignment-scope}/providers/microsoft.authorization/policyassignments/{policy-assignment-name}", From 9b9feff43ca3420bafe024ce1d7dc46ece8e559b Mon Sep 17 00:00:00 2001 From: "Tianyun Gao (MSFT)" <65581162+Tianyun-G@users.noreply.github.com> Date: Thu, 21 Oct 2021 14:55:17 +0800 Subject: [PATCH 32/32] Update new_kubernetes_version_available.json --- .../2018-01-01/examples/new_kubernetes_version_available.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specification/eventgrid/data-plane/Microsoft.ContainerService/stable/2018-01-01/examples/new_kubernetes_version_available.json b/specification/eventgrid/data-plane/Microsoft.ContainerService/stable/2018-01-01/examples/new_kubernetes_version_available.json index b0ccdfe48d23..84f951523b27 100644 --- a/specification/eventgrid/data-plane/Microsoft.ContainerService/stable/2018-01-01/examples/new_kubernetes_version_available.json +++ b/specification/eventgrid/data-plane/Microsoft.ContainerService/stable/2018-01-01/examples/new_kubernetes_version_available.json @@ -1,6 +1,6 @@ { "topic": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.ContainerService/managedClusters/{cluster}", - "subject": "", + "subject": "{cluster}", "eventType": "Microsoft.ContainerService.NewKubernetesVersionAvailable", "id": "1234567890abcdef1234567890abcdef12345678", "data": {