From daa20b63a982e191a67e08bc38da32d59d83045b Mon Sep 17 00:00:00 2001 From: Roberto Cervantes Date: Fri, 13 May 2022 21:43:19 -0700 Subject: [PATCH] Added cloud-events-schema samples Added cloud-events-schema samples and updated readme.md documentation. --- .../cloud-events-schema/apiCreated.json | 11 ++++ .../cloud-events-schema/apiDeleted.json | 11 ++++ .../cloud-events-schema/apiUpdated.json | 11 ++++ .../apireleaseCreated.json | 11 ++++ .../apireleaseDeleted.json | 11 ++++ .../apireleaseUpdated.json | 11 ++++ .../cloud-events-schema/productCreated.json | 11 ++++ .../cloud-events-schema/productDeleted.json | 11 ++++ .../cloud-events-schema/productUpdated.json | 11 ++++ .../subscriptionCreated.json | 11 ++++ .../subscriptionDeleted.json | 11 ++++ .../subscriptionUpdated.json | 11 ++++ .../cloud-events-schema/userCreated.json | 11 ++++ .../cloud-events-schema/userDeleted.json | 11 ++++ .../cloud-events-schema/userUpdated.json | 11 ++++ .../{ => event-grid-schema}/apiCreated.json | 0 .../{ => event-grid-schema}/apiDeleted.json | 0 .../{ => event-grid-schema}/apiUpdated.json | 0 .../apireleaseCreated.json | 0 .../apireleaseDeleted.json | 0 .../apireleaseUpdated.json | 0 .../productCreated.json | 0 .../productDeleted.json | 0 .../productUpdated.json | 0 .../subscriptionCreated.json | 0 .../subscriptionDeleted.json | 0 .../subscriptionUpdated.json | 0 .../{ => event-grid-schema}/userCreated.json | 0 .../{ => event-grid-schema}/userDeleted.json | 0 .../{ => event-grid-schema}/userUpdated.json | 0 .../cloud-events-schema/keyvalue_deleted.json | 14 +++++ .../keyvalue_modified.json | 14 +++++ .../keyvalue_deleted.json | 0 .../keyvalue_modified.json | 0 .../export_rdb_completed.json | 13 ++++ .../import_rdb_completed.json | 13 ++++ .../patching_completed.json | 13 ++++ .../scaling_completed.json | 13 ++++ .../export_rdb_completed.json | 0 .../import_rdb_completed.json | 0 .../patching_completed.json | 0 .../scaling_completed.json | 0 .../chat_message_deleted.json | 32 ++++++++++ .../chat_message_deleted_in_thread.json | 24 ++++++++ .../chat_message_edited.json | 37 +++++++++++ .../chat_message_edited_in_thread.json | 29 +++++++++ .../chat_message_received.json | 36 +++++++++++ .../chat_message_received_in_thread.json | 28 +++++++++ ...participant_added_to_thread_with_user.json | 36 +++++++++++ ...icipant_removed_from_thread_with_user.json | 36 +++++++++++ .../chat_thread_created.json | 61 +++++++++++++++++++ .../chat_thread_created_withUser.json | 61 +++++++++++++++++++ .../chat_thread_deleted.json | 21 +++++++ .../chat_thread_participant_added.json | 30 +++++++++ .../chat_thread_participant_removed.json | 30 +++++++++ .../chat_thread_properties_updated.json | 24 ++++++++ ...at_thread_properties_updated_per_user.json | 32 ++++++++++ .../chat_thread_with_user_deleted.json | 29 +++++++++ .../recording_file_status_updated.json | 28 +++++++++ .../sms_delivery_report_received.json | 23 +++++++ .../cloud-events-schema/sms_received.json | 15 +++++ .../user_disconnected.json | 16 +++++ .../chat_message_deleted.json | 0 .../chat_message_deleted_in_thread.json | 0 .../chat_message_edited.json | 0 .../chat_message_edited_in_thread.json | 0 .../chat_message_received.json | 0 .../chat_message_received_in_thread.json | 0 ...participant_added_to_thread_with_user.json | 0 ...icipant_removed_from_thread_with_user.json | 0 .../chat_thread_created.json | 0 .../chat_thread_created_withUser.json | 0 .../chat_thread_deleted.json | 0 .../chat_thread_participant_added.json | 0 .../chat_thread_participant_removed.json | 0 .../chat_thread_properties_updated.json | 0 ...at_thread_properties_updated_per_user.json | 0 .../chat_thread_with_user_deleted.json | 0 .../recording_file_status_updated.json | 0 .../sms_delivery_report_received.json | 0 .../sms_received.json} | 0 .../user_disconnected.json | 0 .../cloud-events-schema/chart_deleted.json | 26 ++++++++ .../cloud-events-schema/chart_pushed.json | 26 ++++++++ .../cloud-events-schema/image_deleted.json | 28 +++++++++ .../cloud-events-schema/image_pushed.json | 31 ++++++++++ .../chart_deleted.json | 2 +- .../{ => event-grid-schema}/chart_pushed.json | 0 .../image_deleted.json | 0 .../{ => event-grid-schema}/image_pushed.json | 0 .../new_kubernetes_version_available.json | 14 +++++ .../new_kubernetes_version_available.json | 0 .../cloud-events-schema/device_connected.json | 16 +++++ .../cloud-events-schema/device_created.json | 42 +++++++++++++ .../cloud-events-schema/device_telemetry.json | 28 +++++++++ .../device_connected.json | 0 .../device_created.json | 0 .../device_telemetry.json | 0 .../capture_file_created.json | 19 ++++++ .../capture_file_created.json | 0 .../fhir_resource_created.json | 14 +++++ .../fhir_resource_deleted.json | 14 +++++ .../fhir_resource_updated.json | 14 +++++ .../fhir_resource_created.json | 0 .../fhir_resource_deleted.json | 0 .../fhir_resource_updated.json | 0 .../secret_new_version_created.json | 17 ++++++ .../secret_new_version_created.json | 0 .../dataset_drift_detected.json | 18 ++++++ .../cloud-events-schema/model_deployed.json | 20 ++++++ .../cloud-events-schema/model_registered.json | 19 ++++++ .../cloud-events-schema/run_completed.json | 30 +++++++++ .../run_status_changed.json | 31 ++++++++++ .../dataset_drift_detected.json | 0 .../model_deployed.json | 0 .../model_registered.json | 0 .../run_completed.json | 0 .../run_status_changed.json | 0 .../cloud-events-schema/geofence_entered.json | 22 +++++++ .../cloud-events-schema/geofence_result.json | 30 +++++++++ .../geofence_entered.json | 0 .../geofence_result.json | 0 ...LiveEventChannelArchiveHeartbeatEvent.json | 14 +++++ .../MediaLiveEventIngestHeartbeatEvent.json | 28 +++++++++ ...LiveEventChannelArchiveHeartbeatEvent.json | 0 .../MediaLiveEventIngestHeartbeatEvent.json | 0 .../policy_state_changed.json | 17 ++++++ .../policy_state_created.json | 17 ++++++ .../policy_state_changed.json | 0 .../policy_state_created.json | 0 .../resource_action_cancel.json | 51 ++++++++++++++++ .../resource_action_failure.json | 51 ++++++++++++++++ .../resource_action_success.json | 51 ++++++++++++++++ .../resource_delete_cancel.json | 60 ++++++++++++++++++ .../resource_delete_failure.json | 60 ++++++++++++++++++ .../resource_delete_success.json | 60 ++++++++++++++++++ .../resource_write_cancel.json | 54 ++++++++++++++++ .../resource_write_failure.json | 54 ++++++++++++++++ .../resource_write_success.json | 54 ++++++++++++++++ .../resource_action_cancel.json | 0 .../resource_action_failure.json | 0 .../resource_action_success.json | 0 .../resource_delete_cancel.json | 0 .../resource_delete_failure.json | 0 .../resource_delete_success.json | 0 .../resource_write_cancel.json | 0 .../resource_write_failure.json | 0 .../resource_write_success.json | 0 ...ages_available_periodic_notifications.json | 16 +++++ ..._messages_available_with_no_listeners.json | 16 +++++ ...sages_available_periodic_notification.json | 16 +++++ ..._messages_available_with_no_listeners.json | 16 +++++ ...ages_available_periodic_notifications.json | 0 ..._messages_available_with_no_listeners.json | 0 ...sages_available_periodic_notification.json | 0 ..._messages_available_with_no_listeners.json | 0 .../client_connection_connected.json | 14 +++++ .../client_connection_disconnected.json | 15 +++++ .../client_connection_connected.json | 0 .../client_connection_disconnected.json | 0 .../cloud-events-schema/blob_created.json | 22 +++++++ .../cloud-events-schema/blob_deleted.json | 21 +++++++ .../blob_inventory_policy_completed.json | 17 ++++++ .../cloud-events-schema/blob_renamed.json | 20 ++++++ .../blob_tier_changed.json | 21 +++++++ .../directory_created.json | 31 ++++++++++ .../directory_deleted.json | 19 ++++++ .../directory_renamed.json | 20 ++++++ .../{ => event-grid-schema}/blob_created.json | 0 .../{ => event-grid-schema}/blob_deleted.json | 0 .../blob_inventory_policy_completed.json | 0 .../{ => event-grid-schema}/blob_renamed.json | 0 .../blob_tier_changed.json | 0 .../directory_created.json | 0 .../directory_deleted.json | 0 .../directory_renamed.json | 0 .../app_service_plan_updated.json | 28 +++++++++ .../app_updated_changed_app_settings.json | 19 ++++++ .../app_updated_restarted.json | 19 ++++++ .../app_updated_stopped.json | 19 ++++++ .../backup_operation_completed.json | 19 ++++++ .../backup_operation_failed.json | 19 ++++++ .../backup_operation_started.json | 19 ++++++ .../restore_operation_completed.json | 19 ++++++ .../restore_operation_failed.json | 19 ++++++ .../restore_operation_started.json | 19 ++++++ .../slot_swap_completed.json | 19 ++++++ .../cloud-events-schema/slot_swap_failed.json | 19 ++++++ .../slot_swap_started.json | 19 ++++++ .../slot_swap_with_preview_cancelled.json | 19 ++++++ .../slot_swap_with_preview_started.json | 19 ++++++ .../app_service_plan_updated.json | 0 .../app_updated_changed_app_settings.json | 0 .../app_updated_restarted.json | 0 .../app_updated_stopped.json | 0 .../backup_operation_completed.json | 0 .../backup_operation_failed.json | 0 .../backup_operation_started.json | 0 .../restore_operation_completed.json | 0 .../restore_operation_failed.json | 0 .../restore_operation_started.json | 0 .../slot_swap_completed.json | 0 .../slot_swap_failed.json | 0 .../slot_swap_started.json | 0 .../slot_swap_with_preview_cancelled.json | 0 .../slot_swap_with_preview_started.json | 0 specification/eventgrid/data-plane/readme.md | 4 +- 207 files changed, 2465 insertions(+), 2 deletions(-) create mode 100644 specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/apiCreated.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/apiDeleted.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/apiUpdated.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/apireleaseCreated.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/apireleaseDeleted.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/apireleaseUpdated.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/productCreated.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/productDeleted.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/productUpdated.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/subscriptionCreated.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/subscriptionDeleted.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/subscriptionUpdated.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/userCreated.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/userDeleted.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/userUpdated.json rename specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/{ => event-grid-schema}/apiCreated.json (100%) rename specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/{ => event-grid-schema}/apiDeleted.json (100%) rename specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/{ => event-grid-schema}/apiUpdated.json (100%) rename specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/{ => event-grid-schema}/apireleaseCreated.json (100%) rename specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/{ => event-grid-schema}/apireleaseDeleted.json (100%) rename specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/{ => event-grid-schema}/apireleaseUpdated.json (100%) rename specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/{ => event-grid-schema}/productCreated.json (100%) rename specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/{ => event-grid-schema}/productDeleted.json (100%) rename specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/{ => event-grid-schema}/productUpdated.json (100%) rename specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/{ => event-grid-schema}/subscriptionCreated.json (100%) rename specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/{ => event-grid-schema}/subscriptionDeleted.json (100%) rename specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/{ => event-grid-schema}/subscriptionUpdated.json (100%) rename specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/{ => event-grid-schema}/userCreated.json (100%) rename specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/{ => event-grid-schema}/userDeleted.json (100%) rename specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/{ => event-grid-schema}/userUpdated.json (100%) create mode 100644 specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/examples/cloud-events-schema/keyvalue_deleted.json create mode 100644 specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/examples/cloud-events-schema/keyvalue_modified.json rename specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/examples/{ => event-grid-schema}/keyvalue_deleted.json (100%) rename specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/examples/{ => event-grid-schema}/keyvalue_modified.json (100%) create mode 100644 specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/cloud-events-schema/export_rdb_completed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/cloud-events-schema/import_rdb_completed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/cloud-events-schema/patching_completed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/cloud-events-schema/scaling_completed.json rename specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/{ => event-grid-schema}/export_rdb_completed.json (100%) rename specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/{ => event-grid-schema}/import_rdb_completed.json (100%) rename specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/{ => event-grid-schema}/patching_completed.json (100%) rename specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/{ => event-grid-schema}/scaling_completed.json (100%) create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_message_deleted.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_message_deleted_in_thread.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_message_edited.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_message_edited_in_thread.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_message_received.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_message_received_in_thread.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_participant_added_to_thread_with_user.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_participant_removed_from_thread_with_user.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_thread_created.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_thread_created_withUser.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_thread_deleted.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_thread_participant_added.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_thread_participant_removed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_thread_properties_updated.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_thread_properties_updated_per_user.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_thread_with_user_deleted.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/recording_file_status_updated.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/sms_delivery_report_received.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/sms_received.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/user_disconnected.json rename specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/{ => event-grid-schema}/chat_message_deleted.json (100%) rename specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/{ => event-grid-schema}/chat_message_deleted_in_thread.json (100%) rename specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/{ => event-grid-schema}/chat_message_edited.json (100%) rename specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/{ => event-grid-schema}/chat_message_edited_in_thread.json (100%) rename specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/{ => event-grid-schema}/chat_message_received.json (100%) rename specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/{ => event-grid-schema}/chat_message_received_in_thread.json (100%) rename specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/{ => event-grid-schema}/chat_participant_added_to_thread_with_user.json (100%) rename specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/{ => event-grid-schema}/chat_participant_removed_from_thread_with_user.json (100%) rename specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/{ => event-grid-schema}/chat_thread_created.json (100%) rename specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/{ => event-grid-schema}/chat_thread_created_withUser.json (100%) rename specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/{ => event-grid-schema}/chat_thread_deleted.json (100%) rename specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/{ => event-grid-schema}/chat_thread_participant_added.json (100%) rename specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/{ => event-grid-schema}/chat_thread_participant_removed.json (100%) rename specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/{ => event-grid-schema}/chat_thread_properties_updated.json (100%) rename specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/{ => event-grid-schema}/chat_thread_properties_updated_per_user.json (100%) rename specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/{ => event-grid-schema}/chat_thread_with_user_deleted.json (100%) rename specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/{ => event-grid-schema}/recording_file_status_updated.json (100%) rename specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/{ => event-grid-schema}/sms_delivery_report_received.json (100%) rename specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/{sms_received => event-grid-schema/sms_received.json} (100%) rename specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/{ => event-grid-schema}/user_disconnected.json (100%) create mode 100644 specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/cloud-events-schema/chart_deleted.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/cloud-events-schema/chart_pushed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/cloud-events-schema/image_deleted.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/cloud-events-schema/image_pushed.json rename specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/{ => event-grid-schema}/chart_deleted.json (94%) rename specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/{ => event-grid-schema}/chart_pushed.json (100%) rename specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/{ => event-grid-schema}/image_deleted.json (100%) rename specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/{ => event-grid-schema}/image_pushed.json (100%) create mode 100644 specification/eventgrid/data-plane/Microsoft.ContainerService/stable/2018-01-01/examples/cloud-events-schema/new_kubernetes_version_available.json rename specification/eventgrid/data-plane/Microsoft.ContainerService/stable/2018-01-01/examples/{ => event-grid-schema}/new_kubernetes_version_available.json (100%) create mode 100644 specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/cloud-events-schema/device_connected.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/cloud-events-schema/device_created.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/cloud-events-schema/device_telemetry.json rename specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/{ => event-grid-schema}/device_connected.json (100%) rename specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/{ => event-grid-schema}/device_created.json (100%) rename specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/{ => event-grid-schema}/device_telemetry.json (100%) create mode 100644 specification/eventgrid/data-plane/Microsoft.EventHub/stable/2018-01-01/examples/cloud-events-schema/capture_file_created.json rename specification/eventgrid/data-plane/Microsoft.EventHub/stable/2018-01-01/examples/{ => event-grid-schema}/capture_file_created.json (100%) create mode 100644 specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/cloud-events-schema/fhir_resource_created.json create mode 100644 specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/cloud-events-schema/fhir_resource_deleted.json create mode 100644 specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/cloud-events-schema/fhir_resource_updated.json rename specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/{ => event-grid-schema}/fhir_resource_created.json (100%) rename specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/{ => event-grid-schema}/fhir_resource_deleted.json (100%) rename specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/{ => event-grid-schema}/fhir_resource_updated.json (100%) create mode 100644 specification/eventgrid/data-plane/Microsoft.KeyVault/stable/2018-01-01/examples/cloud-events-schema/secret_new_version_created.json rename specification/eventgrid/data-plane/Microsoft.KeyVault/stable/2018-01-01/examples/{ => event-grid-schema}/secret_new_version_created.json (100%) create mode 100644 specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/cloud-events-schema/dataset_drift_detected.json create mode 100644 specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/cloud-events-schema/model_deployed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/cloud-events-schema/model_registered.json create mode 100644 specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/cloud-events-schema/run_completed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/cloud-events-schema/run_status_changed.json rename specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/{ => event-grid-schema}/dataset_drift_detected.json (100%) rename specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/{ => event-grid-schema}/model_deployed.json (100%) rename specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/{ => event-grid-schema}/model_registered.json (100%) rename specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/{ => event-grid-schema}/run_completed.json (100%) rename specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/{ => event-grid-schema}/run_status_changed.json (100%) create mode 100644 specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/cloud-events-schema/geofence_entered.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/cloud-events-schema/geofence_result.json rename specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/{ => event-grid-schema}/geofence_entered.json (100%) rename specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/{ => event-grid-schema}/geofence_result.json (100%) create mode 100644 specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/examples/cloud-events-schema/MediaLiveEventChannelArchiveHeartbeatEvent.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/examples/cloud-events-schema/MediaLiveEventIngestHeartbeatEvent.json rename specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/examples/{ => event-grid-schema}/MediaLiveEventChannelArchiveHeartbeatEvent.json (100%) rename specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/examples/{ => event-grid-schema}/MediaLiveEventIngestHeartbeatEvent.json (100%) create mode 100644 specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/cloud-events-schema/policy_state_changed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/cloud-events-schema/policy_state_created.json rename specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/{ => event-grid-schema}/policy_state_changed.json (100%) rename specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/{ => event-grid-schema}/policy_state_created.json (100%) create mode 100644 specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_action_cancel.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_action_failure.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_action_success.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_delete_cancel.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_delete_failure.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_delete_success.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_write_cancel.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_write_failure.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_write_success.json rename specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/{ => event-grid-schema}/resource_action_cancel.json (100%) rename specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/{ => event-grid-schema}/resource_action_failure.json (100%) rename specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/{ => event-grid-schema}/resource_action_success.json (100%) rename specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/{ => event-grid-schema}/resource_delete_cancel.json (100%) rename specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/{ => event-grid-schema}/resource_delete_failure.json (100%) rename specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/{ => event-grid-schema}/resource_delete_success.json (100%) rename specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/{ => event-grid-schema}/resource_write_cancel.json (100%) rename specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/{ => event-grid-schema}/resource_write_failure.json (100%) rename specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/{ => event-grid-schema}/resource_write_success.json (100%) create mode 100644 specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/cloud-events-schema/active_messages_available_periodic_notifications.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/cloud-events-schema/active_messages_available_with_no_listeners.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/cloud-events-schema/deadletter_messages_available_periodic_notification.json create mode 100644 specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/cloud-events-schema/deadletter_messages_available_with_no_listeners.json rename specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/{ => event-grid-schema}/active_messages_available_periodic_notifications.json (100%) rename specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/{ => event-grid-schema}/active_messages_available_with_no_listeners.json (100%) rename specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/{ => event-grid-schema}/deadletter_messages_available_periodic_notification.json (100%) rename specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/{ => event-grid-schema}/deadletter_messages_available_with_no_listeners.json (100%) create mode 100644 specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/examples/cloud-events-schema/client_connection_connected.json create mode 100644 specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/examples/cloud-events-schema/client_connection_disconnected.json rename specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/examples/{ => event-grid-schema}/client_connection_connected.json (100%) rename specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/examples/{ => event-grid-schema}/client_connection_disconnected.json (100%) create mode 100644 specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/cloud-events-schema/blob_created.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/cloud-events-schema/blob_deleted.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/cloud-events-schema/blob_inventory_policy_completed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/cloud-events-schema/blob_renamed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/cloud-events-schema/blob_tier_changed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/cloud-events-schema/directory_created.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/cloud-events-schema/directory_deleted.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/cloud-events-schema/directory_renamed.json rename specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/{ => event-grid-schema}/blob_created.json (100%) rename specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/{ => event-grid-schema}/blob_deleted.json (100%) rename specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/{ => event-grid-schema}/blob_inventory_policy_completed.json (100%) rename specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/{ => event-grid-schema}/blob_renamed.json (100%) rename specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/{ => event-grid-schema}/blob_tier_changed.json (100%) rename specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/{ => event-grid-schema}/directory_created.json (100%) rename specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/{ => event-grid-schema}/directory_deleted.json (100%) rename specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/{ => event-grid-schema}/directory_renamed.json (100%) create mode 100644 specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/app_service_plan_updated.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/app_updated_changed_app_settings.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/app_updated_restarted.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/app_updated_stopped.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/backup_operation_completed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/backup_operation_failed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/backup_operation_started.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/restore_operation_completed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/restore_operation_failed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/restore_operation_started.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/slot_swap_completed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/slot_swap_failed.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/slot_swap_started.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/slot_swap_with_preview_cancelled.json create mode 100644 specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/slot_swap_with_preview_started.json rename specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/{ => event-grid-schema}/app_service_plan_updated.json (100%) rename specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/{ => event-grid-schema}/app_updated_changed_app_settings.json (100%) rename specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/{ => event-grid-schema}/app_updated_restarted.json (100%) rename specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/{ => event-grid-schema}/app_updated_stopped.json (100%) rename specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/{ => event-grid-schema}/backup_operation_completed.json (100%) rename specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/{ => event-grid-schema}/backup_operation_failed.json (100%) rename specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/{ => event-grid-schema}/backup_operation_started.json (100%) rename specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/{ => event-grid-schema}/restore_operation_completed.json (100%) rename specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/{ => event-grid-schema}/restore_operation_failed.json (100%) rename specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/{ => event-grid-schema}/restore_operation_started.json (100%) rename specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/{ => event-grid-schema}/slot_swap_completed.json (100%) rename specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/{ => event-grid-schema}/slot_swap_failed.json (100%) rename specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/{ => event-grid-schema}/slot_swap_started.json (100%) rename specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/{ => event-grid-schema}/slot_swap_with_preview_cancelled.json (100%) rename specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/{ => event-grid-schema}/slot_swap_with_preview_started.json (100%) diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/apiCreated.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/apiCreated.json new file mode 100644 index 000000000000..f04af1e25a22 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/apiCreated.json @@ -0,0 +1,11 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", + "subject": "/apis/myapi", + "type": "Microsoft.ApiManagement.APICreated", + "time": "2021-07-12T23:13:44.9048323Z", + "id": "95015754-aa51-4eb6-98d9-9ee322b82ad7", + "data": { + "resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/apis/myapi" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/apiDeleted.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/apiDeleted.json new file mode 100644 index 000000000000..ccb0cdb2bf37 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/apiDeleted.json @@ -0,0 +1,11 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", + "subject": "/apis/myapi;Rev=1", + "type": "Microsoft.ApiManagement.APIDeleted", + "time": "2021-07-12T23:13:44.9048323Z", + "id": "95015754-aa51-4eb6-98d9-9ee322b82ad7", + "data": { + "resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/apis/myapi;Rev=1" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/apiUpdated.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/apiUpdated.json new file mode 100644 index 000000000000..2ecc7c42d397 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/apiUpdated.json @@ -0,0 +1,11 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", + "subject": "/apis/myapi;Rev=1", + "type": "Microsoft.ApiManagement.APIUpdated", + "time": "2021-07-12T23:13:44.9048323Z", + "id": "95015754-aa51-4eb6-98d9-9ee322b82ad7", + "data": { + "resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/apis/myapi;Rev=1" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/apireleaseCreated.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/apireleaseCreated.json new file mode 100644 index 000000000000..d180654cd042 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/apireleaseCreated.json @@ -0,0 +1,11 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", + "subject": "/apis/{apiId}/releases/{releaseId}", + "type": "Microsoft.ApiManagement.APIReleaseCreated", + "time": "2021-07-12T23:13:44.9048323Z", + "id": "95015754-aa51-4eb6-98d9-9ee322b82ad7", + "data": { + "resourceUri": "/subscriptions/subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/apis/{apiId}/releases/{releaseId}" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/apireleaseDeleted.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/apireleaseDeleted.json new file mode 100644 index 000000000000..cb474ac81ecd --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/apireleaseDeleted.json @@ -0,0 +1,11 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", + "subject": "/apis/{apiId}/releases/{releaseId}", + "type": "Microsoft.ApiManagement.APIReleaseDeleted", + "time": "2021-07-12T23:13:44.9048323Z", + "id": "95015754-aa51-4eb6-98d9-9ee322b82ad7", + "data": { + "resourceUri": "/subscriptions/subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/apis/{apiId}/releases/{releaseId}" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/apireleaseUpdated.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/apireleaseUpdated.json new file mode 100644 index 000000000000..ade20b791911 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/apireleaseUpdated.json @@ -0,0 +1,11 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", + "subject": "/apis/{apiId}/releases/{releaseId}", + "type": "Microsoft.ApiManagement.APIReleaseUpdated", + "time": "2021-07-12T23:13:44.9048323Z", + "id": "95015754-aa51-4eb6-98d9-9ee322b82ad7", + "data": { + "resourceUri": "/subscriptions/subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/apis/{apiId}/releases/{releaseId}" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/productCreated.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/productCreated.json new file mode 100644 index 000000000000..d5b4fac5f3e3 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/productCreated.json @@ -0,0 +1,11 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", + "subject": "/products/myproduct", + "type": "Microsoft.ApiManagement.ProductCreated", + "time": "2021-07-02T00:47:47.8536532Z", + "id": "92c502f2-a966-42a7-a428-d3b319844544", + "data": { + "resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/products/myproduct" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/productDeleted.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/productDeleted.json new file mode 100644 index 000000000000..66654d4e5f89 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/productDeleted.json @@ -0,0 +1,11 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", + "subject": "/products/myproduct", + "type": "Microsoft.ApiManagement.ProductDeleted", + "time": "2021-07-02T00:47:47.8536532Z", + "id": "92c502f2-a966-42a7-a428-d3b319844544", + "data": { + "resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/products/myproduct" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/productUpdated.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/productUpdated.json new file mode 100644 index 000000000000..96690fbff41a --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/productUpdated.json @@ -0,0 +1,11 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", + "subject": "/products/myproduct", + "type": "Microsoft.ApiManagement.ProductUpdated", + "time": "2021-07-02T00:47:47.8536532Z", + "id": "92c502f2-a966-42a7-a428-d3b319844544", + "data": { + "resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/products/myproduct" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/subscriptionCreated.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/subscriptionCreated.json new file mode 100644 index 000000000000..254bbd8853b2 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/subscriptionCreated.json @@ -0,0 +1,11 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", + "subject": "/subscriptions/{subscriptionId}", + "type": "Microsoft.ApiManagement.SubscriptionCreated", + "time": "2021-07-02T00:47:47.8536532Z", + "id": "831e1650-001e-001b-66ab-eeb76e069631", + "data": { + "resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/subscriptions/{subscriptionId}" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/subscriptionDeleted.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/subscriptionDeleted.json new file mode 100644 index 000000000000..9fd3aaf3008f --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/subscriptionDeleted.json @@ -0,0 +1,11 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", + "subject": "/subscriptions/{subscriptionId}", + "type": "Microsoft.ApiManagement.SubscriptionDeleted", + "time": "2021-07-02T00:47:47.8536532Z", + "id": "831e1650-001e-001b-66ab-eeb76e069631", + "data": { + "resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/subscriptions/{subscriptionId}" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/subscriptionUpdated.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/subscriptionUpdated.json new file mode 100644 index 000000000000..746c131c4fe0 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/subscriptionUpdated.json @@ -0,0 +1,11 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", + "subject": "/subscriptions/{subscriptionId}", + "type": "Microsoft.ApiManagement.SubscriptionUpdated", + "time": "2021-07-02T00:47:47.8536532Z", + "id": "831e1650-001e-001b-66ab-eeb76e069631", + "data": { + "resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/subscriptions/{subscriptionId}" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/userCreated.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/userCreated.json new file mode 100644 index 000000000000..1aa31f3f67bd --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/userCreated.json @@ -0,0 +1,11 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", + "subject": "/users/apimuser-contoso-com", + "type": "Microsoft.ApiManagement.UserCreated", + "time": "2021-07-02T00:47:47.8237532Z", + "id": "92c502f2-a966-42a7-a428-d3b319844544", + "data": { + "resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/users/apimuser-contoso-com" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/userDeleted.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/userDeleted.json new file mode 100644 index 000000000000..719fee537498 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/userDeleted.json @@ -0,0 +1,11 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", + "subject": "/users/apimuser-contoso-com", + "type": "Microsoft.ApiManagement.UserDeleted", + "time": "2021-07-02T00:47:47.8536532Z", + "id": "92c502f2-a966-42a7-a428-d3b319844544", + "data": { + "resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/users/apimuser-contoso-com" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/userUpdated.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/userUpdated.json new file mode 100644 index 000000000000..ea0a22b67b54 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/cloud-events-schema/userUpdated.json @@ -0,0 +1,11 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", + "subject": "/users/apimuser-contoso-com", + "type": "Microsoft.ApiManagement.UserUpdated", + "time": "2021-07-02T00:47:48.8269769Z", + "id": "92c502f2-a966-42a7-a428-d3b319844544", + "data": { + "resourceUri": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}/users/apimuser-contoso-com" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiCreated.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/event-grid-schema/apiCreated.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiCreated.json rename to specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/event-grid-schema/apiCreated.json diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiDeleted.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/event-grid-schema/apiDeleted.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiDeleted.json rename to specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/event-grid-schema/apiDeleted.json diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiUpdated.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/event-grid-schema/apiUpdated.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apiUpdated.json rename to specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/event-grid-schema/apiUpdated.json diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apireleaseCreated.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/event-grid-schema/apireleaseCreated.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apireleaseCreated.json rename to specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/event-grid-schema/apireleaseCreated.json diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apireleaseDeleted.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/event-grid-schema/apireleaseDeleted.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apireleaseDeleted.json rename to specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/event-grid-schema/apireleaseDeleted.json diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apireleaseUpdated.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/event-grid-schema/apireleaseUpdated.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/apireleaseUpdated.json rename to specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/event-grid-schema/apireleaseUpdated.json diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/productCreated.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/event-grid-schema/productCreated.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/productCreated.json rename to specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/event-grid-schema/productCreated.json diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/productDeleted.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/event-grid-schema/productDeleted.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/productDeleted.json rename to specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/event-grid-schema/productDeleted.json diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/productUpdated.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/event-grid-schema/productUpdated.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/productUpdated.json rename to specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/event-grid-schema/productUpdated.json diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/subscriptionCreated.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/event-grid-schema/subscriptionCreated.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/subscriptionCreated.json rename to specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/event-grid-schema/subscriptionCreated.json diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/subscriptionDeleted.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/event-grid-schema/subscriptionDeleted.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/subscriptionDeleted.json rename to specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/event-grid-schema/subscriptionDeleted.json diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/subscriptionUpdated.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/event-grid-schema/subscriptionUpdated.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/subscriptionUpdated.json rename to specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/event-grid-schema/subscriptionUpdated.json diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/userCreated.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/event-grid-schema/userCreated.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/userCreated.json rename to specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/event-grid-schema/userCreated.json diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/userDeleted.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/event-grid-schema/userDeleted.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/userDeleted.json rename to specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/event-grid-schema/userDeleted.json diff --git a/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/userUpdated.json b/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/event-grid-schema/userUpdated.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/userUpdated.json rename to specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/examples/event-grid-schema/userUpdated.json diff --git a/specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/examples/cloud-events-schema/keyvalue_deleted.json b/specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/examples/cloud-events-schema/keyvalue_deleted.json new file mode 100644 index 000000000000..b2864370be8f --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/examples/cloud-events-schema/keyvalue_deleted.json @@ -0,0 +1,14 @@ +{ + "source": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/microsoft.appconfiguration/configurationstores/contoso", + "subject": "https://contoso.azconfig.io/kv/Foo?label=FizzBuzz", + "type": "Microsoft.AppConfiguration.KeyValueDeleted", + "time": "2019-05-31T20:05:03.0000000Z", + "id": "84e17ea4-66db-4b54-8050-df8f7763f87b", + "data": { + "key": "Foo", + "label": "FizzBuzz", + "etag": "FnUExLaj2moIi4tJX9AXn9sakm0", + "syncToken": "zAJw6V16=Njo1IzUxNjQ2NzM=;sn=5164673" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/examples/cloud-events-schema/keyvalue_modified.json b/specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/examples/cloud-events-schema/keyvalue_modified.json new file mode 100644 index 000000000000..6087d1d9edfb --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/examples/cloud-events-schema/keyvalue_modified.json @@ -0,0 +1,14 @@ +{ + "source": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/microsoft.appconfiguration/configurationstores/contoso", + "subject": "https://contoso.azconfig.io/kv/Foo?label=FizzBuzz", + "type": "Microsoft.AppConfiguration.KeyValueModified", + "time": "2019-05-31T20:05:03.0000000Z", + "id": "84e17ea4-66db-4b54-8050-df8f7763f87b", + "data": { + "key": "Foo", + "label": "FizzBuzz", + "etag": "FnUExLaj2moIi4tJX9AXn9sakm0", + "syncToken": "zAJw6V16=Njo1IzUxNjQ2NzM=;sn=5164673" + }, + "specVersion": "1.0" +} \ No newline at end of file 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/event-grid-schema/keyvalue_deleted.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/examples/keyvalue_deleted.json rename to specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/examples/event-grid-schema/keyvalue_deleted.json 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/event-grid-schema/keyvalue_modified.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/examples/keyvalue_modified.json rename to specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/examples/event-grid-schema/keyvalue_modified.json diff --git a/specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/cloud-events-schema/export_rdb_completed.json b/specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/cloud-events-schema/export_rdb_completed.json new file mode 100644 index 000000000000..d55496c8dad2 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/cloud-events-schema/export_rdb_completed.json @@ -0,0 +1,13 @@ +{ + "source": "/subscriptions/{subscription_id}/resourceGroups/{resource_group_name}/providers/Microsoft.Cache/Redis/{cache_name}", + "subject": "ExportRDBCompleted", + "type": "Microsoft.Cache.ExportRDBCompleted", + "time": "2020-12-09T13:50:19.9995668-08:00", + "id": "9b87886d-21a5-4af5-8e3e-10c4b8dac73b", + "data": { + "name": "ExportRDBCompleted", + "timestamp": "2020-12-09T13:50:19.9995668-08:00", + "status": "Succeeded" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/cloud-events-schema/import_rdb_completed.json b/specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/cloud-events-schema/import_rdb_completed.json new file mode 100644 index 000000000000..66400273e1c4 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/cloud-events-schema/import_rdb_completed.json @@ -0,0 +1,13 @@ +{ + "source": "/subscriptions/{subscription_id}/resourceGroups/{resource_group_name}/providers/Microsoft.Cache/Redis/{cache_name}", + "subject": "ImportRDBCompleted", + "type": "Microsoft.Cache.ImportRDBCompleted", + "time": "2020-12-09T13:50:19.9995668-08:00", + "id": "9b87886d-21a5-4af5-8e3e-10c4b8dac73b", + "data": { + "name": "ImportRDBCompleted", + "timestamp": "2020-12-09T13:50:19.9995668-08:00", + "status": "Succeeded" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/cloud-events-schema/patching_completed.json b/specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/cloud-events-schema/patching_completed.json new file mode 100644 index 000000000000..5931c7253af4 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/cloud-events-schema/patching_completed.json @@ -0,0 +1,13 @@ +{ + "source": "/subscriptions/{subscription_id}/resourceGroups/{resource_group_name}/providers/Microsoft.Cache/Redis/{cache_name}", + "subject": "PatchingCompleted", + "type": "Microsoft.Cache.PatchingCompleted", + "time": "2020-12-09T13:50:19.9995668-08:00", + "id": "9b87886d-21a5-4af5-8e3e-10c4b8dac73b", + "data": { + "name": "PatchingCompleted", + "timestamp": "2020-12-09T13:50:19.9995668-08:00", + "status": "Succeeded" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/cloud-events-schema/scaling_completed.json b/specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/cloud-events-schema/scaling_completed.json new file mode 100644 index 000000000000..09499d64dcc0 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/cloud-events-schema/scaling_completed.json @@ -0,0 +1,13 @@ +{ + "source": "/subscriptions/{subscription_id}/resourceGroups/{resource_group_name}/providers/Microsoft.Cache/Redis/{cache_name}", + "subject": "ScalingCompleted", + "type": "Microsoft.Cache.ScalingCompleted", + "time": "2020-12-09T13:50:19.9995668-08:00", + "id": "9b87886d-21a5-4af5-8e3e-10c4b8dac73b", + "data": { + "name": "ScalingCompleted", + "timestamp": "2020-12-09T13:50:19.9995668-08:00", + "status": "Succeeded" + }, + "specVersion": "1.0" +} \ No newline at end of file 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/event-grid-schema/export_rdb_completed.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/export_rdb_completed.json rename to specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/event-grid-schema/export_rdb_completed.json 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/event-grid-schema/import_rdb_completed.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/import_rdb_completed.json rename to specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/event-grid-schema/import_rdb_completed.json 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/event-grid-schema/patching_completed.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/patching_completed.json rename to specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/event-grid-schema/patching_completed.json 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/event-grid-schema/scaling_completed.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/scaling_completed.json rename to specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/examples/event-grid-schema/scaling_completed.json diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_message_deleted.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_message_deleted.json new file mode 100644 index 000000000000..cc000597549b --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_message_deleted.json @@ -0,0 +1,32 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "thread/{thread-id}/sender/{rawId}/recipient/{rawId}", + "type": "Microsoft.Communication.ChatMessageDeleted", + "time": "2021-02-19T00:43:10.9982947Z", + "id": "23cfcc13-33f2-4ae1-8d23-b5015b05302b", + "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" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_message_deleted_in_thread.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_message_deleted_in_thread.json new file mode 100644 index 000000000000..0916be676f21 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_message_deleted_in_thread.json @@ -0,0 +1,24 @@ +{ + "source": "/subscriptions/{subscription-id}/resourcegroups/{group-name}/providers/microsoft.communication/communicationservices/{communication-services-resource-name}", + "subject": "thread/{thread-id}/sender/{rawId}", + "type": "Microsoft.Communication.ChatMessageDeletedInThread", + "time": "2021-02-20T01:00:14.8518034Z", + "id": "17d9c39d-0c58-4ed8-947d-c55959f57f75", + "data": { + "deleteTime": "2021-02-19T16:59:10.464-08: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-19T16:58:05.44-08:00", + "threadId": "19:e07c8ddc5bab4c059ea9f11d29b544b6@thread.v2", + "transactionId": "HqU6PeK5AkCRSpW8eAbL0A.1.1.2.1.987824181.1" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_message_edited.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_message_edited.json new file mode 100644 index 000000000000..e6cf6d143fc0 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_message_edited.json @@ -0,0 +1,37 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "thread/{thread-id}/sender/{rawId}/recipient/{rawId}", + "type": "Microsoft.Communication.ChatMessageEdited", + "time": "2021-02-19T00:28:21.7456718Z", + "id": "93fc1037-b645-4eb0-a0f2-d7bb3ba6e060", + "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" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_message_edited_in_thread.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_message_edited_in_thread.json new file mode 100644 index 000000000000..2dea2cae7c08 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_message_edited_in_thread.json @@ -0,0 +1,29 @@ +{ + "source": "/subscriptions/{subscription-id}/resourcegroups/{group-name}/providers/microsoft.communication/communicationservices/{communication-services-resource-name}", + "subject": "thread/{thread-id}/sender/{rawId}", + "type": "Microsoft.Communication.ChatMessageEditedInThread", + "time": "2021-02-20T00:59:10.7600061Z", + "id": "7b8dc01e-2659-41fa-bc8c-88a967714510", + "data": { + "editTime": "2021-02-19T16:59:10.464-08: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-19T16:58:05.964-08:00", + "threadId": "19:e07c8ddc5bab4c059ea9f11d29b544b6@thread.v2", + "transactionId": "H8Gpj3NkIU6bXlWw8WPvhQ.2.1.2.1.985333801.1" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_message_received.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_message_received.json new file mode 100644 index 000000000000..75fd39d8e474 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_message_received.json @@ -0,0 +1,36 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "thread/{thread-id}/sender/{rawId}/recipient/{rawId}", + "type": "Microsoft.Communication.ChatMessageReceived", + "time": "2021-02-19T00:25:59.9436666Z", + "id": "02272459-badb-4e2e-b538-4cb8a2f71da6", + "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" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_message_received_in_thread.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_message_received_in_thread.json new file mode 100644 index 000000000000..14ea041dab8b --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_message_received_in_thread.json @@ -0,0 +1,28 @@ +{ + "source": "/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", + "type": "Microsoft.Communication.ChatMessageReceivedInThread", + "time": "2021-02-20T01:07:10.5704596Z", + "id": "4f614f97-c451-4b82-a8c9-1e30c3bfcda1", + "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-19T17:07:10.064-08:00", + "threadId": "19:5b3809e80e4a439d92c3316e273f4a2b@thread.v2", + "transactionId": "foMkntkKS0O/MhMlIE5Aag.1.1.1.1.1004077250.1" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_participant_added_to_thread_with_user.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_participant_added_to_thread_with_user.json new file mode 100644 index 000000000000..494d0b52f332 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_participant_added_to_thread_with_user.json @@ -0,0 +1,36 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "thread/{thread-id}/participantAdded/{rawId}/recipient/{rawId}", + "type": "Microsoft.Communication.ChatParticipantAddedToThreadWithUser", + "time": "2021-02-25T06:37:31.4880091Z", + "id": "049a5a7f-6cd7-43c1-b352-df9e9e6146d1", + "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" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_participant_removed_from_thread_with_user.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_participant_removed_from_thread_with_user.json new file mode 100644 index 000000000000..901b9b3d4bf2 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_participant_removed_from_thread_with_user.json @@ -0,0 +1,36 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "thread/{thread-id}/participantRemoved/{rawId}/recipient/{rawId}", + "type": "Microsoft.Communication.ChatParticipantRemovedFromThreadWithUser", + "time": "2021-02-25T06:40:24.2244945Z", + "id": "e8a4df24-799d-4c53-94fd-1e05703a4549", + "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" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_thread_created.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_thread_created.json new file mode 100644 index 000000000000..d7ceeba242a1 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_thread_created.json @@ -0,0 +1,61 @@ +{ + "source": "/subscriptions/{subscription-id}/resourcegroups/{group-name}/providers/microsoft.communication/communicationservices/{communication-services-resource-name}", + "subject": "thread/{thread-id}/createdBy/{rawId}", + "type": "Microsoft.Communication.ChatThreadCreated", + "time": "2021-02-20T00:31:54.5369967Z", + "id": "a607ac52-0974-4d3c-bfd8-6f708a26f509", + "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-19T16:31:54.365-08:00", + "version": 1613781114365, + "threadId": "19:e07c8ddc5bab4c059ea9f11d29b544b6@thread.v2", + "transactionId": "gK6+kgANy0O1wchlVKVTJg.1.1.1.1.921436178.1" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_thread_created_withUser.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_thread_created_withUser.json new file mode 100644 index 000000000000..9132829034bf --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_thread_created_withUser.json @@ -0,0 +1,61 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "thread/{thread-id}/createdBy/rawId/recipient/rawId", + "type": "Microsoft.Communication.ChatThreadCreatedWithUser", + "time": "2021-02-18T23:47:34.7437103Z", + "id": "eba02b2d-37bf-420e-8656-3a42ef74c435", + "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" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_thread_deleted.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_thread_deleted.json new file mode 100644 index 000000000000..9cd195b476c3 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_thread_deleted.json @@ -0,0 +1,21 @@ +{ + "source": "/subscriptions/{subscription-id}/resourcegroups/{group-name}/providers/microsoft.communication/communicationservices/{communication-services-resource-name}", + "subject": "thread/{thread-id}/deletedBy/{rawId}", + "type": "Microsoft.Communication.ChatThreadDeleted", + "time": "2021-02-20T00:00:42.5428002Z", + "id": "1dbd5237-4823-4fed-980c-8d27c17cf5b0", + "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-19T16:00:42.109802-08:00", + "createTime": "2021-02-19T16:00:39.947-08:00", + "version": 1613779241389, + "threadId": "19:c9e9f3060b884e448671391882066ac3@thread.v2", + "transactionId": "KibptDpcLEeEFnlR7cI3QA.1.1.2.1.848298005.1" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_thread_participant_added.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_thread_participant_added.json new file mode 100644 index 000000000000..3b25e9304e20 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_thread_participant_added.json @@ -0,0 +1,30 @@ +{ + "source": "/subscriptions/{subscription-id}/resourcegroups/{group-name}/providers/microsoft.communication/communicationservices/{communication-services-resource-name}", + "subject": "thread/{thread-id}/participantadded/{rawId}", + "type": "Microsoft.Communication.ChatThreadParticipantAdded", + "time": "2021-02-20T00:54:43.9866454Z", + "id": "3024eb5d-1d71-49d1-878c-7dc3165433d9", + "data": { + "time": "2021-02-19T16:54:42.8622646-08: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-19T16:31:54.365-08:00", + "version": 1613782482822, + "threadId": "19:e07c8ddc5bab4c059ea9f11d29b544b6@thread.v2", + "transactionId": "9q6cO7i4FkaZ+5RRVzshVw.1.1.1.1.974913783.1" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_thread_participant_removed.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_thread_participant_removed.json new file mode 100644 index 000000000000..948488872376 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_thread_participant_removed.json @@ -0,0 +1,30 @@ +{ + "source": "/subscriptions/{subscription-id}/resourcegroups/{group-name}/providers/microsoft.communication/communicationservices/{communication-services-resource-name}", + "subject": "thread/{thread-id}/participantremoved/{rawId}", + "type": "Microsoft.Communication.ChatThreadParticipantRemoved", + "time": "2021-02-20T00:56:18.8567210Z", + "id": "6ed810fd-8776-4b13-81c2-1a0c4f791a07", + "data": { + "time": "2021-02-19T16:56:18.1118825-08: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-19T16:31:54.365-08:00", + "version": 1613782578096, + "threadId": "19:e07c8ddc5bab4c059ea9f11d29b544b6@thread.v2", + "transactionId": "zGCq8IGRr0aEF6COuy7wSA.1.1.1.1.978649284.1" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_thread_properties_updated.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_thread_properties_updated.json new file mode 100644 index 000000000000..2e958c72f42a --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_thread_properties_updated.json @@ -0,0 +1,24 @@ +{ + "source": "/subscriptions/{subscription-id}/resourcegroups/{group-name}/providers/microsoft.communication/communicationservices/{communication-services-resource-name}", + "subject": "thread/{thread-id}/editedBy/{rawId}", + "type": "Microsoft.Communication.ChatThreadPropertiesUpdated", + "time": "2021-02-20T00:04:07.8410277Z", + "id": "cf867580-9caf-45be-b49f-ab1cbfcaa59f", + "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-19T16:04:07.7152073-08:00", + "properties": { + "topic": "Talk about new Thread Events in commuication services" + }, + "createTime": "2021-02-19T16:00:40.126-08:00", + "version": 1613779447695, + "threadId": "19:9e8eefe67b3c470a8187b4c2b00240bc@thread.v2", + "transactionId": "GBE9MB2a40KEWzexIg0D3A.1.1.1.1.856359041.1" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_thread_properties_updated_per_user.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_thread_properties_updated_per_user.json new file mode 100644 index 000000000000..7353863528fa --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_thread_properties_updated_per_user.json @@ -0,0 +1,32 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "thread/{thread-id}/editedBy/{rawId}/recipient/{rawId}", + "type": "Microsoft.Communication.ChatThreadPropertiesUpdatedPerUser", + "time": "2021-02-19T00:28:29.5597260Z", + "id": "d57342ff-264e-4a5e-9c54-ef05b7d50082", + "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" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_thread_with_user_deleted.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_thread_with_user_deleted.json new file mode 100644 index 000000000000..ea5f89047ad7 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/chat_thread_with_user_deleted.json @@ -0,0 +1,29 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "thread/{thread-id}/deletedBy/{rawId}/recipient/{rawId}", + "type": "Microsoft.Communication.ChatThreadWithUserDeleted", + "time": "2021-02-18T23:57:52.1597234Z", + "id": "f5d6750c-c6d7-4da8-bb05-6f3fca6c7295", + "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" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/recording_file_status_updated.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/recording_file_status_updated.json new file mode 100644 index 000000000000..273af456c834 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/recording_file_status_updated.json @@ -0,0 +1,28 @@ +{ + "source": "/subscriptions/{subscription-id}/resourcegroups/}{group-name}/providers/microsoft.communication/communicationservices/{communication-services-resource-name}", + "subject": "/recording/call/{call-id}/recordingId/{recording-id}", + "type": "Microsoft.Communication.RecordingFileStatusUpdated", + "time": "2021-07-27T15:20:34.2199328Z", + "id": "7283825e-f8f1-4c61-a9ea-752c56890500", + "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", + "deleteLocation": "https://storage.asm.skype.com/v1/objects/0-eus-d12-801b3f3fc462fe8a01e6810cbff729b8/content/deletedata" + } + ] + }, + "recordingStartTime": "2021-07-27T15:20:23.6089755Z", + "recordingDurationMs": 6620, + "sessionEndReason": "CallEnded", + "recordingContentType": "Audio", + "recordingChannelType": "Mixed", + "recordingFormatType": "Mp3" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/sms_delivery_report_received.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/sms_delivery_report_received.json new file mode 100644 index 000000000000..5cc578ee9e72 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/sms_delivery_report_received.json @@ -0,0 +1,23 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/microsoft.communication/communicationservices/{communication-services-resource-name}", + "subject": "/phonenumber/15555555555", + "type": "Microsoft.Communication.SMSDeliveryReportReceived", + "time": "2020-09-18T00:22:20.0000000Z", + "id": "Outgoing_202009180022138813a09b-0cbf-4304-9b03-1546683bb910", + "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 + } + ] + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/sms_received.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/sms_received.json new file mode 100644 index 000000000000..dde7f419c34d --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/sms_received.json @@ -0,0 +1,15 @@ +{ + "source": "/subscriptions/50ad1522-5c2c-4d9a-a6c8-67c11ecb75b8/resourcegroups/acse2e/providers/microsoft.communication/communicationservices/{communication-services-resource-name}", + "subject": "/phonenumber/15555555555", + "type": "Microsoft.Communication.SMSReceived", + "time": "2020-09-18T00:27:47.0000000Z", + "id": "Incoming_20200918002745d29ebbea-3341-4466-9690-0a03af35228e", + "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" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/user_disconnected.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/user_disconnected.json new file mode 100644 index 000000000000..80ffc864b240 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/cloud-events-schema/user_disconnected.json @@ -0,0 +1,16 @@ +{ + "source": "/subscriptions/3364013b-4c5c-4dc3-953a-072f091c89a7/resourcegroups/testresources/providers/microsoft.communication/communicationservices/vikramacstestresource", + "subject": "user/8:acs:5354158b-17b7-489c-9380-95d8821ff76b_0000000c-6c47-7dfd-6d70-224822000cfb", + "type": "Microsoft.Communication.UserDisconnected", + "time": "2021-09-09T21:13:45.0000000Z", + "id": "93fa5460-7d6c-4fb7-bbb7-2d56159e98d9", + "data": { + "userCommunicationIdentifier": { + "rawId": "8:acs:5354158b-17b7-489c-9380-95d8821ff76b_0000000c-6c47-7dfd-6d70-224822000cfb", + "communicationUser": { + "id": "8:acs:5354158b-17b7-489c-9380-95d8821ff76b_0000000c-6c47-7dfd-6d70-224822000cfb" + } + } + }, + "specVersion": "1.0" +} \ 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/event-grid-schema/chat_message_deleted.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_message_deleted.json rename to specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/chat_message_deleted.json 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/event-grid-schema/chat_message_deleted_in_thread.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_message_deleted_in_thread.json rename to specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/chat_message_deleted_in_thread.json 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/event-grid-schema/chat_message_edited.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_message_edited.json rename to specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/chat_message_edited.json 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/event-grid-schema/chat_message_edited_in_thread.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_message_edited_in_thread.json rename to specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/chat_message_edited_in_thread.json 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/event-grid-schema/chat_message_received.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_message_received.json rename to specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/chat_message_received.json 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/event-grid-schema/chat_message_received_in_thread.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_message_received_in_thread.json rename to specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/chat_message_received_in_thread.json 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/event-grid-schema/chat_participant_added_to_thread_with_user.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_participant_added_to_thread_with_user.json rename to specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/chat_participant_added_to_thread_with_user.json 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/event-grid-schema/chat_participant_removed_from_thread_with_user.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_participant_removed_from_thread_with_user.json rename to specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/chat_participant_removed_from_thread_with_user.json 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/event-grid-schema/chat_thread_created.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_created.json rename to specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/chat_thread_created.json 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/event-grid-schema/chat_thread_created_withUser.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_created_withUser.json rename to specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/chat_thread_created_withUser.json 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/event-grid-schema/chat_thread_deleted.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_deleted.json rename to specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/chat_thread_deleted.json 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/event-grid-schema/chat_thread_participant_added.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_participant_added.json rename to specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/chat_thread_participant_added.json 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/event-grid-schema/chat_thread_participant_removed.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_participant_removed.json rename to specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/chat_thread_participant_removed.json 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/event-grid-schema/chat_thread_properties_updated.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_properties_updated.json rename to specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/chat_thread_properties_updated.json 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/event-grid-schema/chat_thread_properties_updated_per_user.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_properties_updated_per_user.json rename to specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/chat_thread_properties_updated_per_user.json 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/event-grid-schema/chat_thread_with_user_deleted.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/chat_thread_with_user_deleted.json rename to specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/chat_thread_with_user_deleted.json 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/event-grid-schema/recording_file_status_updated.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/recording_file_status_updated.json rename to specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/recording_file_status_updated.json 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/event-grid-schema/sms_delivery_report_received.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/sms_delivery_report_received.json rename to specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/sms_delivery_report_received.json 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/event-grid-schema/sms_received.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/sms_received rename to specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/sms_received.json diff --git a/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/user_disconnected.json b/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/user_disconnected.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/user_disconnected.json rename to specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/examples/event-grid-schema/user_disconnected.json diff --git a/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/cloud-events-schema/chart_deleted.json b/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/cloud-events-schema/chart_deleted.json new file mode 100644 index 000000000000..3b77ffd0ea55 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/cloud-events-schema/chart_deleted.json @@ -0,0 +1,26 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.ContainerRegistry/registries/{name}", + "subject": "mychart:1.0.0", + "type": "Microsoft.ContainerRegistry.ChartDeleted", + "time": "2019-03-12T22:42:08.7034064Z", + "id": "39136b3a-1a7e-416f-a09e-5c85d5402fca", + "data": { + "id": "ea3a9c28-5b17-40f6-a500-3f02b682927", + "timestamp": "2019-03-12T15:42:08.3783775-07:00", + "action": "chart_delete", + "location": "westus", + "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" + }, + "connectedRegistry": { + "name": "edge1" + } + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/cloud-events-schema/chart_pushed.json b/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/cloud-events-schema/chart_pushed.json new file mode 100644 index 000000000000..7edecb4085ea --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/cloud-events-schema/chart_pushed.json @@ -0,0 +1,26 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.ContainerRegistry/registries/{name}", + "subject": "mychart:1.0.0", + "type": "Microsoft.ContainerRegistry.ChartPushed", + "time": "2019-03-12T22:16:31.5164086Z", + "id": "ea3a9c28-5b17-40f6-a500-3f02b6829277", + "data": { + "id": "ea3a9c28-5b17-40f6-a500-3f02b682927", + "timestamp": "2019-03-12T15:16:31.0087496-07:00", + "action": "chart_push", + "location": "westus", + "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" + }, + "connectedRegistry": { + "name": "edge1" + } + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/cloud-events-schema/image_deleted.json b/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/cloud-events-schema/image_deleted.json new file mode 100644 index 000000000000..f6d0023455e1 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/cloud-events-schema/image_deleted.json @@ -0,0 +1,28 @@ +{ + "source": "/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/jolov/providers/Microsoft.ContainerRegistry/registries/jolovcr", + "subject": "samples/nginx", + "type": "Microsoft.ContainerRegistry.ImageDeleted", + "time": "2021-09-08T06:49:40.5342401Z", + "id": "6fdef14c-2594-41e8-9156-c0376eb0a190", + "data": { + "id": "6fdef14c-2594-41e8-9156-c0376eb0a190", + "timestamp": "2021-09-08T06:49:40.1850248Z", + "action": "delete", + "location": "westus", + "target": { + "mediaType": "application/vnd.docker.distribution.manifest.v2+json", + "digest": "sha256:57a94fc99816c6aa225678b738ac40d85422e75dbb96115f1bb9b6ed77176166", + "repository": "samples/nginx" + }, + "request": { + "id": "62a60cbd-1bfc-4742-b013-ed7098922ca6", + "host": "jolovcr.azurecr.io", + "method": "DELETE", + "useragent": "python-requests/2.22.0" + }, + "connectedRegistry": { + "name": "edge1" + } + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/cloud-events-schema/image_pushed.json b/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/cloud-events-schema/image_pushed.json new file mode 100644 index 000000000000..47439c990563 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/cloud-events-schema/image_pushed.json @@ -0,0 +1,31 @@ +{ + "source": "/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/jolov/providers/Microsoft.ContainerRegistry/registries/jolovcr", + "subject": "samples/nginx:latest", + "type": "Microsoft.ContainerRegistry.ImagePushed", + "time": "2021-09-08T06:37:45.6609948Z", + "id": "c25fdb80-ebbd-4dd0-a29c-a7349e6388f6", + "data": { + "id": "c25fdb80-ebbd-4dd0-a29c-a7349e6388f6", + "timestamp": "2021-09-08T06:37:45.4681009Z", + "action": "push", + "location": "westus", + "target": { + "mediaType": "application/vnd.docker.distribution.manifest.v2+json", + "size": 1153, + "digest": "sha256:57a94fc99816c6aa225678b738ac40d85422e75dbb96115f1bb9b6ed77176166", + "length": 1153, + "repository": "samples/nginx", + "tag": "latest" + }, + "request": { + "id": "9f8fa9d4-5b86-4066-b805-e406f321c7d6", + "host": "jolovcr.azurecr.io", + "method": "PUT", + "useragent": "docker/20.10.7 go/go1.13.15 git-commit/b0f5bc3 kernel/5.10.16.3-microsoft-standard-WSL2 os/linux arch/amd64 UpstreamClient(Docker-Client/20.10.7 \\(windows\\))" + }, + "connectedRegistry": { + "name": "edge1" + } + }, + "specVersion": "1.0" +} \ 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/event-grid-schema/chart_deleted.json similarity index 94% rename from specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/chart_deleted.json rename to specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/event-grid-schema/chart_deleted.json index 344c5dd13f9e..56be9dc110cf 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/event-grid-schema/chart_deleted.json @@ -3,7 +3,7 @@ "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", + "eventTime": "2019-03-12T22:42:08.7034064Z", "data": { "id": "ea3a9c28-5b17-40f6-a500-3f02b682927", "timestamp": "2019-03-12T22:42:08.3783775+00:00", 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/event-grid-schema/chart_pushed.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/chart_pushed.json rename to specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/event-grid-schema/chart_pushed.json diff --git a/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/image_deleted.json b/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/event-grid-schema/image_deleted.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/image_deleted.json rename to specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/event-grid-schema/image_deleted.json diff --git a/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/image_pushed.json b/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/event-grid-schema/image_pushed.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/image_pushed.json rename to specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/examples/event-grid-schema/image_pushed.json diff --git a/specification/eventgrid/data-plane/Microsoft.ContainerService/stable/2018-01-01/examples/cloud-events-schema/new_kubernetes_version_available.json b/specification/eventgrid/data-plane/Microsoft.ContainerService/stable/2018-01-01/examples/cloud-events-schema/new_kubernetes_version_available.json new file mode 100644 index 000000000000..4ebbefcfe28e --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ContainerService/stable/2018-01-01/examples/cloud-events-schema/new_kubernetes_version_available.json @@ -0,0 +1,14 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.ContainerService/managedClusters/{cluster}", + "subject": "{cluster}", + "type": "Microsoft.ContainerService.NewKubernetesVersionAvailable", + "time": "2021-07-01T04:52:57.0000000Z", + "id": "1234567890abcdef1234567890abcdef12345678", + "data": { + "latestSupportedKubernetesVersion": "1.20.7", + "latestStableKubernetesVersion": "1.19.11", + "lowestMinorKubernetesVersion": "1.18.19", + "latestPreviewKubernetesVersion": "1.21.1" + }, + "specVersion": "1.0" +} \ No newline at end of file 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/event-grid-schema/new_kubernetes_version_available.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.ContainerService/stable/2018-01-01/examples/new_kubernetes_version_available.json rename to specification/eventgrid/data-plane/Microsoft.ContainerService/stable/2018-01-01/examples/event-grid-schema/new_kubernetes_version_available.json diff --git a/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/cloud-events-schema/device_connected.json b/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/cloud-events-schema/device_connected.json new file mode 100644 index 000000000000..166a52c1d8fb --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/cloud-events-schema/device_connected.json @@ -0,0 +1,16 @@ +{ + "source": "/SUBSCRIPTIONS/{subscription-id}/RESOURCEGROUPS{resource-group}/PROVIDERS/MICROSOFT.DEVICES/IOTHUBS/{hub—name}", + "subject": "devices/LogicAppTestDevice", + "type": "Microsoft.Devices.DeviceConnected", + "time": "2018-06-02T19:17:44.4383997Z", + "id": "f6bbf8f4-d365-520d-a878-17bf7238abd8", + "data": { + "deviceConnectionStateEventInfo": { + "sequenceNumber": "000000000000000001D4132452F67CE200000002000000000000000000000001" + }, + "hubName": "egtesthub1", + "deviceId": "LogicAppTestDevice", + "moduleId": "DeviceModuleID" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/cloud-events-schema/device_created.json b/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/cloud-events-schema/device_created.json new file mode 100644 index 000000000000..3dcaf7da78ed --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/cloud-events-schema/device_created.json @@ -0,0 +1,42 @@ +{ + "source": "/SUBSCRIPTIONS/{subscription-ID}/RESOURCEGROUPS/{resource-group}/PROVIDERS/MICROSOFT.DEVICES/IOTHUBS/{hub-name}", + "subject": "devices/LogicAppTestDevice", + "type": "Microsoft.Devices.DeviceCreated", + "time": "2018-01-02T19:17:44.4383997Z", + "id": "56afc886-767b-d359-d59e-0da7877166b2", + "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" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/cloud-events-schema/device_telemetry.json b/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/cloud-events-schema/device_telemetry.json new file mode 100644 index 000000000000..d4cd7e1f700c --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/cloud-events-schema/device_telemetry.json @@ -0,0 +1,28 @@ +{ + "source": "/SUBSCRIPTIONS/{subscription-ID}/RESOURCEGROUPS/{resource-group}/PROVIDERS/MICROSOFT.DEVICES/IOTHUBS/{hub-name}", + "subject": "devices/LogicAppTestDevice", + "type": "Microsoft.Devices.DeviceTelemetry", + "time": "2019-01-07T20:58:30.4800000Z", + "id": "9af86784-8d40-fe2g-8b2a-bab65e106785", + "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" + } + }, + "specVersion": "1.0" +} \ No newline at end of file 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/event-grid-schema/device_connected.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/device_connected.json rename to specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/event-grid-schema/device_connected.json 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/event-grid-schema/device_created.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/device_created.json rename to specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/event-grid-schema/device_created.json 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/event-grid-schema/device_telemetry.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/device_telemetry.json rename to specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/examples/event-grid-schema/device_telemetry.json diff --git a/specification/eventgrid/data-plane/Microsoft.EventHub/stable/2018-01-01/examples/cloud-events-schema/capture_file_created.json b/specification/eventgrid/data-plane/Microsoft.EventHub/stable/2018-01-01/examples/cloud-events-schema/capture_file_created.json new file mode 100644 index 000000000000..3af8d18027aa --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.EventHub/stable/2018-01-01/examples/cloud-events-schema/capture_file_created.json @@ -0,0 +1,19 @@ +{ + "source": "/subscriptions/{guid}/resourcegroups/rgDataMigrationSample/providers/Microsoft.EventHub/namespaces/tfdatamigratens", + "subject": "eventhubs/hubdatamigration", + "type": "Microsoft.EventHub.CaptureFileCreated", + "time": "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" + }, + "specVersion": "1.0" +} \ No newline at end of file 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/event-grid-schema/capture_file_created.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.EventHub/stable/2018-01-01/examples/capture_file_created.json rename to specification/eventgrid/data-plane/Microsoft.EventHub/stable/2018-01-01/examples/event-grid-schema/capture_file_created.json diff --git a/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/cloud-events-schema/fhir_resource_created.json b/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/cloud-events-schema/fhir_resource_created.json new file mode 100644 index 000000000000..7af3757bc86f --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/cloud-events-schema/fhir_resource_created.json @@ -0,0 +1,14 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.HealthcareApis/workspaces/{workspace-name}", + "subject": "{fhir-account}.fhir.azurehealthcareapis.com/Patient/e0a1f743-1a70-451f-830e-e96477163902", + "type": "Microsoft.HealthcareApis.FhirResourceCreated", + "time": "2021-09-08T01:14:04.5613214Z", + "id": "e4c7f556-d72c-e7f7-1069-1e82ac76ab41", + "data": { + "resourceType": "Patient", + "resourceFhirAccount": "{fhir-account}.fhir.azurehealthcareapis.com", + "resourceFhirId": "e0a1f743-1a70-451f-830e-e96477163902", + "resourceVersionId": 1 + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/cloud-events-schema/fhir_resource_deleted.json b/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/cloud-events-schema/fhir_resource_deleted.json new file mode 100644 index 000000000000..0de2dc0e33ab --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/cloud-events-schema/fhir_resource_deleted.json @@ -0,0 +1,14 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.HealthcareApis/workspaces/{workspace-name}", + "subject": "{fhir-account}.fhir.azurehealthcareapis.com/Patient/e0a1f743-1a70-451f-830e-e96477163902", + "type": "Microsoft.HealthcareApis.FhirResourceDeleted", + "time": "2021-09-08T01:31:58.5175837Z", + "id": "ef289b93-3159-b833-3a44-dc6b86ed1a8a", + "data": { + "resourceType": "Patient", + "resourceFhirAccount": "{fhir-account}.fhir.azurehealthcareapis.com", + "resourceFhirId": "e0a1f743-1a70-451f-830e-e96477163902", + "resourceVersionId": 3 + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/cloud-events-schema/fhir_resource_updated.json b/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/cloud-events-schema/fhir_resource_updated.json new file mode 100644 index 000000000000..9fbc546fec50 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/cloud-events-schema/fhir_resource_updated.json @@ -0,0 +1,14 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.HealthcareApis/workspaces/{workspace-name}", + "subject": "{fhir-account}.fhir.azurehealthcareapis.com/Patient/e0a1f743-1a70-451f-830e-e96477163902", + "type": "Microsoft.HealthcareApis.FhirResourceUpdated", + "time": "2021-09-08T01:29:12.0618739Z", + "id": "634bd421-8467-f23c-b8cb-f6a31e41c32a", + "data": { + "resourceType": "Patient", + "resourceFhirAccount": "{fhir-account}.fhir.azurehealthcareapis.com", + "resourceFhirId": "e0a1f743-1a70-451f-830e-e96477163902", + "resourceVersionId": 2 + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/fhir_resource_created.json b/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/event-grid-schema/fhir_resource_created.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/fhir_resource_created.json rename to specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/event-grid-schema/fhir_resource_created.json diff --git a/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/fhir_resource_deleted.json b/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/event-grid-schema/fhir_resource_deleted.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/fhir_resource_deleted.json rename to specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/event-grid-schema/fhir_resource_deleted.json diff --git a/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/fhir_resource_updated.json b/specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/event-grid-schema/fhir_resource_updated.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/fhir_resource_updated.json rename to specification/eventgrid/data-plane/Microsoft.HealthcareApis/stable/2018-01-01/examples/event-grid-schema/fhir_resource_updated.json diff --git a/specification/eventgrid/data-plane/Microsoft.KeyVault/stable/2018-01-01/examples/cloud-events-schema/secret_new_version_created.json b/specification/eventgrid/data-plane/Microsoft.KeyVault/stable/2018-01-01/examples/cloud-events-schema/secret_new_version_created.json new file mode 100644 index 000000000000..954e98e0c6d7 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.KeyVault/stable/2018-01-01/examples/cloud-events-schema/secret_new_version_created.json @@ -0,0 +1,17 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/sample-rg/providers/Microsoft.KeyVault/vaults/sample-kv", + "subject": "newsecret", + "type": "Microsoft.KeyVault.SecretNewVersionCreated", + "time": "2019-07-25T01:08:33.1036736Z", + "id": "00eccf70-95a7-4e7c-8299-2eb17ee9ad64", + "data": { + "Id": "https://sample-kv.vault.azure.net/secrets/newsecret/ee059b2bb5bc48398a53b168c6cdcb10", + "VaultName": "sample-kv", + "ObjectType": "Secret", + "ObjectName": "newsecret", + "Version": "ee059b2bb5bc48398a53b168c6cdcb10", + "NBF": "1559081980", + "EXP": "1559082102" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.KeyVault/stable/2018-01-01/examples/secret_new_version_created.json b/specification/eventgrid/data-plane/Microsoft.KeyVault/stable/2018-01-01/examples/event-grid-schema/secret_new_version_created.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.KeyVault/stable/2018-01-01/examples/secret_new_version_created.json rename to specification/eventgrid/data-plane/Microsoft.KeyVault/stable/2018-01-01/examples/event-grid-schema/secret_new_version_created.json diff --git a/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/cloud-events-schema/dataset_drift_detected.json b/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/cloud-events-schema/dataset_drift_detected.json new file mode 100644 index 000000000000..9f710edc7665 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/cloud-events-schema/dataset_drift_detected.json @@ -0,0 +1,18 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.MachineLearningServices/workspaces/{workspace-name}", + "subject": "datadrifts/{}/runs/{}", + "type": "Microsoft.MachineLearningServices.DatasetDriftDetected", + "time": "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.8350349068479208, + "StartTime": "2019-07-03T17:00:00-07:00", + "EndTime": "2019-07-04T17:00:00-07:00" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/cloud-events-schema/model_deployed.json b/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/cloud-events-schema/model_deployed.json new file mode 100644 index 000000000000..26c2dfa78d1e --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/cloud-events-schema/model_deployed.json @@ -0,0 +1,20 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.MachineLearningServices/workspaces/{workspace-name}", + "subject": "endpoints/my-sklearn-service", + "type": "Microsoft.MachineLearningServices.ModelDeployed", + "time": "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" + } + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/cloud-events-schema/model_registered.json b/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/cloud-events-schema/model_registered.json new file mode 100644 index 000000000000..ad1371712721 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/cloud-events-schema/model_registered.json @@ -0,0 +1,19 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.MachineLearningServices/workspaces/{workspace-name}", + "subject": "models/sklearn_regression_model:20", + "type": "Microsoft.MachineLearningServices.ModelRegistered", + "time": "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" + } + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/cloud-events-schema/run_completed.json b/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/cloud-events-schema/run_completed.json new file mode 100644 index 000000000000..20635c6cf345 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/cloud-events-schema/run_completed.json @@ -0,0 +1,30 @@ +{ + "source": "/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", + "type": "Microsoft.MachineLearningServices.RunCompleted", + "time": "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" + } + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/cloud-events-schema/run_status_changed.json b/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/cloud-events-schema/run_status_changed.json new file mode 100644 index 000000000000..6e236146de5a --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/cloud-events-schema/run_status_changed.json @@ -0,0 +1,31 @@ +{ + "source": "/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", + "type": "Microsoft.MachineLearningServices.RunStatusChanged", + "time": "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" + }, + "specVersion": "1.0" +} \ No newline at end of file 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/event-grid-schema/dataset_drift_detected.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/dataset_drift_detected.json rename to specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/event-grid-schema/dataset_drift_detected.json 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/event-grid-schema/model_deployed.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/model_deployed.json rename to specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/event-grid-schema/model_deployed.json 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/event-grid-schema/model_registered.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/model_registered.json rename to specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/event-grid-schema/model_registered.json 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/event-grid-schema/run_completed.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/run_completed.json rename to specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/event-grid-schema/run_completed.json 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/event-grid-schema/run_status_changed.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/run_status_changed.json rename to specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/examples/event-grid-schema/run_status_changed.json diff --git a/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/cloud-events-schema/geofence_entered.json b/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/cloud-events-schema/geofence_entered.json new file mode 100644 index 000000000000..e3604e5f5704 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/cloud-events-schema/geofence_entered.json @@ -0,0 +1,22 @@ +{ + "source": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Maps/accounts/{accountName}", + "subject": "/spatial/geofence/udid/{udid}/id/{eventId}", + "type": "Microsoft.Maps.GeofenceEntered", + "time": "2018-11-08T00:54:17.6408601Z", + "id": "7f8446e2-1ac7-4234-8425-303726ea3981", + "data": { + "geometries": [ + { + "deviceId": "device_1", + "udId": "1a13b444-4acf-32ab-ce4e-9ca4af20b169", + "geometryId": "2", + "distance": -999.0, + "nearestLat": 47.618786, + "nearestLon": -122.132151 + } + ], + "expiredGeofenceGeometryId": [], + "invalidPeriodGeofenceGeometryId": [] + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/cloud-events-schema/geofence_result.json b/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/cloud-events-schema/geofence_result.json new file mode 100644 index 000000000000..df34479dda62 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/cloud-events-schema/geofence_result.json @@ -0,0 +1,30 @@ +{ + "source": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.Maps/accounts/{accountName}", + "subject": "/spatial/geofence/udid/{udid}/id/{eventId}", + "type": "Microsoft.Maps.GeofenceResult", + "time": "2018-11-08T00:52:08.0954283Z", + "id": "451675de-a67d-4929-876c-5c2bf0b2c000", + "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": [] + }, + "specVersion": "1.0" +} \ No newline at end of file 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/event-grid-schema/geofence_entered.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_entered.json rename to specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/event-grid-schema/geofence_entered.json 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/event-grid-schema/geofence_result.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/geofence_result.json rename to specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/examples/event-grid-schema/geofence_result.json diff --git a/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/examples/cloud-events-schema/MediaLiveEventChannelArchiveHeartbeatEvent.json b/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/examples/cloud-events-schema/MediaLiveEventChannelArchiveHeartbeatEvent.json new file mode 100644 index 000000000000..84f1fe04a5f3 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/examples/cloud-events-schema/MediaLiveEventChannelArchiveHeartbeatEvent.json @@ -0,0 +1,14 @@ +[ + { + "source": "/subscriptions//resourceGroups//providers/Microsoft.Media/mediaservices/", + "subject": "liveEvent/mle1", + "type": "Microsoft.Media.LiveEventChannelArchiveHeartbeat", + "time": "2021-05-14T23:50:00.3240000", + "id": "7f450938-491f-41e1-b06f-c6cd3965d786", + "data": { + "channelLatencyMs": "10", + "latencyResultCode": "S_OK" + }, + "specVersion": "1.0" + } +] \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/examples/cloud-events-schema/MediaLiveEventIngestHeartbeatEvent.json b/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/examples/cloud-events-schema/MediaLiveEventIngestHeartbeatEvent.json new file mode 100644 index 000000000000..1f184586edf1 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/examples/cloud-events-schema/MediaLiveEventIngestHeartbeatEvent.json @@ -0,0 +1,28 @@ +[ + { + "source": "/subscriptions//resourceGroups//providers/Microsoft.Media/mediaservices/", + "subject": "liveEvent/mle1", + "type": "Microsoft.Media.LiveEventIngestHeartbeat", + "time": "2021-05-14T23:50:00.3240000", + "id": "7f450938-491f-41e1-b06f-c6cd3965d786", + "data": { + "trackType": "video", + "trackName": "video", + "bitrate": 2500000, + "incomingBitrate": 2462597, + "lastTimestamp": "106999", + "timescale": "1000", + "overlapCount": 0, + "discontinuityCount": 0, + "nonincreasingCount": 0, + "unexpectedBitrate": false, + "state": "Running", + "healthy": true, + "lastFragmentArrivalTime": "2021-05-14T23:50:00", + "ingestDriftValue": "0", + "transcriptionState": "On", + "transcriptionLanguage": "en-us" + }, + "specVersion": "1.0" + } +] \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/examples/MediaLiveEventChannelArchiveHeartbeatEvent.json b/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/examples/event-grid-schema/MediaLiveEventChannelArchiveHeartbeatEvent.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/examples/MediaLiveEventChannelArchiveHeartbeatEvent.json rename to specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/examples/event-grid-schema/MediaLiveEventChannelArchiveHeartbeatEvent.json diff --git a/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/examples/MediaLiveEventIngestHeartbeatEvent.json b/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/examples/event-grid-schema/MediaLiveEventIngestHeartbeatEvent.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/examples/MediaLiveEventIngestHeartbeatEvent.json rename to specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/examples/event-grid-schema/MediaLiveEventIngestHeartbeatEvent.json diff --git a/specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/cloud-events-schema/policy_state_changed.json b/specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/cloud-events-schema/policy_state_changed.json new file mode 100644 index 000000000000..fb458bd226a7 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/cloud-events-schema/policy_state_changed.json @@ -0,0 +1,17 @@ +{ + "source": "/subscriptions/{subscription-id}", + "subject": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/{provider-namespace}/{resource-type}/{resource-name}", + "type": "Microsoft.PolicyInsights.PolicyStateChanged", + "time": "2021-03-27T18:37:42.5241536Z", + "id": "5829794FCB5075FCF585476619577B5A5A30E52C84842CBD4E2AD73996714C4C", + "data": { + "timestamp": "2021-03-27T18:37:42.4496956Z", + "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": "{subscription-id}", + "complianceReasonCode": "" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/cloud-events-schema/policy_state_created.json b/specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/cloud-events-schema/policy_state_created.json new file mode 100644 index 000000000000..e345391c79d1 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/cloud-events-schema/policy_state_created.json @@ -0,0 +1,17 @@ +{ + "source": "/subscriptions/{subscription-id}", + "subject": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/{provider-namespace}/{resource-type}/{resource-name}", + "type": "Microsoft.PolicyInsights.PolicyStateCreated", + "time": "2021-03-27T18:37:42.5241536Z", + "id": "5829794FCB5075FCF585476619577B5A5A30E52C84842CBD4E2AD73996714C4C", + "data": { + "timestamp": "2021-03-27T18:37:42.4496956Z", + "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": "{subscription-id}", + "complianceReasonCode": "" + }, + "specVersion": "1.0" +} \ No newline at end of file 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/event-grid-schema/policy_state_changed.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/policy_state_changed.json rename to specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/event-grid-schema/policy_state_changed.json 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/event-grid-schema/policy_state_created.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/policy_state_created.json rename to specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/examples/event-grid-schema/policy_state_created.json diff --git a/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_action_cancel.json b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_action_cancel.json new file mode 100644 index 000000000000..d9a3c2f63e0b --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_action_cancel.json @@ -0,0 +1,51 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}", + "subject": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventHub/namespaces/{namespace}/AuthorizationRules/RootManageSharedAccessKey", + "type": "Microsoft.Resources.ResourceActionCancel", + "time": "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}" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_action_failure.json b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_action_failure.json new file mode 100644 index 000000000000..27128f333de1 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_action_failure.json @@ -0,0 +1,51 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}", + "subject": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventHub/namespaces/{namespace}/AuthorizationRules/RootManageSharedAccessKey", + "type": "Microsoft.Resources.ResourceActionFailure", + "time": "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}" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_action_success.json b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_action_success.json new file mode 100644 index 000000000000..e62548cc3473 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_action_success.json @@ -0,0 +1,51 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}", + "subject": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.EventHub/namespaces/{namespace}/AuthorizationRules/RootManageSharedAccessKey", + "type": "Microsoft.Resources.ResourceActionSuccess", + "time": "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}" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_delete_cancel.json b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_delete_cancel.json new file mode 100644 index 000000000000..baf04523d6ee --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_delete_cancel.json @@ -0,0 +1,60 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}", + "subject": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Storage/storageAccounts/{storage-name}", + "type": "Microsoft.Resources.ResourceDeleteCancel", + "time": "2018-07-19T19:24:12.7638810Z", + "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}" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_delete_failure.json b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_delete_failure.json new file mode 100644 index 000000000000..010ba1d827c4 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_delete_failure.json @@ -0,0 +1,60 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}", + "subject": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Storage/storageAccounts/{storage-name}", + "type": "Microsoft.Resources.ResourceDeleteFailure", + "time": "2018-07-19T19:24:12.7638810Z", + "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}" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_delete_success.json b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_delete_success.json new file mode 100644 index 000000000000..9cc3e9dfe439 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_delete_success.json @@ -0,0 +1,60 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}", + "subject": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Storage/storageAccounts/{storage-name}", + "type": "Microsoft.Resources.ResourceDeleteSuccess", + "time": "2018-07-19T19:24:12.7638810Z", + "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}" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_write_cancel.json b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_write_cancel.json new file mode 100644 index 000000000000..e55541de9b04 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_write_cancel.json @@ -0,0 +1,54 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}", + "subject": "/subscriptions/{subscription-id}/resourcegroups/{resource-group}/providers/Microsoft.Storage/storageAccounts/{storage-name}", + "type": "Microsoft.Resources.ResourceWriteCancel", + "time": "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}" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_write_failure.json b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_write_failure.json new file mode 100644 index 000000000000..6e909ade90b6 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_write_failure.json @@ -0,0 +1,54 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}", + "subject": "/subscriptions/{subscription-id}/resourcegroups/{resource-group}/providers/Microsoft.Storage/storageAccounts/{storage-name}", + "type": "Microsoft.Resources.ResourceWriteFailure", + "time": "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}" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_write_success.json b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_write_success.json new file mode 100644 index 000000000000..f54f10543b8c --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/cloud-events-schema/resource_write_success.json @@ -0,0 +1,54 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}", + "subject": "/subscriptions/{subscription-id}/resourcegroups/{resource-group}/providers/Microsoft.Storage/storageAccounts/{storage-name}", + "type": "Microsoft.Resources.ResourceWriteSuccess", + "time": "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}" + }, + "specVersion": "1.0" +} \ No newline at end of file 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/event-grid-schema/resource_action_cancel.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_action_cancel.json rename to specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/event-grid-schema/resource_action_cancel.json 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/event-grid-schema/resource_action_failure.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_action_failure.json rename to specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/event-grid-schema/resource_action_failure.json 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/event-grid-schema/resource_action_success.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_action_success.json rename to specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/event-grid-schema/resource_action_success.json 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/event-grid-schema/resource_delete_cancel.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_delete_cancel.json rename to specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/event-grid-schema/resource_delete_cancel.json 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/event-grid-schema/resource_delete_failure.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_delete_failure.json rename to specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/event-grid-schema/resource_delete_failure.json 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/event-grid-schema/resource_delete_success.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_delete_success.json rename to specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/event-grid-schema/resource_delete_success.json 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/event-grid-schema/resource_write_cancel.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_write_cancel.json rename to specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/event-grid-schema/resource_write_cancel.json 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/event-grid-schema/resource_write_failure.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_write_failure.json rename to specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/event-grid-schema/resource_write_failure.json 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/event-grid-schema/resource_write_success.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/resource_write_success.json rename to specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/examples/event-grid-schema/resource_write_success.json diff --git a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/cloud-events-schema/active_messages_available_periodic_notifications.json b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/cloud-events-schema/active_messages_available_periodic_notifications.json new file mode 100644 index 000000000000..7d1a4982f9d7 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/cloud-events-schema/active_messages_available_periodic_notifications.json @@ -0,0 +1,16 @@ +{ + "source": "/subscriptions/{subscription-id}/resourcegroups/DemoGroup/providers/Microsoft.ServiceBus/namespaces/{namespace}", + "subject": "topics/{topic}/subscriptions/{subscription}", + "type": "Microsoft.ServiceBus.ActiveMessagesAvailablePeriodicNotifications", + "time": "2018-02-14T05:12:53.4133526Z", + "id": "dede87b0-3656-419c-acaf-70c95ddc60f5", + "data": { + "namespaceName": "{namespace}", + "requestUri": "https://{namespace}.servicebus.windows.net/{topic}/subscriptions/{subscription}/$deadletterqueue/messages/head", + "entityType": "subscriber", + "queueName": null, + "topicName": "{topic}", + "subscriptionName": "{subscription}" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/cloud-events-schema/active_messages_available_with_no_listeners.json b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/cloud-events-schema/active_messages_available_with_no_listeners.json new file mode 100644 index 000000000000..0b852934ca6a --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/cloud-events-schema/active_messages_available_with_no_listeners.json @@ -0,0 +1,16 @@ +{ + "source": "/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourcegroups/v-tong-MonthlyTrleaseTestPass/providers/Microsoft.ServiceBus/namespaces/othercloudtest", + "subject": "queues/gaoqueue", + "type": "Microsoft.ServiceBus.ActiveMessagesAvailableWithNoListeners", + "time": "2021-09-09T05:43:01.8429206Z", + "id": "3ce929ea-fab7-428a-8270-0452970fa710", + "data": { + "namespaceName": "othercloudtest", + "requestUri": "https://othercloudtest.servicebus.windows.net/gaoqueue/messages/head", + "entityType": "queue", + "queueName": "gaoqueue", + "topicName": null, + "subscriptionName": null + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/cloud-events-schema/deadletter_messages_available_periodic_notification.json b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/cloud-events-schema/deadletter_messages_available_periodic_notification.json new file mode 100644 index 000000000000..7a2a84810c9a --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/cloud-events-schema/deadletter_messages_available_periodic_notification.json @@ -0,0 +1,16 @@ +{ + "source": "/subscriptions/{subscription-id}/resourcegroups/DemoGroup/providers/Microsoft.ServiceBus/namespaces/{namespace}", + "subject": "queues/{queue}", + "type": "Microsoft.ServiceBus.DeadletterMessagesAvailablePeriodicNotifications", + "time": "2018-02-14T05:12:53.4133526Z", + "id": "dede87b0-3656-419c-acaf-70c95ddc60f5", + "data": { + "namespaceName": "{namespace}", + "requestUri": "https://{namespace}.servicebus.windows.net/{queue}/$deadletterqueue/messages/head", + "entityType": "subscriber", + "queueName": "{queue}", + "topicName": null, + "subscriptionName": null + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/cloud-events-schema/deadletter_messages_available_with_no_listeners.json b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/cloud-events-schema/deadletter_messages_available_with_no_listeners.json new file mode 100644 index 000000000000..4d6a8de006aa --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/cloud-events-schema/deadletter_messages_available_with_no_listeners.json @@ -0,0 +1,16 @@ +{ + "source": "/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}", + "type": "Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListeners", + "time": "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" + }, + "specVersion": "1.0" +} \ No newline at end of file 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/event-grid-schema/active_messages_available_periodic_notifications.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_periodic_notifications.json rename to specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/event-grid-schema/active_messages_available_periodic_notifications.json diff --git a/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_with_no_listeners.json b/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/event-grid-schema/active_messages_available_with_no_listeners.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/active_messages_available_with_no_listeners.json rename to specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/event-grid-schema/active_messages_available_with_no_listeners.json 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/event-grid-schema/deadletter_messages_available_periodic_notification.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_periodic_notification.json rename to specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/event-grid-schema/deadletter_messages_available_periodic_notification.json 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/event-grid-schema/deadletter_messages_available_with_no_listeners.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/deadletter_messages_available_with_no_listeners.json rename to specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/examples/event-grid-schema/deadletter_messages_available_with_no_listeners.json diff --git a/specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/examples/cloud-events-schema/client_connection_connected.json b/specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/examples/cloud-events-schema/client_connection_connected.json new file mode 100644 index 000000000000..89ad60c06c09 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/examples/cloud-events-schema/client_connection_connected.json @@ -0,0 +1,14 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/signalr-rg/providers/Microsoft.SignalRService/SignalR/signalr-resource", + "subject": "/hub/chat", + "type": "Microsoft.SignalRService.ClientConnectionConnected", + "time": "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" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/examples/cloud-events-schema/client_connection_disconnected.json b/specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/examples/cloud-events-schema/client_connection_disconnected.json new file mode 100644 index 000000000000..edb2a01d8f73 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/examples/cloud-events-schema/client_connection_disconnected.json @@ -0,0 +1,15 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/signalr-rg/providers/Microsoft.SignalRService/SignalR/signalr-resource", + "subject": "/hub/chat", + "type": "Microsoft.SignalRService.ClientConnectionDisconnected", + "time": "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." + }, + "specVersion": "1.0" +} \ No newline at end of file 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/event-grid-schema/client_connection_connected.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/examples/client_connection_connected.json rename to specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/examples/event-grid-schema/client_connection_connected.json 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/event-grid-schema/client_connection_disconnected.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/examples/client_connection_disconnected.json rename to specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/examples/event-grid-schema/client_connection_disconnected.json diff --git a/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/cloud-events-schema/blob_created.json b/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/cloud-events-schema/blob_created.json new file mode 100644 index 000000000000..f9362d81dca2 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/cloud-events-schema/blob_created.json @@ -0,0 +1,22 @@ +{ + "source": "/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/jolov/providers/Microsoft.Storage/storageAccounts/jolovstorage", + "subject": "/blobServices/default/containers/gaocontainer/blobs/Template1.xlsx", + "type": "Microsoft.Storage.BlobCreated", + "time": "2021-08-16T02:51:26.4248221Z", + "id": "beb21a5e-401e-002b-3749-928517060431", + "data": { + "api": "PutBlob", + "clientRequestId": "89bc72c2-5dfe-4d9f-9706-43612c1bd01b", + "requestId": "beb21a5e-401e-002b-3749-928517000000", + "eTag": "0x8D96060BDA19D9D", + "contentType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", + "contentLength": 17555, + "blobType": "BlockBlob", + "url": "https://jolovstorage.blob.core.windows.net/gaocontainer/Template1.xlsx", + "sequencer": "0000000000000000000000000000B00D0000000005b058d3", + "storageDiagnostics": { + "batchId": "23f68872-a006-0065-0049-9240f2000000" + } + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/cloud-events-schema/blob_deleted.json b/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/cloud-events-schema/blob_deleted.json new file mode 100644 index 000000000000..245fac447d04 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/cloud-events-schema/blob_deleted.json @@ -0,0 +1,21 @@ +{ + "source": "/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/jolov/providers/Microsoft.Storage/storageAccounts/jolovstorage", + "subject": "/blobServices/default/containers/gaocontainer/blobs/Template1.xlsx", + "type": "Microsoft.Storage.BlobDeleted", + "time": "2021-08-16T02:58:18.5038290Z", + "id": "3626e710-c01e-005c-794a-92005606d96d", + "data": { + "api": "DeleteBlob", + "requestId": "3626e710-c01e-005c-794a-920056000000", + "eTag": "0x8D96061B33FE1D2", + "contentType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", + "contentLength": 17555, + "blobType": "BlockBlob", + "url": "https://jolovstorage.blob.core.windows.net/gaocontainer/Template1.xlsx", + "sequencer": "0000000000000000000000000000B00D0000000005b29696", + "storageDiagnostics": { + "batchId": "24045172-a006-0065-004a-9240f2000000" + } + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/cloud-events-schema/blob_inventory_policy_completed.json b/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/cloud-events-schema/blob_inventory_policy_completed.json new file mode 100644 index 000000000000..56e64bf69d29 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/cloud-events-schema/blob_inventory_policy_completed.json @@ -0,0 +1,17 @@ +{ + "source": "/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/jolov/providers/Microsoft.Storage/storageAccounts/jolovstorage", + "subject": "BlobDataManagement/BlobInventory", + "type": "Microsoft.Storage.BlobInventoryPolicyCompleted", + "time": "2021-08-20T22:26:04.0000000Z", + "id": "5d055648-1126-4053-bc6f-f86b8d14790f", + "data": { + "scheduleDateTime": "2021-08-20T22:04:55Z", + "accountName": "jolovstorage", + "ruleName": "gao8.20", + "policyRunStatus": "Succeeded", + "policyRunStatusMessage": "Inventory run succeeded, refer manifest file for inventory details.", + "policyRunId": "83e7c94c-6973-4fbc-acdc-88277e448bf5", + "manifestBlobUrl": "https://jolovstorage.blob.core.windows.net/gaoaugcontainer/2021/08/20/22-04-55/gao8.20/gao8.20-manifest.json" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/cloud-events-schema/blob_renamed.json b/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/cloud-events-schema/blob_renamed.json new file mode 100644 index 000000000000..049754b388d1 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/cloud-events-schema/blob_renamed.json @@ -0,0 +1,20 @@ +{ + "source": "/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/jolov/providers/Microsoft.Storage/storageAccounts/jolovdfs", + "subject": "/blobServices/default/containers/gaocontainer/blobs/newname", + "type": "Microsoft.Storage.BlobRenamed", + "time": "2021-08-19T01:37:38.9324784Z", + "id": "707665f1-a01f-0037-799a-9490a106020e", + "data": { + "api": "RenameFile", + "requestId": "707665f1-a01f-0037-799a-9490a1000000", + "destinationBlobUrl": "https://jolovdfs.blob.core.windows.net/gaocontainer/newname", + "sourceBlobUrl": "https://jolovdfs.blob.core.windows.net/gaocontainer/metrics.txt", + "destinationUrl": "https://jolovdfs.dfs.core.windows.net/gaocontainer/newname", + "sourceUrl": "https://jolovdfs.dfs.core.windows.net/gaocontainer/metrics.txt", + "sequencer": "0000000000000000000000000000010200000000000364db", + "storageDiagnostics": { + "batchId": "69bbaf93-267f-4752-9267-b575e61e0d5d" + } + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/cloud-events-schema/blob_tier_changed.json b/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/cloud-events-schema/blob_tier_changed.json new file mode 100644 index 000000000000..a8c48fccb4e0 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/cloud-events-schema/blob_tier_changed.json @@ -0,0 +1,21 @@ +{ + "source": "/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/jolov/providers/Microsoft.Storage/storageAccounts/jolovstorage", + "subject": "/blobServices/default/containers/gaocontainer/blobs/Template1.xlsx", + "type": "Microsoft.Storage.BlobTierChanged", + "time": "2021-08-16T03:13:40.5681296Z", + "id": "5ed67fc9-401e-0009-354c-92eb2106efc7", + "data": { + "api": "SetBlobTier", + "requestId": "5ed67fc9-401e-0009-354c-92eb21000000", + "eTag": "0x8D9606211320D17", + "contentType": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", + "contentLength": 17555, + "blobType": "BlockBlob", + "url": "https://jolovstorage.blob.core.windows.net/gaocontainer/Template1.xlsx", + "sequencer": "0000000000000000000000000000B00D0000000005b7c63a", + "storageDiagnostics": { + "batchId": "24231d1f-a006-0065-004c-9240f2000000" + } + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/cloud-events-schema/directory_created.json b/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/cloud-events-schema/directory_created.json new file mode 100644 index 000000000000..ae3dc2d0d911 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/cloud-events-schema/directory_created.json @@ -0,0 +1,31 @@ +{ + "source": "/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/jolov/providers/Microsoft.Storage/storageAccounts/jolovdfs", + "subject": "/blobServices/default/containers/gaocontainer/blobs/gaodir", + "type": "Microsoft.Storage.DirectoryCreated", + "time": "2021-08-16T05:36:06.1613834Z", + "id": "d706a817-d01f-0002-3e60-92fcb5068c19", + "data": { + "api": "CreateDirectory", + "requestId": "d706a817-d01f-0002-3e60-92fcb5000000", + "eTag": "0x8D96077BE69372E", + "directoryProperties": [ + { + "acl": [ + { + "access": "u::rwx,g::rx,o::", + "permission": "0750", + "owner": "$superuser", + "group": "$superuser" + } + ] + } + ], + "blobUrl": "https://jolovdfs.blob.core.windows.net/gaocontainer/gaodir", + "url": "https://jolovdfs.dfs.core.windows.net/gaocontainer/gaodir", + "sequencer": "00000000000000000000000000000102000000000001e192", + "storageDiagnostics": { + "batchId": "e4b5c5d5-b727-4429-b35f-babb83eb15f1" + } + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/cloud-events-schema/directory_deleted.json b/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/cloud-events-schema/directory_deleted.json new file mode 100644 index 000000000000..43a811b543de --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/cloud-events-schema/directory_deleted.json @@ -0,0 +1,19 @@ +{ + "source": "/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/jolov/providers/Microsoft.Storage/storageAccounts/jolovdfs", + "subject": "/blobServices/default/containers/gaocontainer/blobs/gaodir", + "type": "Microsoft.Storage.DirectoryDeleted", + "time": "2021-08-16T05:36:57.4835481Z", + "id": "45a3a9fa-001f-0001-1b60-921dd1069801", + "data": { + "api": "DeleteDirectory", + "requestId": "45a3a9fa-001f-0001-1b60-921dd1000000", + "blobUrl": "https://jolovdfs.blob.core.windows.net/gaocontainer/gaodir", + "url": "https://jolovdfs.dfs.core.windows.net/gaocontainer/gaodir", + "recursive": "false", + "sequencer": "00000000000000000000000000000102000000000001e1a4", + "storageDiagnostics": { + "batchId": "c41d46e2-dfa5-4dd1-832a-9a63bed28ebc" + } + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/cloud-events-schema/directory_renamed.json b/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/cloud-events-schema/directory_renamed.json new file mode 100644 index 000000000000..5b74db1c96bb --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/cloud-events-schema/directory_renamed.json @@ -0,0 +1,20 @@ +{ + "source": "/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/jolov/providers/Microsoft.Storage/storageAccounts/jolovdfs", + "subject": "/blobServices/default/containers/gaocontainer/blobs/gaonewdir", + "type": "Microsoft.Storage.DirectoryRenamed", + "time": "2021-08-16T05:38:05.1425527Z", + "id": "45a3aa46-001f-0001-2d60-921dd1062e11", + "data": { + "api": "RenameDirectory", + "requestId": "45a3aa46-001f-0001-2d60-921dd1000000", + "destinationBlobUrl": "https://jolovdfs.blob.core.windows.net/gaocontainer/gaonewdir", + "sourceBlobUrl": "https://jolovdfs.blob.core.windows.net/gaocontainer/gaoname", + "destinationUrl": "https://jolovdfs.dfs.core.windows.net/gaocontainer/gaonewdir", + "sourceUrl": "https://jolovdfs.dfs.core.windows.net/gaocontainer/gaoname", + "sequencer": "00000000000000000000000000000102000000000001e1c6", + "storageDiagnostics": { + "batchId": "5f991456-5dcf-4b1b-9d49-562ee2b0757f" + } + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/blob_created.json b/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/event-grid-schema/blob_created.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/blob_created.json rename to specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/event-grid-schema/blob_created.json diff --git a/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/blob_deleted.json b/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/event-grid-schema/blob_deleted.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/blob_deleted.json rename to specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/event-grid-schema/blob_deleted.json diff --git a/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/blob_inventory_policy_completed.json b/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/event-grid-schema/blob_inventory_policy_completed.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/blob_inventory_policy_completed.json rename to specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/event-grid-schema/blob_inventory_policy_completed.json diff --git a/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/blob_renamed.json b/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/event-grid-schema/blob_renamed.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/blob_renamed.json rename to specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/event-grid-schema/blob_renamed.json diff --git a/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/blob_tier_changed.json b/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/event-grid-schema/blob_tier_changed.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/blob_tier_changed.json rename to specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/event-grid-schema/blob_tier_changed.json diff --git a/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/directory_created.json b/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/event-grid-schema/directory_created.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/directory_created.json rename to specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/event-grid-schema/directory_created.json diff --git a/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/directory_deleted.json b/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/event-grid-schema/directory_deleted.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/directory_deleted.json rename to specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/event-grid-schema/directory_deleted.json diff --git a/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/directory_renamed.json b/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/event-grid-schema/directory_renamed.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/directory_renamed.json rename to specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/examples/event-grid-schema/directory_renamed.json diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/app_service_plan_updated.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/app_service_plan_updated.json new file mode 100644 index 000000000000..448f7f32b741 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/app_service_plan_updated.json @@ -0,0 +1,28 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/serverfarms/{serverfarm-name}", + "subject": "/Microsoft.Web/serverfarms/{plan-name}", + "type": "Microsoft.Web.AppServicePlanUpdated", + "time": "2020-01-28T18:22:23.5516004Z", + "id": "56501672-9150-40e1-893a-18420c7fdbf7", + "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/{subscription-id}/webspaces/{webspace-id}/serverfarms/{plan-name}/async", + "verb": "PUT" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/app_updated_changed_app_settings.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/app_updated_changed_app_settings.json new file mode 100644 index 000000000000..eb735c276471 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/app_updated_changed_app_settings.json @@ -0,0 +1,19 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/sites/{site-name}", + "subject": "/Microsoft.Web/sites/{site-name}", + "type": "Microsoft.Web.AppUpdated", + "time": "2020-01-28T18:22:30.2760952Z", + "id": "b74ea56b-2a3f-4de5-a5d7-38e60c81cf23", + "data": { + "appEventTypeDetail": { + "action": "Stopped" + }, + "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/{subscription-id}/webspaces/{webspace}/sites/{site-name}/stop", + "verb": "POST" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/app_updated_restarted.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/app_updated_restarted.json new file mode 100644 index 000000000000..eb735c276471 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/app_updated_restarted.json @@ -0,0 +1,19 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/sites/{site-name}", + "subject": "/Microsoft.Web/sites/{site-name}", + "type": "Microsoft.Web.AppUpdated", + "time": "2020-01-28T18:22:30.2760952Z", + "id": "b74ea56b-2a3f-4de5-a5d7-38e60c81cf23", + "data": { + "appEventTypeDetail": { + "action": "Stopped" + }, + "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/{subscription-id}/webspaces/{webspace}/sites/{site-name}/stop", + "verb": "POST" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/app_updated_stopped.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/app_updated_stopped.json new file mode 100644 index 000000000000..eb735c276471 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/app_updated_stopped.json @@ -0,0 +1,19 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/sites/{site-name}", + "subject": "/Microsoft.Web/sites/{site-name}", + "type": "Microsoft.Web.AppUpdated", + "time": "2020-01-28T18:22:30.2760952Z", + "id": "b74ea56b-2a3f-4de5-a5d7-38e60c81cf23", + "data": { + "appEventTypeDetail": { + "action": "Stopped" + }, + "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/{subscription-id}/webspaces/{webspace}/sites/{site-name}/stop", + "verb": "POST" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/backup_operation_completed.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/backup_operation_completed.json new file mode 100644 index 000000000000..e43e31309b80 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/backup_operation_completed.json @@ -0,0 +1,19 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/sites/{site-name}", + "subject": "/Microsoft.Web/sites/{site-name}", + "type": "Microsoft.Web.BackupOperationCompleted", + "time": "2020-01-28T18:26:51.7194887Z", + "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", + "data": { + "appEventTypeDetail": { + "action": "Started" + }, + "name": "{site-name}", + "clientRequestId": "None", + "correlationRequestId": "None", + "requestId": "292f499d-04ee-4066-994d-c2df57b99198", + "address": "None", + "verb": "None" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/backup_operation_failed.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/backup_operation_failed.json new file mode 100644 index 000000000000..daf8a4e7b45c --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/backup_operation_failed.json @@ -0,0 +1,19 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/sites/{site-name}", + "subject": "/Microsoft.Web/sites/{site-name}", + "type": "Microsoft.Web.BackupOperationFailed", + "time": "2020-01-28T18:26:51.7194887Z", + "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", + "data": { + "appEventTypeDetail": { + "action": "Started" + }, + "name": "{site-name}", + "clientRequestId": "None", + "correlationRequestId": "None", + "requestId": "292f499d-04ee-4066-994d-c2df57b99198", + "address": "None", + "verb": "None" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/backup_operation_started.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/backup_operation_started.json new file mode 100644 index 000000000000..9d9d7dc17b35 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/backup_operation_started.json @@ -0,0 +1,19 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/sites/{site-name}", + "subject": "/Microsoft.Web/sites/{site-name}", + "type": "Microsoft.Web.BackupOperationStarted", + "time": "2020-01-28T18:26:51.7194887Z", + "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", + "data": { + "appEventTypeDetail": { + "action": "Started" + }, + "name": "{site-name}", + "clientRequestId": "None", + "correlationRequestId": "None", + "requestId": "292f499d-04ee-4066-994d-c2df57b99198", + "address": "None", + "verb": "None" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/restore_operation_completed.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/restore_operation_completed.json new file mode 100644 index 000000000000..d73dbefc17d5 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/restore_operation_completed.json @@ -0,0 +1,19 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/sites/{site-name}", + "subject": "/Microsoft.Web/sites/{site-name}", + "type": "Microsoft.Web.RestoreOperationCompleted", + "time": "2020-01-28T18:26:51.7194887Z", + "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", + "data": { + "appEventTypeDetail": { + "action": "Started" + }, + "name": "{site-name}", + "clientRequestId": "None", + "correlationRequestId": "None", + "requestId": "292f499d-04ee-4066-994d-c2df57b99198", + "address": "None", + "verb": "POST" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/restore_operation_failed.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/restore_operation_failed.json new file mode 100644 index 000000000000..164b76373d1e --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/restore_operation_failed.json @@ -0,0 +1,19 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/sites/{site-name}", + "subject": "/Microsoft.Web/sites/{site-name}", + "type": "Microsoft.Web.RestoreOperationFailed", + "time": "2020-01-28T18:26:51.7194887Z", + "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", + "data": { + "appEventTypeDetail": { + "action": "Started" + }, + "name": "{site-name}", + "clientRequestId": "None", + "correlationRequestId": "None", + "requestId": "292f499d-04ee-4066-994d-c2df57b99198", + "address": "None", + "verb": "POST" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/restore_operation_started.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/restore_operation_started.json new file mode 100644 index 000000000000..157c4f01ca6b --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/restore_operation_started.json @@ -0,0 +1,19 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/sites/{site-name}", + "subject": "/Microsoft.Web/sites/{site-name}", + "type": "Microsoft.Web.RestoreOperationStarted", + "time": "2020-01-28T18:26:51.7194887Z", + "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", + "data": { + "appEventTypeDetail": { + "action": "Started" + }, + "name": "{site-name}", + "clientRequestId": "None", + "correlationRequestId": "None", + "requestId": "292f499d-04ee-4066-994d-c2df57b99198", + "address": "None", + "verb": "POST" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/slot_swap_completed.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/slot_swap_completed.json new file mode 100644 index 000000000000..b61b94dcd969 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/slot_swap_completed.json @@ -0,0 +1,19 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/sites/{site-name}", + "subject": "/Microsoft.Web/sites/{site-name}", + "type": "Microsoft.Web.SlotSwapCompleted", + "time": "2020-01-28T18:26:51.7194887Z", + "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", + "data": { + "appEventTypeDetail": null, + "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/{subscription-id}/webspaces/{webspace}/sites/{site-name}/slots?Command=SWAP&targetSlot=production", + "verb": "POST", + "sourceSlot": "staging", + "targetSlot": "production" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/slot_swap_failed.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/slot_swap_failed.json new file mode 100644 index 000000000000..fa95f44e4898 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/slot_swap_failed.json @@ -0,0 +1,19 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/sites/{site-name}", + "subject": "/Microsoft.Web/sites/{site-name}", + "type": "Microsoft.Web.SlotSwapFailed", + "time": "2020-01-28T18:26:51.7194887Z", + "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", + "data": { + "appEventTypeDetail": null, + "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/{subscription-id}/webspaces/{webspace}/sites/{site-name}/slots?Command=SWAP&targetSlot=production", + "verb": "POST", + "sourceSlot": "staging", + "targetSlot": "production" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/slot_swap_started.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/slot_swap_started.json new file mode 100644 index 000000000000..b857be410a83 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/slot_swap_started.json @@ -0,0 +1,19 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/sites/{site-name}", + "subject": "/Microsoft.Web/sites/{site-name}", + "type": "Microsoft.Web.SlotSwapStarted", + "time": "2020-01-28T18:26:51.7194887Z", + "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", + "data": { + "appEventTypeDetail": null, + "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/{subscription-id}/webspaces/{webspace}/sites/{site-name}/slots?Command=SWAP&targetSlot=production", + "verb": "POST", + "sourceSlot": "staging", + "targetSlot": "production" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/slot_swap_with_preview_cancelled.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/slot_swap_with_preview_cancelled.json new file mode 100644 index 000000000000..ae02244d2f49 --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/slot_swap_with_preview_cancelled.json @@ -0,0 +1,19 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/sites/{site-name}", + "subject": "/Microsoft.Web/sites/{site-name}", + "type": "Microsoft.Web.SlotSwapWithPreviewCancelled", + "time": "2020-01-28T18:26:51.7194887Z", + "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", + "data": { + "appEventTypeDetail": null, + "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/{subscription-id}/webspaces/{webspace}/sites/{site-name}/slots?Command=SWAP&targetSlot=production", + "verb": "POST", + "sourceSlot": "staging", + "targetSlot": "production" + }, + "specVersion": "1.0" +} \ No newline at end of file diff --git a/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/slot_swap_with_preview_started.json b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/slot_swap_with_preview_started.json new file mode 100644 index 000000000000..2423cac6b9ee --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/cloud-events-schema/slot_swap_with_preview_started.json @@ -0,0 +1,19 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Web/sites/{site-name}", + "subject": "/Microsoft.Web/sites/{site-name}", + "type": "Microsoft.Web.SlotSwapWithPreviewStarted", + "time": "2020-01-28T18:26:51.7194887Z", + "id": "7c5d6de5-eb70-4de2-b788-c52a544e68b8", + "data": { + "appEventTypeDetail": null, + "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/{subscription-id}/webspaces/{webspace}/sites/{site-name}/slots?Command=SWAP&targetSlot=production", + "verb": "POST", + "sourceSlot": "staging", + "targetSlot": "production" + }, + "specVersion": "1.0" +} \ No newline at end of file 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/event-grid-schema/app_service_plan_updated.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_service_plan_updated.json rename to specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/event-grid-schema/app_service_plan_updated.json 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/event-grid-schema/app_updated_changed_app_settings.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_updated_changed_app_settings.json rename to specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/event-grid-schema/app_updated_changed_app_settings.json 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/event-grid-schema/app_updated_restarted.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_updated_restarted.json rename to specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/event-grid-schema/app_updated_restarted.json 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/event-grid-schema/app_updated_stopped.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/app_updated_stopped.json rename to specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/event-grid-schema/app_updated_stopped.json 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/event-grid-schema/backup_operation_completed.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/backup_operation_completed.json rename to specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/event-grid-schema/backup_operation_completed.json 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/event-grid-schema/backup_operation_failed.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/backup_operation_failed.json rename to specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/event-grid-schema/backup_operation_failed.json 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/event-grid-schema/backup_operation_started.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/backup_operation_started.json rename to specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/event-grid-schema/backup_operation_started.json 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/event-grid-schema/restore_operation_completed.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/restore_operation_completed.json rename to specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/event-grid-schema/restore_operation_completed.json 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/event-grid-schema/restore_operation_failed.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/restore_operation_failed.json rename to specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/event-grid-schema/restore_operation_failed.json 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/event-grid-schema/restore_operation_started.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/restore_operation_started.json rename to specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/event-grid-schema/restore_operation_started.json 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/event-grid-schema/slot_swap_completed.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_completed.json rename to specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/event-grid-schema/slot_swap_completed.json 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/event-grid-schema/slot_swap_failed.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_failed.json rename to specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/event-grid-schema/slot_swap_failed.json 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/event-grid-schema/slot_swap_started.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_started.json rename to specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/event-grid-schema/slot_swap_started.json 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/event-grid-schema/slot_swap_with_preview_cancelled.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_with_preview_cancelled.json rename to specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/event-grid-schema/slot_swap_with_preview_cancelled.json 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/event-grid-schema/slot_swap_with_preview_started.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/slot_swap_with_preview_started.json rename to specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/examples/event-grid-schema/slot_swap_with_preview_started.json diff --git a/specification/eventgrid/data-plane/readme.md b/specification/eventgrid/data-plane/readme.md index 0fe7848dbf7e..9c8c3835a2fa 100644 --- a/specification/eventgrid/data-plane/readme.md +++ b/specification/eventgrid/data-plane/readme.md @@ -38,7 +38,9 @@ A sample valid event definition is shown below: ``` ~~~ -In addition to the event schema definition, you must provide a JSON example of a real event the service can trigger. This example must be in a "examples" folder close to your JSON, and called using snakeCase based on the event final name. The example should contain the envelope, but could be CloudEvent or EventGrid schema, whatever is easier. Example should NOT be handcrafted, but an actual result from a server test environment like canary (it's not required that the event is deployed in production yet). No PR will be accepted without the example. +In addition to the event schema definition, you must provide a JSON example of a real event the service can trigger in the Event Grid schema and CloudEvents schema. These examples must be close to your JSON in a "examples\event-grid-schema" and "examples\cloud-events-schema" folders respectively, and called using snakeCase based on the event final name. The example should contain the envelope. Example should NOT be handcrafted, but an actual result from a server test environment like canary (it's not required that the event is deployed in production yet). No PR will be accepted without the example. + +**Note:** If you already have an event type example created you can use the following [tool](https://github.com/robece/schema-converter) to convert event files from Event Grid schema to Cloud Events schema or vice versa. For the previous schema, the example file should be called "chat_message_received.json" and contains: ~~~ markdown