diff --git a/cSpell.json b/cSpell.json index bcbba8da57cf..a5309fdc1376 100644 --- a/cSpell.json +++ b/cSpell.json @@ -398,7 +398,13 @@ ] }, { - "filename": "**/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2024-01-01/SystemEvents.json", + "filename": "**/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2024-01-01/GeneratedSystemEvents.json", + "words": [ + "whatsapp" + ] + }, + { + "filename": "**/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/GeneratedSystemEvents.json", "words": [ "whatsapp" ] diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Communication/AzureCommunicationServices.tsp b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Communication/AzureCommunicationServices.tsp index 634f85970444..c0ead6f22d20 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Communication/AzureCommunicationServices.tsp +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Communication/AzureCommunicationServices.tsp @@ -1,3 +1,7 @@ +import "@typespec/versioning"; + +using TypeSpec.Versioning; + /** Describes the schema of the Azure Communication Services events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent. */ namespace Microsoft.EventGrid.SystemEvents; @@ -222,12 +226,15 @@ model AcsRecordingFileStatusUpdatedEventData { recordingDurationMs?: int64; /** The recording content type- AudioVideo, or Audio */ + @madeRequired(ServiceApiVersions.v2024_01_01) recordingContentType: recordingContentType; /** The recording channel type - Mixed, Unmixed */ + @madeRequired(ServiceApiVersions.v2024_01_01) recordingChannelType: recordingChannelType; /** The recording format type - Mp4, Mp3, Wav */ + @madeRequired(ServiceApiVersions.v2024_01_01) recordingFormatType: recordingFormatType; /** The reason for ending recording session */ @@ -246,6 +253,7 @@ model AcsEmailDeliveryReportReceivedEventData { messageId?: string; /** The status of the email. Any value other than Delivered is considered failed. */ + @madeRequired(ServiceApiVersions.v2024_01_01) status: AcsEmailDeliveryReportStatus; /** Detailed information about the status if any */ @@ -276,6 +284,7 @@ model AcsEmailEngagementTrackingReportReceivedEventData { userAgent?: string; /** The type of engagement user have with email */ + @madeRequired(ServiceApiVersions.v2024_01_01) engagementType: AcsUserEngagement; } @@ -369,6 +378,7 @@ model AcsRouterJobQueuedEventData extends AcsRouterJobEventData { #suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "Maintain compatibility with existing models." model AcsRouterJobReceivedEventData extends AcsRouterJobEventData { /** Router Job Received Job Status */ + @madeRequired(ServiceApiVersions.v2024_01_01) jobStatus: AcsRouterJobStatus; /** Router Job Classification Policy Id */ @@ -692,6 +702,7 @@ model AcsRouterWorkerSelector { key?: string; /** Router Job Worker Selector Label Operator */ + @madeRequired(ServiceApiVersions.v2024_01_01) labelOperator: AcsRouterLabelOperator; /** Router Job Worker Selector Value */ @@ -702,6 +713,7 @@ model AcsRouterWorkerSelector { ttlSeconds: float64; /** Router Job Worker Selector State */ + @madeRequired(ServiceApiVersions.v2024_01_01) state: AcsRouterWorkerSelectorState; /** Router Job Worker Selector Expiration Time */ @@ -1033,6 +1045,7 @@ union AcsUserEngagement { /** Identifies a participant in Azure Communication services. A participant is, for example, a phone number or an Azure communication user. This model must be interpreted as a union: Apart from rawId, at most one further property may be set. */ model CommunicationIdentifierModel { /** The identifier kind. Only required in responses. */ + @madeRequired(ServiceApiVersions.v2024_01_01) kind: CommunicationIdentifierModelKind; /** Raw Id of the identifier. Optional in requests, required in responses. */ @@ -1074,6 +1087,7 @@ model MicrosoftTeamsAppIdentifierModel { appId: string; /** The cloud that the Microsoft Teams application belongs to. By default 'public' if missing. */ + @madeRequired(ServiceApiVersions.v2024_01_01) cloud: CommunicationCloudEnvironmentModel; } @@ -1086,6 +1100,7 @@ model MicrosoftTeamsUserIdentifierModel { isAnonymous?: boolean; /** The cloud that the Microsoft Teams user belongs to. By default 'public' if missing. */ + @madeRequired(ServiceApiVersions.v2024_01_01) cloud: CommunicationCloudEnvironmentModel; } @@ -1132,9 +1147,11 @@ model AcsMessageDeliveryStatusUpdatedEventData extends AcsMessageEventData { messageId?: string; /** The updated message status */ + @madeRequired(ServiceApiVersions.v2024_01_01) status: AcsMessageDeliveryStatus; /** The updated message channel type */ + @madeRequired(ServiceApiVersions.v2024_01_01) channelType: AcsMessageChannelKind; } @@ -1196,6 +1213,7 @@ model AcsMessageButtonContent { /** Message Interactive Content */ model AcsMessageInteractiveContent { /** The Message interactive reply type */ + @madeRequired(ServiceApiVersions.v2024_01_01) type: AcsInteractiveReplyKind; /** The Message Sent when a customer clicks a button */ diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.DataBox/DataBox.tsp b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.DataBox/DataBox.tsp index 05d7129a7c9c..0651292894cf 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.DataBox/DataBox.tsp +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.DataBox/DataBox.tsp @@ -1,3 +1,7 @@ +import "@typespec/versioning"; + +using TypeSpec.Versioning; + /** EG DataBox Data Model */ namespace Microsoft.EventGrid.SystemEvents { /** Schema of the Data property of an EventGridEvent for a Microsoft.DataBox.CopyStarted event. */ @@ -20,6 +24,7 @@ namespace Microsoft.EventGrid.SystemEvents { serialNumber?: string; /** Name of the current Stage */ + @madeRequired(ServiceApiVersions.v2024_01_01) stageName: DataBoxStageName; /** The time at which the stage happened. */ diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.EventGrid/EventGrid.tsp b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.EventGrid/EventGrid.tsp index f3c1877aa959..b94717379e5f 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.EventGrid/EventGrid.tsp +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.EventGrid/EventGrid.tsp @@ -1,3 +1,7 @@ +import "@typespec/versioning"; + +using TypeSpec.Versioning; + /** Describes the schema of the Azure EventGrid events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent. */ namespace Microsoft.EventGrid.SystemEvents; @@ -89,6 +93,7 @@ model SubscriptionDeletedEventData { model EventGridMQTTClientCreatedOrUpdatedEventData extends EventGridMQTTClientEventData { /** Configured state of the client. The value could be Enabled or Disabled */ + @madeRequired(ServiceApiVersions.v2024_01_01) state: EventGridMQTTClientState; /** Time the client resource is created based on the provider's UTC time. */ @@ -170,5 +175,6 @@ than the previous event. Reason for the disconnection of the MQTT client's session. The value could be one of the values in the disconnection reasons table. */ + @madeRequired(ServiceApiVersions.v2024_01_01) disconnectionReason: EventGridMQTTClientDisconnectionReason; } diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.HealthcareApis/HealthcareApis.tsp b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.HealthcareApis/HealthcareApis.tsp index 9256d60c1ed6..0e1dce392dbe 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.HealthcareApis/HealthcareApis.tsp +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.HealthcareApis/HealthcareApis.tsp @@ -1,9 +1,14 @@ +import "@typespec/versioning"; + +using TypeSpec.Versioning; + /** Describes the schema of the Azure HealthcareApis events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent. */ namespace Microsoft.EventGrid.SystemEvents { // model HealthcareFhirResourceType is string {} /** Schema of the Data property of an EventGridEvent for a Microsoft.HealthcareApis.FhirResourceCreated event. */ model HealthcareFhirResourceCreatedEventData { /** Type of HL7 FHIR resource. */ + @madeRequired(ServiceApiVersions.v2024_01_01) resourceType: HealthcareFhirResourceType; /** Domain name of FHIR account for this resource. */ @@ -19,6 +24,7 @@ namespace Microsoft.EventGrid.SystemEvents { /** Schema of the Data property of an EventGridEvent for a Microsoft.HealthcareApis.FhirResourceUpdated event. */ model HealthcareFhirResourceUpdatedEventData { /** Type of HL7 FHIR resource. */ + @madeRequired(ServiceApiVersions.v2024_01_01) resourceType: HealthcareFhirResourceType; /** Domain name of FHIR account for this resource. */ @@ -34,6 +40,7 @@ namespace Microsoft.EventGrid.SystemEvents { /** Schema of the Data property of an EventGridEvent for a Microsoft.HealthcareApis.FhirResourceDeleted event. */ model HealthcareFhirResourceDeletedEventData { /** Type of HL7 FHIR resource. */ + @madeRequired(ServiceApiVersions.v2024_01_01) resourceType: HealthcareFhirResourceType; /** Domain name of FHIR account for this resource. */ diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Media/MediaServices.tsp b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Media/MediaServices.tsp index b7662f5bb55c..3dd583abda9b 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Media/MediaServices.tsp +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Media/MediaServices.tsp @@ -1,3 +1,7 @@ +import "@typespec/versioning"; + +using TypeSpec.Versioning; + /** Describes the schema of the Azure Media Services events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent. */ namespace Microsoft.EventGrid.SystemEvents { /** State of a Media Job. */ @@ -101,9 +105,11 @@ namespace Microsoft.EventGrid.SystemEvents { */ model MediaJobStateChangeEventData { /** The previous state of the Job. */ + @madeRequired(ServiceApiVersions.v2024_01_01) previousState: MediaJobState; /** The new state of the Job. */ + @madeRequired(ServiceApiVersions.v2024_01_01) state: MediaJobState; /** Gets the Job correlation data. */ @@ -113,15 +119,18 @@ namespace Microsoft.EventGrid.SystemEvents { /** Details of JobOutput errors. */ model MediaJobError { /** Error code describing the error. */ + @madeRequired(ServiceApiVersions.v2024_01_01) code: MediaJobErrorCode; /** A human-readable language-dependent representation of the error. */ message?: string; /** Helps with categorization of errors. */ + @madeRequired(ServiceApiVersions.v2024_01_01) category: MediaJobErrorCategory; /** Indicates that it may be possible to retry the Job. If retry is unsuccessful, please contact Azure support via Azure Portal. */ + @madeRequired(ServiceApiVersions.v2024_01_01) retry: MediaJobRetry; /** An array of details about specific errors that led to this reported error. */ @@ -155,6 +164,7 @@ namespace Microsoft.EventGrid.SystemEvents { progress: int64; /** Gets the Job output state. */ + @madeRequired(ServiceApiVersions.v2024_01_01) state: MediaJobState; } @@ -189,6 +199,7 @@ namespace Microsoft.EventGrid.SystemEvents { */ model MediaJobOutputStateChangeEventData { /** The previous state of the Job. */ + @madeRequired(ServiceApiVersions.v2024_01_01) previousState: MediaJobState; /** Gets the output. */ diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Storage/Storage.tsp b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Storage/Storage.tsp index 88f423a12136..d400fe8bacc2 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Storage/Storage.tsp +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Storage/Storage.tsp @@ -1,3 +1,7 @@ +import "@typespec/versioning"; + +using TypeSpec.Versioning; + /** Describes the schema of the Azure Storage events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent. */ namespace Microsoft.EventGrid.SystemEvents { /** Schema of the Data property of an EventGridEvent for a Microsoft.Storage.BlobCreated event. */ @@ -265,6 +269,7 @@ namespace Microsoft.EventGrid.SystemEvents { /** Schema of the Data property of an EventGridEvent for an Microsoft.Storage.StorageTaskCompleted event. */ model StorageTaskCompletedEventData { /** The status for a storage task. */ + @madeRequired(ServiceApiVersions.v2024_01_01) status: StorageTaskCompletedStatus; /** The time at which a storage task was completed. */ @@ -302,6 +307,7 @@ namespace Microsoft.EventGrid.SystemEvents { /** Schema of the Data property of an EventGridEvent for an Microsoft.Storage.StorageTaskAssignmentCompleted event. */ model StorageTaskAssignmentCompletedEventData { /** The status for a storage task. */ + @madeRequired(ServiceApiVersions.v2024_01_01) status: StorageTaskAssignmentCompletedStatus; /** The time at which a storage task was completed. */ diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Web/Web.tsp b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Web/Web.tsp index 762cc4d65ce0..12907ed807c7 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Web/Web.tsp +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/Microsoft.Web/Web.tsp @@ -1,9 +1,14 @@ +import "@typespec/versioning"; + +using TypeSpec.Versioning; + /** Describes the schema of the Azure App Service events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent. */ namespace Microsoft.EventGrid.SystemEvents { // /** sku of app service plan. */ /** Detail of action on the app. */ model AppEventTypeDetail { /** Type of action of the operation. */ + @madeRequired(ServiceApiVersions.v2024_01_01) action: AppAction; } @@ -142,12 +147,15 @@ namespace Microsoft.EventGrid.SystemEvents { /** Detail of action on the app service plan. */ model AppServicePlanEventTypeDetail { /** Kind of environment where app service plan is. */ + @madeRequired(ServiceApiVersions.v2024_01_01) stampKind: StampKind; /** Type of action on the app service plan. */ + @madeRequired(ServiceApiVersions.v2024_01_01) action: AppServicePlanAction; /** Asynchronous operation status of the operation on the app service plan. */ + @madeRequired(ServiceApiVersions.v2024_01_01) status: AsyncStatus; } diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/HealthResources_AvailabilityStatusChanged.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/HealthResources_AvailabilityStatusChanged.json new file mode 100644 index 000000000000..93799aea17b8 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/HealthResources_AvailabilityStatusChanged.json @@ -0,0 +1,28 @@ +{ + "id": "1fb6fa94-d965-4306-abeq-4810f0774e97", + "source": "/subscriptions/{subscription-id}", + "subject": "/subscriptions/{subscription-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/virtualMachines/{vm-name}", + "data": { + "resourceInfo": { + "id": "/subscriptions/{subscription-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/virtualMachines/{vm-name}/providers/Microsoft.ResourceHealth/availabilityStatuses/{event-id}", + "name": "{event-id}", + "type": "Microsoft.ResourceHealth/availabilityStatuses", + "properties": { + "targetResourceId": "/subscriptions/{subscription-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/virtualMachines/{vm-name}", + "targetResourceType": "Microsoft.Compute/virtualMachines", + "occurredTime": "2023-07-24T19:20:37.9245071Z", + "previousAvailabilityState": "Unavailable", + "availabilityState": "Available" + } + }, + "operationalInfo": { + "resourceEventTime": "2023-07-24T19:20:37.9245071Z" + }, + "apiVersion": "2023-12-01" + }, + "type": "Microsoft.ResourceNotifications.HealthResources.AvailabilityStatusChanged", + "specversion": "1.0", + "time": "2023-07-24T19:20:37.9245071Z", + "operationId": "AvailabilityStatusChangedEventName", + "title": "AvailabilityStatusChanged" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/HealthResources_ResourceAnnotated.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/HealthResources_ResourceAnnotated.json new file mode 100644 index 000000000000..491bfd7597d4 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/HealthResources_ResourceAnnotated.json @@ -0,0 +1,31 @@ +{ + "id": "8945cf9b-e220-496e-ab4f-f3a239318995", + "source": "/subscriptions/{subscription-id}", + "subject": "/subscriptions/{subscription-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/virtualMachines/{vm-name}", + "data": { + "resourceInfo": { + "id": "/subscriptions/{subscription-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/virtualMachines/{vm-name}/providers/Microsoft.ResourceHealth/resourceAnnotations/{event-id}", + "name": "{event-id}", + "type": "Microsoft.ResourceHealth/resourceAnnotations", + "properties": { + "targetResourceId": "/subscriptions/{subscription-id}/resourceGroups/{rg-name}/providers/Microsoft.Compute/virtualMachines/{vm-name}", + "targetResourceType": "Microsoft.Compute/virtualMachines", + "occurredTime": "2023-07-24T19:20:37.9245071Z", + "annotationName": "VirtualMachineDeallocationInitiated", + "reason": "Stopping and deallocating", + "summary": "This virtual machine is stopped and deallocated as requested by an authorized user or process.", + "context": "Customer Initiated", + "category": "Not Applicable" + } + }, + "operationalInfo": { + "resourceEventTime": "2023-07-24T19:20:37.9245071Z" + }, + "apiVersion": "2022-08-01" + }, + "type": "Microsoft.ResourceNotifications.HealthResources.ResourceAnnotated", + "specversion": "1.0", + "time": "2023-07-24T19:20:37.9245071Z", + "operationId": "ResourceAnnotatedEventName", + "title": "ResourceAnnotated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/MediaLiveEventChannelArchiveHeartbeatEvent.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/MediaLiveEventChannelArchiveHeartbeatEvent.json new file mode 100644 index 000000000000..27df681b3584 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/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", + "operationId": "LiveEventChannelArchiveHeartbeatEventName", + "title": "LiveEventChannelArchiveHeartbeat" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/MediaLiveEventIngestHeartbeatEvent.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/MediaLiveEventIngestHeartbeatEvent.json new file mode 100644 index 000000000000..fe68e1a956e3 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/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", + "operationId": "LiveEventIngestHeartbeatEventName", + "title": "LiveEventIngestHeartbeat" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/Resources_CreatedOrUpdated.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/Resources_CreatedOrUpdated.json new file mode 100644 index 000000000000..4ba368f76566 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/Resources_CreatedOrUpdated.json @@ -0,0 +1,74 @@ +{ + "id": "4eef929a-a65c-47dd-93e2-46b8c17c6c17", + "source": "/subscriptions/{subscription-id}", + "subject": "/subscriptions/{subscription-id} /resourceGroups/{rg-name}/providers/Microsoft.Storage/storageAccounts/{storageAccount-name}", + "data": { + "resourceInfo": { + "tags": {}, + "id": "/subscriptions/{subcription-id} /resourceGroups/{rg-name}/providers/Microsoft.Storage/storageAccounts/{storageAccount-name}", + "name": "StorageAccount-name", + "type": "Microsoft.Storage/storageAccounts", + "location": "eastus", + "properties": { + "privateEndpointConnections": [], + "minimumTlsVersion": "TLS1_2", + "allowBlobPublicAccess": 1, + "allowSharedKeyAccess": 1, + "networkAcls": { + "bypass": "AzureServices", + "virtualNetworkRules": [], + "ipRules": [], + "defaultAction": "Allow" + }, + "supportsHttpsTrafficOnly": 1, + "encryption": { + "requireInfrastructureEncryption": 0, + "services": { + "file": { + "keyType": "Account", + "enabled": 1, + "lastEnabledTime": "2023-07-28T20:12:50.6380308Z" + }, + "blob": { + "keyType": "Account", + "enabled": 1, + "lastEnabledTime": "2023-07-28T20:12:50.6380308Z" + } + }, + "keySource": "Microsoft.Storage" + }, + "accessTier": "Hot", + "provisioningState": "Succeeded", + "creationTime": "2023-07-28T20:12:50.4661564Z", + "primaryEndpoints": { + "dfs": "https://{storageAccount-name}.dfs.core.windows.net/", + "web": "https://{storageAccount-name}.z13.web.core.windows.net/", + "blob": "https://{storageAccount-name}.blob.core.windows.net/", + "queue": "https://{storageAccount-name}.queue.core.windows.net/", + "table": "https://{storageAccount-name}.table.core.windows.net/", + "file": "https://{storageAccount-name}.file.core.windows.net/" + }, + "primaryLocation": "eastus", + "statusOfPrimary": "available", + "secondaryLocation": "westus", + "statusOfSecondary": "available", + "secondaryEndpoints": { + "dfs": "https://{storageAccount-name} -secondary.dfs.core.windows.net/", + "web": "https://{storageAccount-name}-secondary.z13.web.core.windows.net/", + "blob": "https://{storageAccount-name}-secondary.blob.core.windows.net/", + "queue": "https://{storageAccount-name}-secondary.queue.core.windows.net/", + "table": "https://{storageAccount-name}-secondary.table.core.windows.net/" + } + } + }, + "operationalInfo": { + "resourceEventTime": "2023-07-28T20:13:10.8418063Z" + }, + "apiVersion": "2019-06-01" + }, + "type": "Microsoft.ResourceNotifications.Resources.CreatedOrUpdated", + "specversion": "1.0", + "time": "2023-07-28T20:13:10.8418063Z", + "operationId": "CreatedOrUpdatedEventName", + "title": "CreatedOrUpdated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/Resources_Deleted.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/Resources_Deleted.json new file mode 100644 index 000000000000..5ffd29bde249 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/Resources_Deleted.json @@ -0,0 +1,20 @@ +{ + "id": "d4611260-d179-4f86-b196-3a9d4128be2d", + "source": "/subscriptions/{subscription-id}", + "subject": "/subscriptions/{subscription-id}/resourceGroups/{rg-name}/providers/Microsoft.Storage/storageAccounts/{storageAccount-name}", + "data": { + "resourceInfo": { + "id": "/subscriptions/{subscription-id}/resourceGroups/{rg-name}/providers/Microsoft.Storage/storageAccounts/{storageAccount-name}", + "name": "storageAccount-name", + "type": "Microsoft.Storage/storageAccounts" + }, + "operationalInfo": { + "resourceEventTime": "2023-07-28T20:11:36.6347858Z" + } + }, + "type": "Microsoft.ResourceNotifications.Resources.Deleted", + "specversion": "1.0", + "time": "2023-07-28T20:11:36.6347858Z", + "operationId": "DeletedEventName", + "title": "Deleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/active_messages_available_periodic_notifications.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/active_messages_available_periodic_notifications.json new file mode 100644 index 000000000000..25820ab479e7 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/active_messages_available_periodic_notifications.json @@ -0,0 +1,18 @@ +{ + "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", + "operationId": "ActiveMessagesAvailablePeriodicNotificationsEventName", + "title": "ActiveMessagesAvailablePeriodicNotifications" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/active_messages_available_with_no_listeners.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/active_messages_available_with_no_listeners.json new file mode 100644 index 000000000000..afbd8fed4074 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/active_messages_available_with_no_listeners.json @@ -0,0 +1,18 @@ +{ + "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", + "operationId": "ActiveMessagesAvailableWithNoListenersEventName", + "title": "ActiveMessagesAvailableWithNoListeners" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/apiCreated.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/apiCreated.json new file mode 100644 index 000000000000..b18026ef1ecc --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/apiCreated.json @@ -0,0 +1,13 @@ +{ + "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", + "operationId": "APICreatedEventName", + "title": "APICreated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/apiDeleted.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/apiDeleted.json new file mode 100644 index 000000000000..a83f317cafab --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/apiDeleted.json @@ -0,0 +1,13 @@ +{ + "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", + "operationId": "APIDeletedEventName", + "title": "APIDeleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/apiReleaseCreated.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/apiReleaseCreated.json new file mode 100644 index 000000000000..7bc9e9c121e2 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/apiReleaseCreated.json @@ -0,0 +1,13 @@ +{ + "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", + "operationId": "APIReleaseCreatedEventName", + "title": "APIReleaseCreated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/apiReleaseDeleted.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/apiReleaseDeleted.json new file mode 100644 index 000000000000..809b213397e9 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/apiReleaseDeleted.json @@ -0,0 +1,13 @@ +{ + "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", + "operationId": "APIReleaseDeletedEventName", + "title": "APIReleaseDeleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/apiReleaseUpdated.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/apiReleaseUpdated.json new file mode 100644 index 000000000000..84b3512bba39 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/apiReleaseUpdated.json @@ -0,0 +1,13 @@ +{ + "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", + "operationId": "APIReleaseUpdatedEventName", + "title": "APIReleaseUpdated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/apiUpdated.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/apiUpdated.json new file mode 100644 index 000000000000..14f42cdcf690 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/apiUpdated.json @@ -0,0 +1,13 @@ +{ + "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", + "operationId": "APIUpdatedEventName", + "title": "APIUpdated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/app_service_plan_updated.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/app_service_plan_updated.json new file mode 100644 index 000000000000..85df248a02a5 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/app_service_plan_updated.json @@ -0,0 +1,30 @@ +{ + "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", + "operationId": "AppServicePlanUpdatedEventName", + "title": "AppServicePlanUpdated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/app_updated_changed_app_settings.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/app_updated_changed_app_settings.json new file mode 100644 index 000000000000..c4de138b0d5a --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/app_updated_changed_app_settings.json @@ -0,0 +1,21 @@ +{ + "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", + "operationId": "AppUpdatedEventName", + "title": "AppUpdated Changed App Settings" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/app_updated_restarted.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/app_updated_restarted.json new file mode 100644 index 000000000000..2ffb6a7c1579 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/app_updated_restarted.json @@ -0,0 +1,21 @@ +{ + "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", + "operationId": "AppUpdatedEventName", + "title": "AppUpdated Restarted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/app_updated_stopped.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/app_updated_stopped.json new file mode 100644 index 000000000000..1418759eb75f --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/app_updated_stopped.json @@ -0,0 +1,21 @@ +{ + "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", + "operationId": "AppUpdatedEventName", + "title": "AppUpdated Stopped" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/backup_operation_completed.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/backup_operation_completed.json new file mode 100644 index 000000000000..cececab71686 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/backup_operation_completed.json @@ -0,0 +1,21 @@ +{ + "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", + "operationId": "BackupOperationCompletedEventName", + "title": "BackupOperationCompleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/backup_operation_failed.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/backup_operation_failed.json new file mode 100644 index 000000000000..066b7f80aa0a --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/backup_operation_failed.json @@ -0,0 +1,21 @@ +{ + "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", + "operationId": "BackupOperationFailedEventName", + "title": "BackupOperationFailed" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/backup_operation_started.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/backup_operation_started.json new file mode 100644 index 000000000000..d8cf500757b3 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/backup_operation_started.json @@ -0,0 +1,21 @@ +{ + "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", + "operationId": "BackupOperationStartedEventName", + "title": "BackupOperationStarted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/blob_created.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/blob_created.json new file mode 100644 index 000000000000..f31c5f8a4122 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/blob_created.json @@ -0,0 +1,24 @@ +{ + "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", + "operationId": "BlobCreatedEventName", + "title": "BlobCreated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/blob_deleted.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/blob_deleted.json new file mode 100644 index 000000000000..2d09010d3709 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/blob_deleted.json @@ -0,0 +1,23 @@ +{ + "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", + "operationId": "BlobDeletedEventName", + "title": "BlobDeleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/blob_inventory_policy_completed.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/blob_inventory_policy_completed.json new file mode 100644 index 000000000000..afa2e7830213 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/blob_inventory_policy_completed.json @@ -0,0 +1,19 @@ +{ + "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", + "operationId": "BlobInventoryPolicyCompletedEventName", + "title": "BlobInventoryPolicyCompleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/blob_renamed.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/blob_renamed.json new file mode 100644 index 000000000000..eb323b34bce5 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/blob_renamed.json @@ -0,0 +1,22 @@ +{ + "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", + "operationId": "BlobRenamedEventName", + "title": "BlobRenamed" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/blob_tier_changed.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/blob_tier_changed.json new file mode 100644 index 000000000000..b47e37c1bfea --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/blob_tier_changed.json @@ -0,0 +1,23 @@ +{ + "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", + "operationId": "BlobTierChangedEventName", + "title": "BlobTierChanged" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/capture_file_created.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/capture_file_created.json new file mode 100644 index 000000000000..cf34596b1244 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/capture_file_created.json @@ -0,0 +1,21 @@ +{ + "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", + "operationId": "CaptureFileCreatedEventName", + "title": "CaptureFileCreated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chart_deleted.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chart_deleted.json new file mode 100644 index 000000000000..8d469b96edaf --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chart_deleted.json @@ -0,0 +1,28 @@ +{ + "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", + "operationId": "ChartDeletedEventName", + "title": "ChartDeleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chart_pushed.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chart_pushed.json new file mode 100644 index 000000000000..1aed13dbb33f --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chart_pushed.json @@ -0,0 +1,28 @@ +{ + "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", + "operationId": "ChartPushedEventName", + "title": "ChartPushed" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_message_deleted.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_message_deleted.json new file mode 100644 index 000000000000..af12a893574b --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_message_deleted.json @@ -0,0 +1,34 @@ +{ + "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", + "operationId": "ChatMessageDeletedEventName", + "title": "ChatMessageDeleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_message_deleted_in_thread.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_message_deleted_in_thread.json new file mode 100644 index 000000000000..a18d69128cca --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_message_deleted_in_thread.json @@ -0,0 +1,26 @@ +{ + "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", + "operationId": "ChatMessageDeletedInThreadEventName", + "title": "ChatMessageDeletedInThread" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_message_edited.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_message_edited.json new file mode 100644 index 000000000000..8d18c57c3bcc --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_message_edited.json @@ -0,0 +1,39 @@ +{ + "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", + "operationId": "ChatMessageEditedEventName", + "title": "ChatMessageEdited" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_message_edited_in_thread.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_message_edited_in_thread.json new file mode 100644 index 000000000000..650a5a61046d --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_message_edited_in_thread.json @@ -0,0 +1,31 @@ +{ + "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", + "operationId": "ChatMessageEditedInThreadEventName", + "title": "ChatMessageEditedInThread" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_message_received.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_message_received.json new file mode 100644 index 000000000000..39c7115e884b --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_message_received.json @@ -0,0 +1,38 @@ +{ + "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", + "operationId": "ChatMessageReceivedEventName", + "title": "ChatMessageReceived" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_message_received_in_thread.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_message_received_in_thread.json new file mode 100644 index 000000000000..b92d6d6f1423 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_message_received_in_thread.json @@ -0,0 +1,30 @@ +{ + "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", + "operationId": "ChatMessageReceivedInThreadEventName", + "title": "ChatMessageReceivedInThread" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_participant_added_to_thread_with_user.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_participant_added_to_thread_with_user.json new file mode 100644 index 000000000000..73bd86b07dfe --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_participant_added_to_thread_with_user.json @@ -0,0 +1,41 @@ +{ + "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" + } + }, + "metadata": { + "key": "value" + } + }, + "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", + "operationId": "ChatParticipantAddedToThreadWithUserEventName", + "title": "ChatParticipantAddedToThreadWithUser" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_participant_removed_from_thread_with_user.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_participant_removed_from_thread_with_user.json new file mode 100644 index 000000000000..2677715e6c02 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_participant_removed_from_thread_with_user.json @@ -0,0 +1,41 @@ +{ + "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" + } + }, + "metadata": { + "key": "value" + } + }, + "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", + "operationId": "ChatParticipantRemovedFromThreadWithUserEventName", + "title": "ChatParticipantRemovedFromThreadWithUser" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_thread_created.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_thread_created.json new file mode 100644 index 000000000000..826c09701504 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_thread_created.json @@ -0,0 +1,79 @@ +{ + "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" + } + }, + "metadata": { + "key": "value" + } + }, + { + "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" + } + }, + "metadata": { + "key": "value", + "description": "A map of data associated with the participant" + } + }, + { + "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" + } + }, + "metadata": { + "key": "value" + } + }, + { + "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" + } + }, + "metadata": { + "key": "value" + } + } + ], + "metadata": { + "key": "value" + }, + "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", + "operationId": "ChatThreadCreatedEventName", + "title": "ChatThreadCreated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_thread_created_withUser.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_thread_created_withUser.json new file mode 100644 index 000000000000..d82045ca4b28 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_thread_created_withUser.json @@ -0,0 +1,72 @@ +{ + "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" + } + }, + "metadata": { + "key": "value" + } + }, + { + "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" + } + }, + "metadata": { + "key": "value" + } + } + ], + "metadata": { + "key": "value" + }, + "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", + "operationId": "ChatThreadCreatedWithUserEventName", + "title": "ChatThreadCreatedWithUser" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_thread_deleted.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_thread_deleted.json new file mode 100644 index 000000000000..0abed374bd4c --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_thread_deleted.json @@ -0,0 +1,23 @@ +{ + "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", + "operationId": "ChatThreadDeletedEventName", + "title": "ChatThreadDeleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_thread_participant_added.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_thread_participant_added.json new file mode 100644 index 000000000000..40572e2922d7 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_thread_participant_added.json @@ -0,0 +1,35 @@ +{ + "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" + } + }, + "metadata": { + "key": "value" + } + }, + "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", + "operationId": "ChatThreadParticipantAddedEventName", + "title": "ChatThreadParticipantAdded" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_thread_participant_removed.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_thread_participant_removed.json new file mode 100644 index 000000000000..00c5fa061821 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_thread_participant_removed.json @@ -0,0 +1,35 @@ +{ + "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" + } + }, + "metadata": { + "key": "value" + } + }, + "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", + "operationId": "ChatThreadParticipantRemovedEventName", + "title": "ChatThreadParticipantRemoved" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_thread_properties_updated.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_thread_properties_updated.json new file mode 100644 index 000000000000..3e0cd3f5481c --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_thread_properties_updated.json @@ -0,0 +1,26 @@ +{ + "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", + "operationId": "ChatThreadPropertiesUpdatedEventName", + "title": "ChatThreadPropertiesUpdated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_thread_properties_updated_per_user.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_thread_properties_updated_per_user.json new file mode 100644 index 000000000000..7da296d593ce --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_thread_properties_updated_per_user.json @@ -0,0 +1,37 @@ +{ + "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" + }, + "metadata": { + "key": "value" + }, + "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", + "operationId": "ChatThreadPropertiesUpdatedPerUserEventName", + "title": "ChatThreadPropertiesUpdatedPerUser" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_thread_with_user_deleted.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_thread_with_user_deleted.json new file mode 100644 index 000000000000..4c3f085b3cbc --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/chat_thread_with_user_deleted.json @@ -0,0 +1,31 @@ +{ + "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", + "operationId": "ChatThreadWithUserDeletedEventName", + "title": "ChatThreadWithUserDeleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/client_connection_connected.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/client_connection_connected.json new file mode 100644 index 000000000000..076064ca5649 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/client_connection_connected.json @@ -0,0 +1,16 @@ +{ + "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", + "operationId": "ClientConnectionConnectedEventName", + "title": "ClientConnectionConnected" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/client_connection_disconnected.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/client_connection_disconnected.json new file mode 100644 index 000000000000..d9f457f792e2 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/client_connection_disconnected.json @@ -0,0 +1,17 @@ +{ + "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", + "operationId": "ClientConnectionDisconnectedEventName", + "title": "ClientConnectionDisconnected" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/client_created_or_updated.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/client_created_or_updated.json new file mode 100644 index 000000000000..2b4272ce14d7 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/client_created_or_updated.json @@ -0,0 +1,21 @@ +{ + "specversion": "1.0", + "id": "383d1562-c95f-4095-936c-688e72c6b2bb", + "time": "2023-07-29T01:14:35.8928724Z", + "type": "Microsoft.EventGrid.MQTTClientCreatedOrUpdated", + "source": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myrg/providers/Microsoft.EventGrid/namespaces/myns", + "subject": "clients/client1", + "data": { + "createdOn": "2023-07-29T01:14:34.2048108Z", + "updatedOn": "2023-07-29T01:14:34.2048108Z", + "namespaceName": "myns", + "clientName": "client1", + "clientAuthenticationName": "client1", + "state": "Enabled", + "attributes": { + "attribute1": "value1" + } + }, + "operationId": "MQTTClientCreatedOrUpdatedEventName", + "title": "MQTTClientCreatedOrUpdated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/client_deleted.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/client_deleted.json new file mode 100644 index 000000000000..c89b48800f36 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/client_deleted.json @@ -0,0 +1,15 @@ +{ + "specversion": "1.0", + "id": "2a93aaf9-66c2-4f8e-9ba3-8d899c10bf17", + "time": "2023-07-29T01:30:52.5620566Z", + "type": "Microsoft.EventGrid.MQTTClientDeleted", + "source": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myrg/providers/Microsoft.EventGrid/namespaces/myns", + "subject": "clients/client1", + "data": { + "namespaceName": "myns", + "clientName": "client1", + "clientAuthenticationName": "client1" + }, + "operationId": "MQTTClientDeletedEventName", + "title": "MQTTClientDeleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/clientsession_connected.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/clientsession_connected.json new file mode 100644 index 000000000000..316395e92359 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/clientsession_connected.json @@ -0,0 +1,16 @@ +{ + "specversion": "1.0", + "id": "5249c38a-a048-46dd-8f60-df34fcdab06c", + "time": "2023-07-29T01:23:49.6454046Z", + "type": "Microsoft.EventGrid.MQTTClientSessionConnected", + "source": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myrg/providers/Microsoft.EventGrid/namespaces/myns", + "subject": "clients/client1/sessions/session1", + "data": { + "namespaceName": "myns", + "clientAuthenticationName": "client1", + "clientSessionName": "session1", + "sequenceNumber": 1 + }, + "operationId": "MQTTClientSessionConnectedEventName", + "title": "MQTTClientSessionConnected" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/clientsession_disconnected.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/clientsession_disconnected.json new file mode 100644 index 000000000000..6218ca1e913b --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/clientsession_disconnected.json @@ -0,0 +1,17 @@ +{ + "specversion": "1.0", + "id": "e30e5174-787d-4e19-8812-580148bfcf7b", + "time": "2023-07-29T01:27:40.2446871Z", + "type": "Microsoft.EventGrid.MQTTClientSessionDisconnected", + "source": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myrg/providers/Microsoft.EventGrid/namespaces/myns", + "subject": "clients/client1/sessions/session1", + "data": { + "namespaceName": "myns", + "clientAuthenticationName": "client1", + "clientSessionName": "session1", + "sequenceNumber": 1, + "disconnectionReason": "ClientInitiatedDisconnect" + }, + "operationId": "MQTTClientSessionDisconnectedEventName", + "title": "MQTTClientSessionDisconnected" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/cluster_support_ended.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/cluster_support_ended.json new file mode 100644 index 000000000000..dffc18810467 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/cluster_support_ended.json @@ -0,0 +1,13 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.ContainerService/managedClusters/{cluster}", + "subject": "{cluster}", + "type": "Microsoft.ContainerService.ClusterSupportEnded", + "time": "2023-03-29T18:00:00.0000000Z", + "id": "1234567890abcdef1234567890abcdef12345678", + "data": { + "kubernetesVersion": "1.23.15" + }, + "specversion": "1.0", + "operationId": "ClusterSupportEndedEventName", + "title": "ClusterSupportEnded" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/cluster_support_ending.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/cluster_support_ending.json new file mode 100644 index 000000000000..951f651513ba --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/cluster_support_ending.json @@ -0,0 +1,13 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.ContainerService/managedClusters/{cluster}", + "subject": "{cluster}", + "type": "Microsoft.ContainerService.ClusterSupportEnding", + "time": "2023-03-29T18:00:00.0000000Z", + "id": "1234567890abcdef1234567890abcdef12345678", + "data": { + "kubernetesVersion": "1.24.10" + }, + "specversion": "1.0", + "operationId": "ClusterSupportEndingEventName", + "title": "ClusterSupportEnding" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/cluster_updated.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/cluster_updated.json new file mode 100644 index 000000000000..f882398b74e2 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/cluster_updated.json @@ -0,0 +1,22 @@ +{ + "source": "/subscriptions/{subscription_id}/resourceGroups/{resource_group_name}/providers/Microsoft.AVS/privateClouds/{sddc_name}", + "subject": "/clusters/{cluster_name}", + "type": "Microsoft.AVS.ClusterUpdated", + "time": "2023-12-09T16:50:19.9995668-05:00", + "id": "9b87886d-21a5-4af5-8e3e-10c4b8dac73b", + "data": { + "addedHostNames": [ + "esx17-r04.p01.431cc…" + ], + "removedHostNames": [ + "esx15-r01.p01.431cc…" + ], + "inMaintenanceHostNames": [ + "esx01-r03.p01.431cc…" + ], + "operationId": "c8c0b304-2db3-402b-8a6b-06065e0e1755" + }, + "specVersion": "1.0", + "operationId": "ClusterUpdatedEventName", + "title": "ClusterUpdated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/copy_completed.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/copy_completed.json new file mode 100644 index 000000000000..98275184f557 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/copy_completed.json @@ -0,0 +1,15 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.DataBox/jobs/{your-resource}", + "subject": "/jobs/{your-resource}", + "type": "Microsoft.DataBox.CopyCompleted", + "time": "2022-10-16T02:51:26.4248221Z", + "id": "759c892a-a628-4e48-a116-2e1d54c555ce", + "data": { + "serialNumber": "SampleSerialNumber", + "stageName": "CopyCompleted", + "stageTime": "2022-10-12T19:38:08.0218897Z" + }, + "specVersion": "1.0", + "operationId": "CopyCompletedEventName", + "title": "CopyCompleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/copy_started.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/copy_started.json new file mode 100644 index 000000000000..b801ddeb4498 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/copy_started.json @@ -0,0 +1,15 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.DataBox/jobs/{your-resource}", + "subject": "/jobs/{your-resource}", + "type": "Microsoft.DataBox.CopyStarted", + "time": "2022-10-16T02:51:26.4248221Z", + "id": "049ec3f6-5b7d-4052-858e-6f4ce6a46570", + "data": { + "serialNumber": "SampleSerialNumber", + "stageName": "CopyStarted", + "stageTime": "2022-10-12T19:38:08.0218897Z" + }, + "specVersion": "1.0", + "operationId": "CopyStartedEventName", + "title": "CopyStarted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/dataset_drift_detected.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/dataset_drift_detected.json new file mode 100644 index 000000000000..33ad61a57bc9 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/dataset_drift_detected.json @@ -0,0 +1,20 @@ +{ + "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", + "operationId": "DatasetDriftDetectedEventName", + "title": "DatasetDriftDetected" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/deadletter_messages_available_periodic_notification.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/deadletter_messages_available_periodic_notification.json new file mode 100644 index 000000000000..36d8ffa69db4 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/deadletter_messages_available_periodic_notification.json @@ -0,0 +1,18 @@ +{ + "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", + "operationId": "DeadletterMessagesAvailablePeriodicNotificationsEventName", + "title": "DeadletterMessagesAvailablePeriodicNotifications" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/deadletter_messages_available_with_no_listeners.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/deadletter_messages_available_with_no_listeners.json new file mode 100644 index 000000000000..987421be786b --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/deadletter_messages_available_with_no_listeners.json @@ -0,0 +1,18 @@ +{ + "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", + "operationId": "DeadletterMessagesAvailableWithNoListenersEventName", + "title": "DeadletterMessagesAvailableWithNoListeners" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/device_connected.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/device_connected.json new file mode 100644 index 000000000000..f43cb336e8df --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/device_connected.json @@ -0,0 +1,18 @@ +{ + "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", + "operationId": "DeviceConnectedEventName", + "title": "DeviceConnected" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/device_created.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/device_created.json new file mode 100644 index 000000000000..dcf8df794805 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/device_created.json @@ -0,0 +1,44 @@ +{ + "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", + "operationId": "DeviceCreatedEventName", + "title": "DeviceCreated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/device_telemetry.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/device_telemetry.json new file mode 100644 index 000000000000..d406fff9c2f5 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/device_telemetry.json @@ -0,0 +1,30 @@ +{ + "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", + "operationId": "DeviceTelemetryEventName", + "title": "DeviceTelemetry" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/dicom_image_created.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/dicom_image_created.json new file mode 100644 index 000000000000..41ce40083bc6 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/dicom_image_created.json @@ -0,0 +1,18 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.HealthcareApis/workspaces/{workspace-name}", + "subject": "{dicom-account}.dicom.azurehealthcareapis.com/v1/partitions/Microsoft.Default/studies/1.2.3.4.3/series/1.2.3.4.3.9423673/instances/1.3.6.1.4.1.45096.2.296485376.2210.1633373143.864442", + "type": "Microsoft.HealthcareApis.DicomImageCreated", + "time": "2022-09-15T01:14:04.5613214Z", + "id": "d621839d-958b-4142-a638-bb966b4f7dfd", + "data": { + "partitionName": "Microsoft.Default", + "imageStudyInstanceUid": "1.2.3.4.3", + "imageSeriesInstanceUid": "1.2.3.4.3.9423673", + "imageSopInstanceUid": "1.3.6.1.4.1.45096.2.296485376.2210.1633373143.864442", + "serviceHostName": "{dicom-account}.dicom.azurehealthcareapis.com", + "sequenceNumber": 1 + }, + "specversion": "1.0", + "operationId": "DicomImageCreatedEventName", + "title": "DicomImageCreated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/dicom_image_deleted.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/dicom_image_deleted.json new file mode 100644 index 000000000000..aae916c2f6a1 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/dicom_image_deleted.json @@ -0,0 +1,18 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.HealthcareApis/workspaces/{workspace-name}", + "subject": "{dicom-account}.dicom.azurehealthcareapis.com/v1/partitions/Microsoft.Default/studies/1.2.3.4.3/series/1.2.3.4.3.9423673/instances/1.3.6.1.4.1.45096.2.296485376.2210.1633373143.864442", + "type": "Microsoft.HealthcareApis.DicomImageDeleted", + "time": "2022-09-15T01:14:04.5613214Z", + "id": "eac1c1a0-ffa8-4b28-97cc-1d8b9a0a6021", + "data": { + "partitionName": "Microsoft.Default", + "imageStudyInstanceUid": "1.2.3.4.3", + "imageSeriesInstanceUid": "1.2.3.4.3.9423673", + "imageSopInstanceUid": "1.3.6.1.4.1.45096.2.296485376.2210.1633373143.864442", + "serviceHostName": "{dicom-account}.dicom.azurehealthcareapis.com", + "sequenceNumber": 2 + }, + "specversion": "1.0", + "operationId": "DicomImageDeletedEventName", + "title": "DicomImageDeleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/dicom_image_updated.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/dicom_image_updated.json new file mode 100644 index 000000000000..930c742cdd5a --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/dicom_image_updated.json @@ -0,0 +1,18 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/Microsoft.HealthcareApis/workspaces/{workspace-name}", + "subject": "{dicom-account}.dicom.azurehealthcareapis.com/v1/partitions/Microsoft.Default/studies/1.2.3.4.3/series/1.2.3.4.3.9423673/instances/1.3.6.1.4.1.45096.2.296485376.2210.1633373143.864442", + "type": "Microsoft.HealthcareApis.DicomImageUpdated", + "time": "2022-09-15T01:14:04.5613214Z", + "id": "7e8aca04-e815-4387-82a8-9fcf15a3114b", + "data": { + "partitionName": "Microsoft.Default", + "imageStudyInstanceUid": "1.2.3.4.3", + "imageSeriesInstanceUid": "1.2.3.4.3.9423673", + "imageSopInstanceUid": "1.3.6.1.4.1.45096.2.296485376.2210.1633373143.864442", + "serviceHostName": "{dicom-account}.dicom.azurehealthcareapis.com", + "sequenceNumber": 1 + }, + "specversion": "1.0", + "operationId": "DicomImageUpdatedEventName", + "title": "DicomImageUpdated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/directory_created.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/directory_created.json new file mode 100644 index 000000000000..13490d6b14ff --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/directory_created.json @@ -0,0 +1,33 @@ +{ + "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", + "operationId": "DirectoryCreatedEventName", + "title": "DirectoryCreated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/directory_deleted.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/directory_deleted.json new file mode 100644 index 000000000000..773dc9815252 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/directory_deleted.json @@ -0,0 +1,21 @@ +{ + "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", + "operationId": "DirectoryDeletedEventName", + "title": "DirectoryDeleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/directory_renamed.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/directory_renamed.json new file mode 100644 index 000000000000..bb6cdab85b2a --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/directory_renamed.json @@ -0,0 +1,22 @@ +{ + "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", + "operationId": "DirectoryRenamedEventName", + "title": "DirectoryRenamed" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/email_delivery_report_received.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/email_delivery_report_received.json new file mode 100644 index 000000000000..51dddcbc6d56 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/email_delivery_report_received.json @@ -0,0 +1,17 @@ +{ + "id": "5f04f77c-2a6a-43bd-9b74-576a64c01f9e", + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "sender/test2@contoso.org/message/950850f5-bcdf-4315-b77a-6447cf56fac9", + "data": { + "sender": "test2@contoso.org", + "recipient": "test1@contoso.com", + "messageId": "950850f5-bcdf-4315-b77a-6447cf56fac9", + "status": "delivered", + "deliveryAttemptTimestamp": "2023-02-09T19:46:12.2480265+00:00" + }, + "type": "Microsoft.Communication.EmailDeliveryReportReceived", + "time": "2023-02-09T19:46:12.2478002Z", + "specversion": "1.0", + "operationId": "EmailDeliveryReportReceivedEventName", + "title": "EmailDeliveryReportReceived" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/email_engagement_tracking_report_received.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/email_engagement_tracking_report_received.json new file mode 100644 index 000000000000..f45a02148908 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/email_engagement_tracking_report_received.json @@ -0,0 +1,18 @@ +{ + "id": "b69d6528-f09f-4ba7-93f9-dab8baf98d0e", + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "sender/test2@contoso.org/message/fe26a737-6941-410c-b126-7eacbe4035d1", + "data": { + "sender": "test2@contoso.org", + "messageId": "fe26a737-6941-410c-b126-7eacbe4035d1", + "userActionTimestamp": "2023-02-09T20:07:22.745555+00:00", + "engagementContext": "www.example.com", + "userAgent": "Desktop", + "engagementType": "click" + }, + "type": "Microsoft.Communication.EmailEngagementTrackingReportReceived", + "time": "2023-02-09T20:07:22.7453611Z", + "specversion": "1.0", + "operationId": "EmailEngagementTrackingReportReceivedEventName", + "title": "EmailEngagementTrackingReportReceived" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/export_rdb_completed.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/export_rdb_completed.json new file mode 100644 index 000000000000..0a9a8071c3ed --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/export_rdb_completed.json @@ -0,0 +1,15 @@ +{ + "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", + "operationId": "ExportRDBCompletedEventName", + "title": "ExportRDBCompleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/fhir_resource_created.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/fhir_resource_created.json new file mode 100644 index 000000000000..a1510809bc92 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/fhir_resource_created.json @@ -0,0 +1,16 @@ +{ + "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", + "operationId": "FhirResourceCreatedEventName", + "title": "FhirResourceCreated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/fhir_resource_deleted.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/fhir_resource_deleted.json new file mode 100644 index 000000000000..9fbe50d21eee --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/fhir_resource_deleted.json @@ -0,0 +1,16 @@ +{ + "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", + "operationId": "FhirResourceDeletedEventName", + "title": "FhirResourceDeleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/fhir_resource_updated.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/fhir_resource_updated.json new file mode 100644 index 000000000000..29b409b82e27 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/fhir_resource_updated.json @@ -0,0 +1,16 @@ +{ + "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", + "operationId": "FhirResourceUpdatedEventName", + "title": "FhirResourceUpdated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayApiAdded.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayApiAdded.json new file mode 100644 index 000000000000..5cb4419dc19d --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayApiAdded.json @@ -0,0 +1,13 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", + "subject": "/gateways/{gateway-name}/apis/example-api", + "type": "Microsoft.ApiManagement.GatewayAPIAdded", + "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}/gateways/{gateway-name}/apis/example-api" + }, + "specVersion": "1.0", + "operationId": "GatewayAPIAddedEventName", + "title": "GatewayAPIAdded" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayApiRemoved.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayApiRemoved.json new file mode 100644 index 000000000000..f8680f8d2569 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayApiRemoved.json @@ -0,0 +1,13 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", + "subject": "/gateways/{gateway-name}/apis/example-api", + "type": "Microsoft.ApiManagement.GatewayAPIRemoved", + "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}/gateways/{gateway-name}/apis/example-api" + }, + "specVersion": "1.0", + "operationId": "GatewayAPIRemovedEventName", + "title": "GatewayAPIRemoved" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayCertificateAuthorityCreated.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayCertificateAuthorityCreated.json new file mode 100644 index 000000000000..79c80577a672 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayCertificateAuthorityCreated.json @@ -0,0 +1,13 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", + "subject": "/gateways/{gateway-name}/certificateAuthorities/example-ca", + "type": "Microsoft.ApiManagement.GatewayCertificateAuthorityCreated", + "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}/gateways/{gateway-name}/certificateAuthorities/example-ca" + }, + "specVersion": "1.0", + "operationId": "GatewayCertificateAuthorityCreatedEventName", + "title": "GatewayCertificateAuthorityCreated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayCertificateAuthorityDeleted.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayCertificateAuthorityDeleted.json new file mode 100644 index 000000000000..51e0f8b76620 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayCertificateAuthorityDeleted.json @@ -0,0 +1,13 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", + "subject": "/gateways/{gateway-name}/certificateAuthorities/example-ca", + "type": "Microsoft.ApiManagement.GatewayCertificateAuthorityDeleted", + "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}/gateways/{gateway-name}/certificateAuthorities/example-ca" + }, + "specVersion": "1.0", + "operationId": "GatewayCertificateAuthorityDeletedEventName", + "title": "GatewayCertificateAuthorityDeleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayCertificateAuthorityUpdated.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayCertificateAuthorityUpdated.json new file mode 100644 index 000000000000..8e8f17e5c36a --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayCertificateAuthorityUpdated.json @@ -0,0 +1,13 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", + "subject": "/gateways/{gateway-name}/certificateAuthorities/example-ca", + "type": "Microsoft.ApiManagement.GatewayCertificateAuthorityUpdated", + "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}/gateways/{gateway-name}/certificateAuthorities/example-ca" + }, + "specVersion": "1.0", + "operationId": "GatewayCertificateAuthorityUpdatedEventName", + "title": "GatewayCertificateAuthorityUpdated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayCreated.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayCreated.json new file mode 100644 index 000000000000..5d5a7d9665b1 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayCreated.json @@ -0,0 +1,13 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", + "subject": "/gateways/{gateway-name}", + "type": "Microsoft.ApiManagement.GatewayCreated", + "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}/gateways/{gateway-name}" + }, + "specVersion": "1.0", + "operationId": "GatewayCreatedEventName", + "title": "GatewayCreated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayDeleted.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayDeleted.json new file mode 100644 index 000000000000..3571b41d4b5e --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayDeleted.json @@ -0,0 +1,13 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", + "subject": "/gateways/{gateway-name}", + "type": "Microsoft.ApiManagement.GatewayDeleted", + "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}/gateways/{gateway-name}" + }, + "specVersion": "1.0", + "operationId": "GatewayDeletedEventName", + "title": "GatewayDeleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayHostnameConfigurationCreated.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayHostnameConfigurationCreated.json new file mode 100644 index 000000000000..6402ccd04430 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayHostnameConfigurationCreated.json @@ -0,0 +1,13 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", + "subject": "/gateways/{gateway-name}/hostnameConfigurations/example-hostname", + "type": "Microsoft.ApiManagement.GatewayHostnameConfigurationCreated", + "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}/gateways/{gateway-name}/hostnameConfigurations/example-hostname" + }, + "specVersion": "1.0", + "operationId": "GatewayHostnameConfigurationCreatedEventName", + "title": "GatewayHostnameConfigurationCreated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayHostnameConfigurationDeleted.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayHostnameConfigurationDeleted.json new file mode 100644 index 000000000000..4ab4a6e31091 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayHostnameConfigurationDeleted.json @@ -0,0 +1,13 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", + "subject": "/gateways/{gateway-name}/hostnameConfigurations/example-hostname", + "type": "Microsoft.ApiManagement.GatewayHostnameConfigurationDeleted", + "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}/gateways/{gateway-name}/hostnameConfigurations/example-hostname" + }, + "specVersion": "1.0", + "operationId": "GatewayHostnameConfigurationDeletedEventName", + "title": "GatewayHostnameConfigurationDeleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayHostnameConfigurationUpdated.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayHostnameConfigurationUpdated.json new file mode 100644 index 000000000000..3280423d11f5 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayHostnameConfigurationUpdated.json @@ -0,0 +1,13 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", + "subject": "/gateways/{gateway-name}/hostnameConfigurations/example-hostname", + "type": "Microsoft.ApiManagement.GatewayHostnameConfigurationUpdated", + "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}/gateways/{gateway-name}/hostnameConfigurations/example-hostname" + }, + "specVersion": "1.0", + "operationId": "GatewayHostnameConfigurationUpdatedEventName", + "title": "GatewayHostnameConfigurationUpdated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayUpdated.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayUpdated.json new file mode 100644 index 000000000000..417deb41bbbe --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/gatewayUpdated.json @@ -0,0 +1,13 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.ApiManagement/service/{your-APIM-instance}", + "subject": "/gateways/{gateway-name}", + "type": "Microsoft.ApiManagement.GatewayUpdated", + "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}/gateways/{gateway-name}" + }, + "specVersion": "1.0", + "operationId": "GatewayUpdatedEventName", + "title": "GatewayUpdated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/geofence_entered.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/geofence_entered.json new file mode 100644 index 000000000000..0b9b6c545b11 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/geofence_entered.json @@ -0,0 +1,24 @@ +{ + "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", + "operationId": "GeofenceEnteredEventName", + "title": "GeofenceEntered" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/geofence_result.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/geofence_result.json new file mode 100644 index 000000000000..ec9d47e66e3e --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/geofence_result.json @@ -0,0 +1,32 @@ +{ + "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", + "operationId": "GeofenceResultEventName", + "title": "GeofenceResult" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/image_deleted.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/image_deleted.json new file mode 100644 index 000000000000..0402aca558e8 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/image_deleted.json @@ -0,0 +1,30 @@ +{ + "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", + "operationId": "ImageDeletedEventName", + "title": "ImageDeleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/image_pushed.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/image_pushed.json new file mode 100644 index 000000000000..9a6cf78d1b6a --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/image_pushed.json @@ -0,0 +1,33 @@ +{ + "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", + "operationId": "ImagePushedEventName", + "title": "ImagePushed" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/import_rdb_completed.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/import_rdb_completed.json new file mode 100644 index 000000000000..e28f13db55cb --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/import_rdb_completed.json @@ -0,0 +1,15 @@ +{ + "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", + "operationId": "ImportRDBCompletedEventName", + "title": "ImportRDBCompleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/incoming_call.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/incoming_call.json new file mode 100644 index 000000000000..69f72411a38d --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/incoming_call.json @@ -0,0 +1,40 @@ +{ + "id": "e80026e7-e298-46ba-bc42-dab0eda92581", + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "/caller/{caller-id}/recipient/{recipient-id}", + "data": { + "to": { + "kind": "communicationUser", + "rawId": "{recipient-id}", + "communicationUser": { + "id": "{recipient-id}" + } + }, + "from": { + "kind": "communicationUser", + "rawId": "{caller-id}", + "communicationUser": { + "id": "{caller-id}" + } + }, + "serverCallId": "{server-call-id}", + "callerDisplayName": "VOIP Caller", + "customContext": { + "sipHeaders": { + "userToUser": "616d617a6f6e5f6368696;encoding=hex", + "X-MS-Custom-myheader1": "35567842", + "X-MS-Custom-myheader2": "customsipheadervalue" + }, + "voipHeaders": { + "customHeader": "customValue" + } + }, + "incomingCallContext": "{incoming-call-contextValue}", + "correlationId": "correlationId" + }, + "type": "Microsoft.Communication.IncomingCall", + "specversion": "1.0", + "time": "2023-04-04T17:18:42.5542219Z", + "operationId": "IncomingCallEventName", + "title": "IncomingCall" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/keyvalue_deleted.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/keyvalue_deleted.json new file mode 100644 index 000000000000..b2316852bb7c --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/keyvalue_deleted.json @@ -0,0 +1,16 @@ +{ + "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", + "operationId": "KeyValueDeletedEventName", + "title": "KeyValueDeleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/keyvalue_modified.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/keyvalue_modified.json new file mode 100644 index 000000000000..a71f576b04f2 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/keyvalue_modified.json @@ -0,0 +1,16 @@ +{ + "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", + "operationId": "KeyValueModifiedEventName", + "title": "KeyValueModified" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/model_deployed.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/model_deployed.json new file mode 100644 index 000000000000..b79d8910fffb --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/model_deployed.json @@ -0,0 +1,22 @@ +{ + "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", + "operationId": "ModelDeployedEventName", + "title": "ModelDeployed" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/model_registered.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/model_registered.json new file mode 100644 index 000000000000..b5304d632c95 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/model_registered.json @@ -0,0 +1,21 @@ +{ + "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", + "operationId": "ModelRegisteredEventName", + "title": "ModelRegistered" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/new_kubernetes_version_available.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/new_kubernetes_version_available.json new file mode 100644 index 000000000000..e6ad56a9c30d --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/new_kubernetes_version_available.json @@ -0,0 +1,16 @@ +{ + "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", + "operationId": "NewKubernetesVersionAvailableEventName", + "title": "NewKubernetesVersionAvailable" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/node_pool_rolling_failed.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/node_pool_rolling_failed.json new file mode 100644 index 000000000000..ac6019f4d081 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/node_pool_rolling_failed.json @@ -0,0 +1,13 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.ContainerService/managedClusters/{cluster}", + "subject": "{cluster}", + "type": "Microsoft.ContainerService.NodePoolRollingFailed", + "time": "2023-03-29T18:00:00.0000000Z", + "id": "1234567890abcdef1234567890abcdef12345678", + "data": { + "nodePoolName": "nodepool1" + }, + "specversion": "1.0", + "operationId": "NodePoolRollingFailedEventName", + "title": "NodePoolRollingFailed" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/node_pool_rolling_started.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/node_pool_rolling_started.json new file mode 100644 index 000000000000..d431d547baf0 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/node_pool_rolling_started.json @@ -0,0 +1,13 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.ContainerService/managedClusters/{cluster}", + "subject": "{cluster}", + "type": "Microsoft.ContainerService.NodePoolRollingStarted", + "time": "2023-03-29T18:00:00.0000000Z", + "id": "1234567890abcdef1234567890abcdef12345678", + "data": { + "nodePoolName": "nodepool1" + }, + "specversion": "1.0", + "operationId": "NodePoolRollingStartedEventName", + "title": "NodePoolRollingStarted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/node_pool_rolling_succeeded.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/node_pool_rolling_succeeded.json new file mode 100644 index 000000000000..c996b132e7f7 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/node_pool_rolling_succeeded.json @@ -0,0 +1,13 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.ContainerService/managedClusters/{cluster}", + "subject": "{cluster}", + "type": "Microsoft.ContainerService.NodePoolRollingSucceeded", + "time": "2023-03-29T18:00:00.0000000Z", + "id": "1234567890abcdef1234567890abcdef12345678", + "data": { + "nodePoolName": "nodepool1" + }, + "specversion": "1.0", + "operationId": "NodePoolRollingSucceededEventName", + "title": "NodePoolRollingSucceeded" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/order_completed.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/order_completed.json new file mode 100644 index 000000000000..1d1ae403a15c --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/order_completed.json @@ -0,0 +1,15 @@ +{ + "source": "/subscriptions/{subscription-id}/resourceGroups/{your-rg}/providers/Microsoft.DataBox/jobs/{your-resource}", + "subject": "/jobs/{your-resource}", + "type": "Microsoft.DataBox.OrderCompleted", + "time": "2022-10-16T02:51:26.4248221Z", + "id": "5eb07c79-39a8-439c-bb4b-bde1f6267c37", + "data": { + "serialNumber": "SampleSerialNumber", + "stageName": "OrderCompleted", + "stageTime": "2022-10-12T19:38:08.0218897Z" + }, + "specVersion": "1.0", + "operationId": "OrderCompletedEventName", + "title": "OrderCompleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/patching_completed.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/patching_completed.json new file mode 100644 index 000000000000..1c5adbcd4023 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/patching_completed.json @@ -0,0 +1,15 @@ +{ + "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", + "operationId": "PatchingCompletedEventName", + "title": "PatchingCompleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/policy_state_changed.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/policy_state_changed.json new file mode 100644 index 000000000000..2a0d19b5c64e --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/policy_state_changed.json @@ -0,0 +1,19 @@ +{ + "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", + "operationId": "PolicyStateChangedEventName", + "title": "PolicyStateChanged" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/policy_state_created.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/policy_state_created.json new file mode 100644 index 000000000000..eb01cd2e5e9a --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/policy_state_created.json @@ -0,0 +1,19 @@ +{ + "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", + "operationId": "PolicyStateCreatedEventName", + "title": "PolicyStateCreated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/privatecloud_updating.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/privatecloud_updating.json new file mode 100644 index 000000000000..3ce4d1955d73 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/privatecloud_updating.json @@ -0,0 +1,13 @@ +{ + "source": "/subscriptions/{subscription_id}/resourceGroups/{resource_group_name}/providers/Microsoft.AVS/privateClouds/{sddc_name}", + "subject": "", + "type": "Microsoft.AVS.PrivateCloudUpdating", + "time": "2023-12-09T16:50:19.9995668-05:00", + "id": "9b87886d-21a5-4af5-8e3e-10c4b8dac73b", + "data": { + "operationId": "6dcd7db8-0679-40d9-bb8a-6f2a684395e2" + }, + "specVersion": "1.0", + "operationId": "PrivateCloudUpdatingEventName", + "title": "PrivateCloudUpdating" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/productCreated.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/productCreated.json new file mode 100644 index 000000000000..661741d0f8d7 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/productCreated.json @@ -0,0 +1,13 @@ +{ + "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", + "operationId": "ProductCreatedEventName", + "title": "ProductCreated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/productDeleted.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/productDeleted.json new file mode 100644 index 000000000000..b7effe511a06 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/productDeleted.json @@ -0,0 +1,13 @@ +{ + "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", + "operationId": "ProductDeletedEventName", + "title": "ProductDeleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/productUpdated.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/productUpdated.json new file mode 100644 index 000000000000..fc2e409923fa --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/productUpdated.json @@ -0,0 +1,13 @@ +{ + "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", + "operationId": "ProductUpdatedEventName", + "title": "ProductUpdated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/recording_file_status_updated.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/recording_file_status_updated.json new file mode 100644 index 000000000000..a37721664ed0 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/recording_file_status_updated.json @@ -0,0 +1,30 @@ +{ + "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", + "operationId": "RecordingFileStatusUpdatedEventName", + "title": "RecordingFileStatusUpdated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/resource_action_cancel.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/resource_action_cancel.json new file mode 100644 index 000000000000..b5d7471041c2 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/resource_action_cancel.json @@ -0,0 +1,53 @@ +{ + "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", + "operationId": "ResourceActionCancelEventName", + "title": "ResourceActionCancel" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/resource_action_failure.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/resource_action_failure.json new file mode 100644 index 000000000000..b95a170941f2 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/resource_action_failure.json @@ -0,0 +1,53 @@ +{ + "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", + "operationId": "ResourceActionFailureEventName", + "title": "ResourceActionFailure" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/resource_action_success.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/resource_action_success.json new file mode 100644 index 000000000000..ac29d4e24ecc --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/resource_action_success.json @@ -0,0 +1,53 @@ +{ + "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", + "operationId": "ResourceActionSuccessEventName", + "title": "ResourceActionSuccess" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/resource_delete_cancel.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/resource_delete_cancel.json new file mode 100644 index 000000000000..beddce02b92a --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/resource_delete_cancel.json @@ -0,0 +1,62 @@ +{ + "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", + "operationId": "ResourceDeleteCancelEventName", + "title": "ResourceDeleteCancel" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/resource_delete_failure.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/resource_delete_failure.json new file mode 100644 index 000000000000..c5aeb788f2ef --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/resource_delete_failure.json @@ -0,0 +1,62 @@ +{ + "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", + "operationId": "ResourceDeleteFailureEventName", + "title": "ResourceDeleteFailure" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/resource_delete_success.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/resource_delete_success.json new file mode 100644 index 000000000000..8c04aaee1f61 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/resource_delete_success.json @@ -0,0 +1,62 @@ +{ + "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", + "operationId": "ResourceDeleteSuccessEventName", + "title": "ResourceDeleteSuccess" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/resource_write_cancel.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/resource_write_cancel.json new file mode 100644 index 000000000000..c12b1f3a7d98 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/resource_write_cancel.json @@ -0,0 +1,56 @@ +{ + "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", + "operationId": "ResourceWriteCancelEventName", + "title": "ResourceWriteCancel" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/resource_write_failure.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/resource_write_failure.json new file mode 100644 index 000000000000..66b05899e504 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/resource_write_failure.json @@ -0,0 +1,56 @@ +{ + "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", + "operationId": "ResourceWriteFailureEventName", + "title": "ResourceWriteFailure" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/resource_write_success.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/resource_write_success.json new file mode 100644 index 000000000000..5ecbe61f96b9 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/resource_write_success.json @@ -0,0 +1,56 @@ +{ + "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", + "operationId": "ResourceWriteSuccessEventName", + "title": "ResourceWriteSuccess" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/restore_operation_completed.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/restore_operation_completed.json new file mode 100644 index 000000000000..980acdf79875 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/restore_operation_completed.json @@ -0,0 +1,21 @@ +{ + "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", + "operationId": "RestoreOperationCompletedEventName", + "title": "RestoreOperationCompleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/restore_operation_failed.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/restore_operation_failed.json new file mode 100644 index 000000000000..e01074905f50 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/restore_operation_failed.json @@ -0,0 +1,21 @@ +{ + "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", + "operationId": "RestoreOperationFailedEventName", + "title": "RestoreOperationFailed" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/restore_operation_started.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/restore_operation_started.json new file mode 100644 index 000000000000..429ad94c741b --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/restore_operation_started.json @@ -0,0 +1,21 @@ +{ + "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", + "operationId": "RestoreOperationStartedEventName", + "title": "RestoreOperationStarted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_cancelled.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_cancelled.json new file mode 100644 index 000000000000..93b14c8b3207 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_cancelled.json @@ -0,0 +1,28 @@ +{ + "id": "b6d8687a-5a1a-42ae-b8b5-ff7ec338c872", + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "job/{job-id}/channel/{channel-id}/disposition/{disposition-code}", + "data": { + "note": "Cancelled due to ", + "dispositionCode": "100", + "jobId": "7f1df17b-570b-4ae5-9cf5-fe6ff64cc712", + "channelReference": "test-abc", + "channelId": "FooVoiceChannelId", + "labels": { + "Locale": "en-us", + "Segment": "Enterprise", + "Token": "FooToken" + }, + "tags": { + "Locale": "en-us", + "Segment": "Enterprise", + "Token": "FooToken" + }, + "queueId": "" + }, + "type": "Microsoft.Communication.RouterJobCancelled", + "specVersion": "1.0", + "time": "2022-02-17T00:55:25.1736293Z", + "operationId": "RouterJobCancelledEventName", + "title": "RouterJobCancelled" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_classification_failed.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_classification_failed.json new file mode 100644 index 000000000000..86ad7627c4cf --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_classification_failed.json @@ -0,0 +1,35 @@ +{ + "id": "b6d8687a-5a1a-42ae-b8b5-ff7ec338c872", + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "job/{job-id}/channel/{channel-id}/classificationpolicy/{classificationpolicy-id}", + "data": { + "errors": [ + { + "code": null, + "message": "Classification failed due to ", + "target": null, + "innererror": null, + "details": null + } + ], + "jobId": "7f1df17b-570b-4ae5-9cf5-fe6ff64cc712", + "channelReference": "test-abc", + "channelId": "FooVoiceChannelId", + "classificationPolicyId": "test-policy", + "labels": { + "Locale": "en-us", + "Segment": "Enterprise", + "Token": "FooToken" + }, + "tags": { + "Locale": "en-us", + "Segment": "Enterprise", + "Token": "FooToken" + } + }, + "type": "Microsoft.Communication.RouterJobClassificationFailed", + "specVersion": "1.0", + "time": "2022-02-17T00:55:25.1736293Z", + "operationId": "RouterJobClassificationFailedEventName", + "title": "RouterJobClassificationFailed" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_classified.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_classified.json new file mode 100644 index 000000000000..d4cb0076a8ea --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_classified.json @@ -0,0 +1,45 @@ +{ + "id": "b6d8687a-5a1a-42ae-b8b5-ff7ec338c872", + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "job/{job-id}/channel/{channel-id}/queue/{queue-id}", + "data": { + "queueDetails": { + "id": "625fec06-ab81-4e60-b780-f364ed96ade1", + "name": "Queue 1", + "labels": { + "Language": "en", + "Product": "Office", + "Geo": "NA" + } + }, + "jobId": "7f1df17b-570b-4ae5-9cf5-fe6ff64cc712", + "channelReference": "test-abc", + "channelId": "FooVoiceChannelId", + "classificationPolicyId": "test-policy", + "queueId": "625fec06-ab81-4e60-b780-f364ed96ade1", + "priority": 5, + "labels": { + "Locale": "en-us", + "Segment": "Enterprise", + "Token": "FooToken" + }, + "tags": { + "Locale": "en-us", + "Segment": "Enterprise", + "Token": "FooToken" + }, + "attachedWorkerSelectors": [ + { + "key": "string", + "labelOperator": "equal", + "value": 5, + "ttlSeconds": "36" + } + ] + }, + "type": "Microsoft.Communication.RouterJobClassified", + "specVersion": "1.0", + "time": "2022-02-17T00:55:25.1736293Z", + "operationId": "RouterJobClassifiedEventName", + "title": "RouterJobClassified" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_closed.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_closed.json new file mode 100644 index 000000000000..13d2847c8420 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_closed.json @@ -0,0 +1,29 @@ +{ + "id": "b6d8687a-5a1a-42ae-b8b5-ff7ec338c872", + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "job/{job-id}/channel/{channel-id}/assignment/{assignment-id}", + "data": { + "jobId": "7f1df17b-570b-4ae5-9cf5-fe6ff64cc712", + "channelReference": "test-abc", + "channelId": "FooVoiceChannelId", + "queueId": "", + "dispositionCode": "", + "workerId": "", + "assignmentId": "", + "labels": { + "Locale": "en-us", + "Segment": "Enterprise", + "Token": "FooToken" + }, + "tags": { + "Locale": "en-us", + "Segment": "Enterprise", + "Token": "FooToken" + } + }, + "type": "Microsoft.Communication.RouterJobClosed", + "specVersion": "1.0", + "time": "2022-02-17T00:55:25.1736293Z", + "operationId": "RouterJobClosedEventName", + "title": "RouterJobClosed" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_completed.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_completed.json new file mode 100644 index 000000000000..486dfcd80ab8 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_completed.json @@ -0,0 +1,28 @@ +{ + "id": "b6d8687a-5a1a-42ae-b8b5-ff7ec338c872", + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "job/{job-id}/channel/{channel-id}/assignment/{assignment-id}", + "data": { + "jobId": "7f1df17b-570b-4ae5-9cf5-fe6ff64cc712", + "channelReference": "test-abc", + "channelId": "FooVoiceChannelId", + "queueId": "queue-id", + "assignmentId": "6f1df17b-570b-4ae5-9cf5-fe6ff64cc712", + "labels": { + "Locale": "en-us", + "Segment": "Enterprise", + "Token": "FooToken" + }, + "tags": { + "Locale": "en-us", + "Segment": "Enterprise", + "Token": "FooToken" + }, + "workerId": "" + }, + "type": "Microsoft.Communication.RouterJobCompleted", + "specVersion": "1.0", + "time": "2022-02-17T00:55:25.1736293Z", + "operationId": "RouterJobCompletedEventName", + "title": "RouterJobCompleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_deleted.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_deleted.json new file mode 100644 index 000000000000..ac06929c5d2c --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_deleted.json @@ -0,0 +1,26 @@ +{ + "id": "acdf8fa5-8ab4-4a65-874a-c1d2a4a97f2e", + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "job/{job-id}/channel/{channel-id}", + "data": { + "jobId": "7f1df17b-570b-4ae5-9cf5-fe6ff64cc712", + "channelReference": "test-abc", + "channelId": "FooVoiceChannelId", + "labels": { + "Locale": "en-us", + "Segment": "Enterprise", + "Token": "FooToken" + }, + "tags": { + "Locale": "en-us", + "Segment": "Enterprise", + "Token": "FooToken" + }, + "queueId": "" + }, + "type": "Microsoft.Communication.RouterJobDeleted", + "specVersion": "1.0", + "time": "2022-02-17T00:55:25.1736293Z", + "operationId": "RouterJobDeletedEventName", + "title": "RouterJobDeleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_exception_triggered.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_exception_triggered.json new file mode 100644 index 000000000000..01ae25094c59 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_exception_triggered.json @@ -0,0 +1,27 @@ +{ + "id": "1027db4a-17fe-4a7f-ae67-276c3120a29f", + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "job/{job-id}/channel/{channel-id}/exceptionrule/{rulekey}", + "data": { + "ruleKey": "r100", + "exceptionRuleId": "7f1df17b-570b-4ae5-9cf5-fe6ff64cc712", + "jobId": "7f1df17b-570b-4ae5-9cf5-fe6ff64cc712", + "channelReference": "test-abc", + "channelId": "FooVoiceChannelId", + "labels": { + "Locale": "en-us", + "Segment": "Enterprise", + "Token": "FooToken" + }, + "tags": { + "Locale": "en-us", + "Segment": "Enterprise", + "Token": "FooToken" + } + }, + "type": "Microsoft.Communication.RouterJobExceptionTriggered", + "specVersion": "1.0", + "time": "2022-02-17T00:55:25.1736293Z", + "operationId": "RouterJobExceptionTriggeredEventName", + "title": "RouterJobExceptionTriggered" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_queued.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_queued.json new file mode 100644 index 000000000000..80737e723e13 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_queued.json @@ -0,0 +1,43 @@ +{ + "id": "b6d8687a-5a1a-42ae-b8b5-ff7ec338c872", + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "job/{job-id}/channel/{channel-id}/queue/{queue-id}", + "data": { + "jobId": "7f1df17b-570b-4ae5-9cf5-fe6ff64cc712", + "channelReference": "test-abc", + "channelId": "FooVoiceChannelId", + "queueId": "625fec06-ab81-4e60-b780-f364ed96ade1", + "priority": 1, + "labels": { + "Locale": "en-us", + "Segment": "Enterprise", + "Token": "FooToken" + }, + "tags": { + "Locale": "en-us", + "Segment": "Enterprise", + "Token": "FooToken" + }, + "requestedWorkerSelectors": [ + { + "key": "string", + "labelOperator": "equal", + "value": 5, + "ttl": "40" + } + ], + "attachedWorkerSelectors": [ + { + "key": "string", + "labelOperator": "equal", + "value": 5, + "ttlSeconds": "39" + } + ] + }, + "type": "Microsoft.Communication.RouterJobQueued", + "specVersion": "1.0", + "time": "2022-02-17T00:55:25.1736293Z", + "operationId": "RouterJobQueuedEventName", + "title": "RouterJobQueued" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_received.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_received.json new file mode 100644 index 000000000000..08f10751508f --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_received.json @@ -0,0 +1,39 @@ +{ + "id": "acdf8fa5-8ab4-4a65-874a-c1d2a4a97f2e", + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "job/{job-id}/channel/{channel-id}", + "data": { + "jobId": "7f1df17b-570b-4ae5-9cf5-fe6ff64cc712", + "channelReference": "test-abc", + "jobStatus": "PendingClassification", + "channelId": "FooVoiceChannelId", + "classificationPolicyId": "test-policy", + "queueId": "queue-id", + "priority": 0, + "labels": { + "Locale": "en-us", + "Segment": "Enterprise", + "Token": "FooToken" + }, + "tags": { + "Locale": "en-us", + "Segment": "Enterprise", + "Token": "FooToken" + }, + "requestedWorkerSelectors": [ + { + "key": "string", + "labelOperator": "equal", + "value": 5, + "ttlSeconds": "36" + } + ], + "scheduledOn": "3/28/2007 7:13:50 PM +00:00", + "unavailableForMatching": false + }, + "type": "Microsoft.Communication.RouterJobReceived", + "specVersion": "1.0", + "time": "2022-02-17T00:55:25.1736293Z", + "operationId": "RouterJobReceivedEventName", + "title": "RouterJobReceived" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_scheduling_failed.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_scheduling_failed.json new file mode 100644 index 000000000000..c44c5b556053 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_scheduling_failed.json @@ -0,0 +1,45 @@ +{ + "id": "acdf8fa5-8ab4-4a65-874a-c1d2a4a97f2e", + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "job/{job-id}/channel/{channel-id}", + "data": { + "jobId": "7f1df17b-570b-4ae5-9cf5-fe6ff64cc712", + "channelId": "FooVoiceChannelId", + "channelReference": "test-abc", + "queueId": "queue-id", + "priority": 1, + "labels": { + "Locale": "en-us", + "Segment": "Enterprise", + "Token": "FooToken" + }, + "tags": { + "Locale": "en-us", + "Segment": "Enterprise", + "Token": "FooToken" + }, + "requestedWorkerSelectors": [ + { + "key": "string", + "labelOperator": "equal", + "value": 5, + "ttlSeconds": "36" + } + ], + "attachedWorkerSelectors": [ + { + "key": "string", + "labelOperator": "equal", + "value": 5, + "ttlSeconds": "30" + } + ], + "scheduledOn": "2022-02-17T00:55:25.1736293Z", + "failureReason": "Expired Job" + }, + "type": "Microsoft.Communication.RouterJobSchedulingFailed", + "specVersion": "1.0", + "time": "2022-02-17T00:55:25.1736293Z", + "operationId": "RouterJobSchedulingFailedEventName", + "title": "RouterJobSchedulingFailed" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_unassigned.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_unassigned.json new file mode 100644 index 000000000000..4b383aed40fb --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_unassigned.json @@ -0,0 +1,28 @@ +{ + "id": "acdf8fa5-8ab4-4a65-874a-c1d2a4a97f2e", + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "job/{job-id}/channel/{channel-id}/assignment/{assignment-id}", + "data": { + "jobId": "7f1df17b-570b-4ae5-9cf5-fe6ff64cc712", + "assignmentId": "", + "workerId": "", + "channelId": "FooVoiceChannelId", + "channelReference": "test-abc", + "queueId": "queue-id", + "labels": { + "Locale": "en-us", + "Segment": "Enterprise", + "Token": "FooToken" + }, + "tags": { + "Locale": "en-us", + "Segment": "Enterprise", + "Token": "FooToken" + } + }, + "type": "Microsoft.Communication.RouterJobUnassigned", + "specVersion": "1.0", + "time": "2022-02-17T00:55:25.1736293Z", + "operationId": "RouterJobUnassignedEventName", + "title": "RouterJobUnassigned" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_waiting_for_activation.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_waiting_for_activation.json new file mode 100644 index 000000000000..f86ae7a78d93 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_waiting_for_activation.json @@ -0,0 +1,45 @@ +{ + "id": "acdf8fa5-8ab4-4a65-874a-c1d2a4a97f2e", + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "job/{job-id}/channel/{channel-id}", + "data": { + "jobId": "7f1df17b-570b-4ae5-9cf5-fe6ff64cc712", + "channelId": "FooVoiceChannelId", + "channelReference": "test-abc", + "queueId": "queue-id", + "priority": 1, + "labels": { + "Locale": "en-us", + "Segment": "Enterprise", + "Token": "FooToken" + }, + "tags": { + "Locale": "en-us", + "Segment": "Enterprise", + "Token": "FooToken" + }, + "requestedWorkerSelectors": [ + { + "key": "string", + "labelOperator": "equal", + "value": 5, + "ttlSeconds": "45" + } + ], + "attachedWorkerSelectors": [ + { + "key": "string", + "labelOperator": "equal", + "value": 5, + "ttlSeconds": "32" + } + ], + "scheduledOn": "2022-02-17T00:55:25.1736293Z", + "unavailableForMatching": false + }, + "type": "Microsoft.Communication.RouterJobWaitingForActivation", + "specVersion": "1.0", + "time": "2022-02-17T00:55:25.1736293Z", + "operationId": "RouterJobWaitingForActivationEventName", + "title": "RouterJobWaitingForActivation" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_worker_selectors_expired.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_worker_selectors_expired.json new file mode 100644 index 000000000000..fe032e4a9ffd --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_job_worker_selectors_expired.json @@ -0,0 +1,42 @@ +{ + "id": "b6d8687a-5a1a-42ae-b8b5-ff7ec338c872", + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "job/{job-id}/channel/{channel-id}/queue/{queue-id}", + "data": { + "jobId": "7f1df17b-570b-4ae5-9cf5-fe6ff64cc712", + "channelReference": "test-abc", + "channelId": "FooVoiceChannelId", + "queueId": "625fec06-ab81-4e60-b780-f364ed96ade1", + "labels": { + "Locale": "en-us", + "Segment": "Enterprise", + "Token": "FooToken" + }, + "tags": { + "Locale": "en-us", + "Segment": "Enterprise", + "Token": "FooToken" + }, + "expiredRequestedWorkerSelectors": [ + { + "key": "string", + "labelOperator": "equal", + "value": 5, + "ttlSeconds": "30" + } + ], + "attachedWorkerSelectorsExpired": [ + { + "key": "string", + "labelOperator": "equal", + "value": 5, + "ttlSeconds": "35" + } + ] + }, + "type": "Microsoft.Communication.RouterJobWorkerSelectorsExpired", + "specVersion": "1.0", + "time": "2022-02-17T00:55:25.1736293Z", + "operationId": "RouterJobWorkerSelectorsExpiredEventName", + "title": "RouterJobWorkerSelectorsExpired" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_worker_deleted.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_worker_deleted.json new file mode 100644 index 000000000000..3f7dfce2c605 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_worker_deleted.json @@ -0,0 +1,13 @@ +{ + "id": "1027db4a-17fe-4a7f-ae67-276c3120a29f", + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "worker/{worker-id}", + "data": { + "workerId": "worker3" + }, + "type": "Microsoft.Communication.RouterWorkerDeleted", + "specVersion": "1.0", + "time": "2022-02-17T00:55:25.1736293Z", + "operationId": "RouterWorkerDeletedEventName", + "title": "RouterWorkerDeleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_worker_deregistered.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_worker_deregistered.json new file mode 100644 index 000000000000..44afa02c64c3 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_worker_deregistered.json @@ -0,0 +1,13 @@ +{ + "id": "1027db4a-17fe-4a7f-ae67-276c3120a29f", + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "worker/{worker-id}", + "data": { + "workerId": "worker3" + }, + "type": "Microsoft.Communication.RouterWorkerDeregistered", + "specVersion": "1.0", + "time": "2022-02-17T00:55:25.1736293Z", + "operationId": "RouterWorkerDeregisteredEventName", + "title": "RouterWorkerDeregistered" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_worker_offer_accepted.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_worker_offer_accepted.json new file mode 100644 index 000000000000..9cbb60effa64 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_worker_offer_accepted.json @@ -0,0 +1,30 @@ +{ + "id": "1027db4a-17fe-4a7f-ae67-276c3120a29f", + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "worker/{worker-id}/job/{job-id}", + "data": { + "workerId": "w100", + "jobId": "7f1df17b-570b-4ae5-9cf5-fe6ff64cc712", + "jobPriority": 5, + "jobLabels": { + "Locale": "en-us", + "Segment": "Enterprise", + "Token": "FooToken" + }, + "jobTags": { + "Locale": "en-us", + "Segment": "Enterprise", + "Token": "FooToken" + }, + "channelReference": "test-abc", + "channelId": "FooVoiceChannelId", + "queueId": "625fec06-ab81-4e60-b780-f364ed96ade1", + "offerId": "565fec06-ab81-4e60-b780-f364ed96ade1", + "assignmentId": "765fec06-ab81-4e60-b780-f364ed96ade1" + }, + "type": "Microsoft.Communication.RouterWorkerOfferAccepted", + "specVersion": "1.0", + "time": "2022-02-17T00:55:25.1736293Z", + "operationId": "RouterWorkerOfferAcceptedEventName", + "title": "RouterWorkerOfferAccepted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_worker_offer_declined.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_worker_offer_declined.json new file mode 100644 index 000000000000..6a9d6b48c30f --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_worker_offer_declined.json @@ -0,0 +1,18 @@ +{ + "id": "1027db4a-17fe-4a7f-ae67-276c3120a29f", + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "worker/{worker-id}/job/{job-id}", + "data": { + "workerId": "w100", + "jobId": "7f1df17b-570b-4ae5-9cf5-fe6ff64cc712", + "channelReference": "test-abc", + "channelId": "FooVoiceChannelId", + "queueId": "625fec06-ab81-4e60-b780-f364ed96ade1", + "offerId": "565fec06-ab81-4e60-b780-f364ed96ade1" + }, + "type": "Microsoft.Communication.RouterWorkerOfferDeclined", + "specVersion": "1.0", + "time": "2022-02-17T00:55:25.1736293Z", + "operationId": "RouterWorkerOfferDeclinedEventName", + "title": "RouterWorkerOfferDeclined" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_worker_offer_expired.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_worker_offer_expired.json new file mode 100644 index 000000000000..28cecc2790bb --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_worker_offer_expired.json @@ -0,0 +1,18 @@ +{ + "id": "1027db4a-17fe-4a7f-ae67-276c3120a29f", + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "worker/{worker-id}/job/{job-id}", + "data": { + "offerId": "565fec06-ab81-4e60-b780-f364ed96ade1", + "workerId": "w100", + "jobId": "7f1df17b-570b-4ae5-9cf5-fe6ff64cc712", + "channelReference": "test-abc", + "channelId": "FooVoiceChannelId", + "queueId": "625fec06-ab81-4e60-b780-f364ed96ade1" + }, + "type": "Microsoft.Communication.RouterWorkerOfferExpired", + "specVersion": "1.0", + "time": "2022-02-17T00:55:25.1736293Z", + "operationId": "RouterWorkerOfferExpiredEventName", + "title": "RouterWorkerOfferExpired" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_worker_offer_issued.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_worker_offer_issued.json new file mode 100644 index 000000000000..3cbc680d408e --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_worker_offer_issued.json @@ -0,0 +1,31 @@ +{ + "id": "1027db4a-17fe-4a7f-ae67-276c3120a29f", + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "worker/{worker-id}/job/{job-id}", + "data": { + "workerId": "w100", + "jobId": "7f1df17b-570b-4ae5-9cf5-fe6ff64cc712", + "channelReference": "test-abc", + "channelId": "FooVoiceChannelId", + "queueId": "625fec06-ab81-4e60-b780-f364ed96ade1", + "offerId": "525fec06-ab81-4e60-b780-f364ed96ade1", + "offeredOn": "2021-06-23T02:43:30.3847144Z", + "expiresOn": "2021-06-23T02:44:30.3847674Z", + "jobPriority": 5, + "jobLabels": { + "Locale": "en-us", + "Segment": "Enterprise", + "Token": "FooToken" + }, + "jobTags": { + "Locale": "en-us", + "Segment": "Enterprise", + "Token": "FooToken" + } + }, + "type": "Microsoft.Communication.RouterWorkerOfferIssued", + "specVersion": "1.0", + "time": "2022-02-17T00:55:25.1736293Z", + "operationId": "RouterWorkerOfferIssuedEventName", + "title": "RouterWorkerOfferIssued" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_worker_offer_revoked.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_worker_offer_revoked.json new file mode 100644 index 000000000000..de165805c103 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_worker_offer_revoked.json @@ -0,0 +1,18 @@ +{ + "id": "1027db4a-17fe-4a7f-ae67-276c3120a29f", + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "worker/{worker-id}/job/{job-id}", + "data": { + "offerId": "565fec06-ab81-4e60-b780-f364ed96ade1", + "workerId": "w100", + "jobId": "7f1df17b-570b-4ae5-9cf5-fe6ff64cc712", + "channelReference": "test-abc", + "channelId": "FooVoiceChannelId", + "queueId": "625fec06-ab81-4e60-b780-f364ed96ade1" + }, + "type": "Microsoft.Communication.RouterWorkerOfferRevoked", + "specVersion": "1.0", + "time": "2022-02-17T00:55:25.1736293Z", + "operationId": "RouterWorkerOfferRevokedEventName", + "title": "RouterWorkerOfferRevoked" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_worker_registered.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_worker_registered.json new file mode 100644 index 000000000000..34dddf8c2d26 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/router_worker_registered.json @@ -0,0 +1,41 @@ +{ + "id": "1027db4a-17fe-4a7f-ae67-276c3120a29f", + "source": "/subscriptions/{subscription-id}/resourceGroups/{group-name}/providers/Microsoft.Communication/communicationServices/{communication-services-resource-name}", + "subject": "worker/{worker-id}", + "data": { + "workerId": "worker3", + "totalCapacity": 100, + "queueAssignments": [ + { + "id": "MyQueueId2", + "name": "Queue 3", + "labels": { + "Language": "en", + "Product": "Office", + "Geo": "NA" + } + } + ], + "labels": { + "x": "111", + "y": "111" + }, + "channelConfigurations": [ + { + "channelId": "FooVoiceChannelId", + "capacityCostPerJob": 10 + } + ], + "tags": { + "Locale": "en-us", + "Segment": "Enterprise", + "Token": "FooToken" + }, + "maxNumberOfJobs": 5 + }, + "type": "Microsoft.Communication.RouterWorkerRegistered", + "specVersion": "1.0", + "time": "2022-02-17T00:55:25.1736293Z", + "operationId": "RouterWorkerRegisteredEventName", + "title": "RouterWorkerRegistered" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/run_completed.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/run_completed.json new file mode 100644 index 000000000000..9afb74b2e829 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/run_completed.json @@ -0,0 +1,32 @@ +{ + "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", + "operationId": "RunCompletedEventName", + "title": "RunCompleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/run_status_changed.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/run_status_changed.json new file mode 100644 index 000000000000..41124b425b1d --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/run_status_changed.json @@ -0,0 +1,33 @@ +{ + "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", + "operationId": "RunStatusChangedEventName", + "title": "RunStatusChanged" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/scaling_completed.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/scaling_completed.json new file mode 100644 index 000000000000..c007866eaa7d --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/scaling_completed.json @@ -0,0 +1,15 @@ +{ + "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", + "operationId": "ScalingCompletedEventName", + "title": "ScalingCompleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/script_execution_failed.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/script_execution_failed.json new file mode 100644 index 000000000000..21b716b08bc5 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/script_execution_failed.json @@ -0,0 +1,16 @@ +{ + "source": "/subscriptions/{subscription_id}/resourceGroups/{resource_group_name}/providers/Microsoft.AVS/privateClouds/{sddc_name}", + "subject": "/scriptExecutions/{execution_name}", + "type": "Microsoft.AVS.ScriptExecutionFailed", + "time": "2023-12-09T16:50:19.9995668-05:00", + "id": "9b87886d-21a5-4af5-8e3e-10c4b8dac73b", + "data": { + "operationId": "fe1cb595-71c8-47d7-b505-60d39a44d53d", + "failureMessage": "05/04/2023 03:15:40 Get-SpbmStoragePolicy SpbmStoragePolicy with name ' RAID-5 FTT-1' was not found using the specified filter(s).", + "cmdletId": "Microsoft.AVS.Management@5.3.70/Set-LocationStoragePolicy", + "output": [] + }, + "specVersion": "1.0", + "operationId": "ScriptExecutionFailedEventName", + "title": "ScriptExecutionFailed" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/secret_new_version_created.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/secret_new_version_created.json new file mode 100644 index 000000000000..6c5e1db34ea8 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/secret_new_version_created.json @@ -0,0 +1,19 @@ +{ + "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", + "operationId": "SecretNewVersionCreatedEventName", + "title": "SecretNewVersionCreated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/slot_swap_completed.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/slot_swap_completed.json new file mode 100644 index 000000000000..395c39773a09 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/slot_swap_completed.json @@ -0,0 +1,21 @@ +{ + "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", + "operationId": "SlotSwapCompletedEventName", + "title": "SlotSwapCompleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/slot_swap_failed.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/slot_swap_failed.json new file mode 100644 index 000000000000..4e76796eac0a --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/slot_swap_failed.json @@ -0,0 +1,21 @@ +{ + "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", + "operationId": "SlotSwapFailedEventName", + "title": "SlotSwapFailed" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/slot_swap_started.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/slot_swap_started.json new file mode 100644 index 000000000000..1c386ba0d793 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/slot_swap_started.json @@ -0,0 +1,21 @@ +{ + "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", + "operationId": "SlotSwapStartedEventName", + "title": "SlotSwapStarted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/slot_swap_with_preview_cancelled.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/slot_swap_with_preview_cancelled.json new file mode 100644 index 000000000000..761b40621e3e --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/slot_swap_with_preview_cancelled.json @@ -0,0 +1,21 @@ +{ + "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", + "operationId": "SlotSwapWithPreviewCancelledEventName", + "title": "SlotSwapWithPreviewCancelled" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/slot_swap_with_preview_started.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/slot_swap_with_preview_started.json new file mode 100644 index 000000000000..9927ec90d80a --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/slot_swap_with_preview_started.json @@ -0,0 +1,21 @@ +{ + "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", + "operationId": "SlotSwapWithPreviewStartedEventName", + "title": "SlotSwapWithPreviewStarted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/sms_delivery_report_received.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/sms_delivery_report_received.json new file mode 100644 index 000000000000..c02ecd2a836a --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/sms_delivery_report_received.json @@ -0,0 +1,25 @@ +{ + "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", + "operationId": "SMSDeliveryReportReceivedEventName", + "title": "SMSDeliveryReportReceived" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/sms_received.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/sms_received.json new file mode 100644 index 000000000000..0c5a91ed9140 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/sms_received.json @@ -0,0 +1,17 @@ +{ + "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", + "operationId": "SMSReceivedEventName", + "title": "SMSReceived" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/snapshot_created.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/snapshot_created.json new file mode 100644 index 000000000000..2250fb4ec54f --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/snapshot_created.json @@ -0,0 +1,15 @@ +{ + "source": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/microsoft.appconfiguration/configurationstores/contoso", + "subject": "https://contoso.azconfig.io/kvsnapshots/Foo", + "type": "Microsoft.AppConfiguration.SnapshotCreated", + "time": "2023-09-02T20:05:03.0000000Z", + "id": "84e17ea4-66db-4b54-8050-df8f7763f87b", + "data": { + "name": "Foo", + "etag": "FnUExLaj2moIi4tJX9AXn9sakm0", + "syncToken": "zAJw6V16=Njo1IzUxNjQ2NzM=;sn=5164673" + }, + "specversion": "1.0", + "operationId": "SnapshotCreatedEventName", + "title": "SnapshotCreated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/snapshot_modified.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/snapshot_modified.json new file mode 100644 index 000000000000..698ba7dfd592 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/snapshot_modified.json @@ -0,0 +1,15 @@ +{ + "source": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/microsoft.appconfiguration/configurationstores/contoso", + "subject": "https://contoso.azconfig.io/snapshots/Foo", + "type": "Microsoft.AppConfiguration.SnapshotModified", + "time": "2023-09-03T20:05:03.0000000Z", + "id": "84e17ea4-66db-4b54-8050-df8f7763f87b", + "data": { + "name": "Foo", + "etag": "FnUExLaj2moIi4tJX9AXn9sakm0", + "syncToken": "zAJw6V16=Njo1IzUxNjQ2NzM=;sn=5164673" + }, + "specversion": "1.0", + "operationId": "SnapshotModifiedEventName", + "title": "SnapshotModified" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/storage_task_assignment_completed.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/storage_task_assignment_completed.json new file mode 100644 index 000000000000..9b1b08148018 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/storage_task_assignment_completed.json @@ -0,0 +1,17 @@ +{ + "source": "/subscriptions/c86a9c18-8373-41fa-92d4-1d7bdc16977b/resourceGroups/shubhajTestRG/providers/Microsoft.Storage/storageAccounts/canaryfns", + "subject": "DataManagement/StorageActions/StorageTaskAssignments", + "type": "Microsoft.Storage.StorageTaskAssignmentCompleted", + "time": "2023-11-27T23:09:21Z", + "id": "dd17c35c-e68a-437d be15-5417820310d2", + "data": { + "status": "Succeeded", + "completedDateTime": "2023-11-27T23:09:21Z", + "taskExecutionId": "testtest2-2023-11-27T21:16:43.4491131Z", + "taskName": "dizbbcanary2", + "summaryReportBlobUrl": "https://canaryfns.blob.core.windows.net/reports/dizbbcanary2/testtest2/2023-11-27T21:17:53/SummaryReport.json" + }, + "specversion": "1.0", + "operationId": "StorageTaskAssignmentCompletedEventName", + "title": "StorageTaskAssignmentCompleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/storage_task_assignment_queued.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/storage_task_assignment_queued.json new file mode 100644 index 000000000000..ff15df34b81c --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/storage_task_assignment_queued.json @@ -0,0 +1,14 @@ +{ + "source": "/subscriptions/c86a9c18-8373-41fa-92d4-1d7bdc16977b/resourceGroups/shubhajTestRG/providers/Microsoft.Storage/storageAccounts/canaryfns", + "subject": "DataManagement/StorageActions/StorageTaskAssignments", + "type": "Microsoft.Storage.StorageTaskAssignmentQueued", + "time": "2023-11-27T21:17:53Z", + "id": "59ff3f6f-696c-4cd2-a206-8012fc1a73f2", + "data": { + "queuedDateTime": "2023-11-27T21:17:53Z", + "taskExecutionId": "testtest2-2023-11-27T21:16:43.4491131Z" + }, + "specversion": "1.0", + "operationId": "StorageTaskAssignmentQueuedEventName", + "title": "StorageTaskAssignmentQueued" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/storage_task_completed.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/storage_task_completed.json new file mode 100644 index 000000000000..e38ef4e3057c --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/storage_task_completed.json @@ -0,0 +1,17 @@ +{ + "source": "/subscriptions/c86a9c18-8373-41fa-92d4-1d7bdc16977b/resourceGroups/shulin-rg/providers/Microsoft.Storage/storageAccounts/shulinstcanest2", + "subject": "DataManagement/StorageTasks", + "type": "Microsoft.Storage.StorageTaskCompleted", + "time": "2023-03-23T16:52:58Z", + "id": "b34b3b93-a64d-41ea-aba4-d55f2d29190b", + "data": { + "status": "Succeeded", + "completedDateTime": "2023-03-23T16:52:58Z", + "taskExecutionId": "deletetest-2023-03-23T16:42:33.8658256Z_2023-03-23T16:42:58.8983000Z", + "taskName": "delete123", + "summaryReportBlobUrl": "https://shulinstcanest2.blob.core.windows.net/report/delete123_deletetest_2023-03-23T16:43:50/SummaryReport.json" + }, + "specversion": "1.0", + "operationId": "StorageTaskCompletedEventName", + "title": "StorageTaskCompleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/storage_task_queued.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/storage_task_queued.json new file mode 100644 index 000000000000..443462c3c0f4 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/storage_task_queued.json @@ -0,0 +1,14 @@ +{ + "source": "/subscriptions/c86a9c18-8373-41fa-92d4-1d7bdc16977b/resourceGroups/shulin-rg/providers/Microsoft.Storage/storageAccounts/shulinstcanest2", + "subject": "DataManagement/StorageTasks", + "type": "Microsoft.Storage.StorageTaskQueued", + "time": "2023-03-23T16:43:50Z", + "id": "7fddaf06-24e8-4d57-9b66-5b7ab920a626", + "data": { + "queuedDateTime": "2023-03-23T16:43:50Z", + "taskExecutionId": "deletetest-2023-03-23T16:42:33.8658256Z_2023-03-23T16:42:58.8983000Z" + }, + "specversion": "1.0", + "operationId": "StorageTaskQueuedEventName", + "title": "StorageTaskQueued" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/subscriptionCreated.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/subscriptionCreated.json new file mode 100644 index 000000000000..99f810685320 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/subscriptionCreated.json @@ -0,0 +1,13 @@ +{ + "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", + "operationId": "SubscriptionCreatedEventName", + "title": "SubscriptionCreated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/subscriptionDeleted.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/subscriptionDeleted.json new file mode 100644 index 000000000000..5ae2c599d7c6 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/subscriptionDeleted.json @@ -0,0 +1,13 @@ +{ + "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", + "operationId": "SubscriptionDeletedEventName", + "title": "SubscriptionDeleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/subscriptionUpdated.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/subscriptionUpdated.json new file mode 100644 index 000000000000..d46f3884cbd4 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/subscriptionUpdated.json @@ -0,0 +1,13 @@ +{ + "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", + "operationId": "SubscriptionUpdatedEventName", + "title": "SubscriptionUpdated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/userCreated.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/userCreated.json new file mode 100644 index 000000000000..18bbb719f7ef --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/userCreated.json @@ -0,0 +1,13 @@ +{ + "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", + "operationId": "UserCreatedEventName", + "title": "UserCreated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/userDeleted.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/userDeleted.json new file mode 100644 index 000000000000..09da565dd7c1 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/userDeleted.json @@ -0,0 +1,13 @@ +{ + "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", + "operationId": "UserDeletedEventName", + "title": "UserDeleted" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/userUpdated.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/userUpdated.json new file mode 100644 index 000000000000..1f13dfec5950 --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/userUpdated.json @@ -0,0 +1,13 @@ +{ + "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", + "operationId": "UserUpdatedEventName", + "title": "UserUpdated" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/user_disconnected.json b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/user_disconnected.json new file mode 100644 index 000000000000..add7b982111d --- /dev/null +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/examples/2018-01-01/user_disconnected.json @@ -0,0 +1,18 @@ +{ + "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", + "operationId": "UserDisconnectedEventName", + "title": "UserDisconnected" +} diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/main.tsp b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/main.tsp index 89ed7f761fd4..19d9b9408809 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/main.tsp +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/main.tsp @@ -36,6 +36,7 @@ namespace Microsoft.EventGrid.SystemEvents { using TypeSpec.Versioning; enum ServiceApiVersions { + v2018_01_01: "2018-01-01", v2024_01_01: "2024-01-01", } } diff --git a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/tspconfig.yaml b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/tspconfig.yaml index b70a5107b6fc..2cecc3941806 100644 --- a/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/tspconfig.yaml +++ b/specification/eventgrid/Azure.Messaging.EventGrid.SystemEvents/tspconfig.yaml @@ -13,7 +13,7 @@ options: emitter-output-dir: "{project-root}/.." examples-directory: examples omit-unreachable-types: false - output-file: "{azure-resource-provider-folder}/Microsoft.EventGrid/{version-status}/{version}/SystemEvents.json" + output-file: "{azure-resource-provider-folder}/Microsoft.EventGrid/{version-status}/{version}/GeneratedSystemEvents.json" azure-resource-provider-folder: "data-plane" emit-lro-options: "none" "@azure-tools/typespec-python": @@ -29,3 +29,4 @@ options: model-namespace: false namespace: Azure.Messaging.EventGrid.SystemEvents flavor: azure + api-version: "2018-01-01" diff --git a/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/GeneratedSystemEvents.json b/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/GeneratedSystemEvents.json new file mode 100644 index 000000000000..762b31e2614f --- /dev/null +++ b/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2018-01-01/GeneratedSystemEvents.json @@ -0,0 +1,9351 @@ +{ + "swagger": "2.0", + "info": { + "title": "Azure.Messaging.SystemEvents", + "version": "2018-01-01", + "description": "Azure Messaging EventGrid SystemEvents", + "x-typespec-generated": [ + { + "emitter": "@azure-tools/typespec-autorest" + } + ] + }, + "schemes": [ + "https" + ], + "produces": [ + "application/json" + ], + "consumes": [ + "application/json" + ], + "tags": [], + "paths": {}, + "definitions": { + "AcsChatEventBaseProperties": { + "type": "object", + "description": "Schema of common properties of all chat events", + "properties": { + "recipientCommunicationIdentifier": { + "$ref": "#/definitions/CommunicationIdentifierModel", + "description": "The communication identifier of the target user" + }, + "transactionId": { + "type": "string", + "description": "The transaction id will be used as co-relation vector" + }, + "threadId": { + "type": "string", + "description": "The chat thread id" + } + }, + "required": [ + "recipientCommunicationIdentifier" + ] + }, + "AcsChatEventInThreadBaseProperties": { + "type": "object", + "description": "Schema of common properties of all thread-level chat events", + "properties": { + "transactionId": { + "type": "string", + "description": "The transaction id will be used as co-relation vector" + }, + "threadId": { + "type": "string", + "description": "The chat thread id" + } + } + }, + "AcsChatMessageDeletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatMessageDeleted event.", + "properties": { + "deleteTime": { + "type": "string", + "format": "date-time", + "description": "The time at which the message was deleted" + } + }, + "required": [ + "deleteTime" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsChatMessageEventBaseProperties" + } + ] + }, + "AcsChatMessageDeletedInThreadEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatMessageDeletedInThread event.", + "properties": { + "deleteTime": { + "type": "string", + "format": "date-time", + "description": "The time at which the message was deleted" + } + }, + "required": [ + "deleteTime" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsChatMessageEventInThreadBaseProperties" + } + ] + }, + "AcsChatMessageEditedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatMessageEdited event.", + "properties": { + "messageBody": { + "type": "string", + "description": "The body of the chat message" + }, + "metadata": { + "type": "object", + "description": "The chat message metadata", + "additionalProperties": { + "type": "string" + } + }, + "editTime": { + "type": "string", + "format": "date-time", + "description": "The time at which the message was edited" + } + }, + "required": [ + "metadata", + "editTime" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsChatMessageEventBaseProperties" + } + ] + }, + "AcsChatMessageEditedInThreadEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatMessageEditedInThread event.", + "properties": { + "messageBody": { + "type": "string", + "description": "The body of the chat message" + }, + "metadata": { + "type": "object", + "description": "The chat message metadata", + "additionalProperties": { + "type": "string" + } + }, + "editTime": { + "type": "string", + "format": "date-time", + "description": "The time at which the message was edited" + } + }, + "required": [ + "metadata", + "editTime" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsChatMessageEventInThreadBaseProperties" + } + ] + }, + "AcsChatMessageEventBaseProperties": { + "type": "object", + "description": "Schema of common properties of all chat message events", + "properties": { + "messageId": { + "type": "string", + "description": "The chat message id" + }, + "senderCommunicationIdentifier": { + "$ref": "#/definitions/CommunicationIdentifierModel", + "description": "The communication identifier of the sender" + }, + "senderDisplayName": { + "type": "string", + "description": "The display name of the sender" + }, + "composeTime": { + "type": "string", + "format": "date-time", + "description": "The original compose time of the message" + }, + "type": { + "type": "string", + "description": "The type of the message" + }, + "version": { + "type": "integer", + "format": "int64", + "description": "The version of the message" + } + }, + "required": [ + "senderCommunicationIdentifier", + "composeTime" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsChatEventBaseProperties" + } + ] + }, + "AcsChatMessageEventInThreadBaseProperties": { + "type": "object", + "description": "Schema of common properties of all thread-level chat message events", + "properties": { + "messageId": { + "type": "string", + "description": "The chat message id" + }, + "senderCommunicationIdentifier": { + "$ref": "#/definitions/CommunicationIdentifierModel", + "description": "The communication identifier of the sender" + }, + "senderDisplayName": { + "type": "string", + "description": "The display name of the sender" + }, + "composeTime": { + "type": "string", + "format": "date-time", + "description": "The original compose time of the message" + }, + "type": { + "type": "string", + "description": "The type of the message" + }, + "version": { + "type": "integer", + "format": "int64", + "description": "The version of the message" + } + }, + "required": [ + "senderCommunicationIdentifier", + "composeTime" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsChatEventInThreadBaseProperties" + } + ] + }, + "AcsChatMessageReceivedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatMessageReceived event.", + "properties": { + "messageBody": { + "type": "string", + "description": "The body of the chat message" + }, + "metadata": { + "type": "object", + "description": "The chat message metadata", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "metadata" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsChatMessageEventBaseProperties" + } + ] + }, + "AcsChatMessageReceivedInThreadEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatMessageReceivedInThread event.", + "properties": { + "messageBody": { + "type": "string", + "description": "The body of the chat message" + }, + "metadata": { + "type": "object", + "description": "The chat message metadata", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "metadata" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsChatMessageEventInThreadBaseProperties" + } + ] + }, + "AcsChatParticipantAddedToThreadEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadParticipantAdded event.", + "properties": { + "time": { + "type": "string", + "format": "date-time", + "description": "The time at which the user was added to the thread" + }, + "addedByCommunicationIdentifier": { + "$ref": "#/definitions/CommunicationIdentifierModel", + "description": "The communication identifier of the user who added the user" + }, + "participantAdded": { + "$ref": "#/definitions/AcsChatThreadParticipantProperties", + "description": "The details of the user who was added" + }, + "version": { + "type": "integer", + "format": "int64", + "description": "The version of the thread" + } + }, + "required": [ + "time", + "addedByCommunicationIdentifier", + "participantAdded" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsChatEventInThreadBaseProperties" + } + ] + }, + "AcsChatParticipantAddedToThreadWithUserEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatParticipantAddedToThreadWithUser event.", + "properties": { + "time": { + "type": "string", + "format": "date-time", + "description": "The time at which the user was added to the thread" + }, + "addedByCommunicationIdentifier": { + "$ref": "#/definitions/CommunicationIdentifierModel", + "description": "The communication identifier of the user who added the user" + }, + "participantAdded": { + "$ref": "#/definitions/AcsChatThreadParticipantProperties", + "description": "The details of the user who was added" + } + }, + "required": [ + "time", + "addedByCommunicationIdentifier", + "participantAdded" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsChatThreadEventBaseProperties" + } + ] + }, + "AcsChatParticipantRemovedFromThreadEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadParticipantRemoved event.", + "properties": { + "time": { + "type": "string", + "format": "date-time", + "description": "The time at which the user was removed to the thread" + }, + "removedByCommunicationIdentifier": { + "$ref": "#/definitions/CommunicationIdentifierModel", + "description": "The communication identifier of the user who removed the user" + }, + "participantRemoved": { + "$ref": "#/definitions/AcsChatThreadParticipantProperties", + "description": "The details of the user who was removed" + }, + "version": { + "type": "integer", + "format": "int64", + "description": "The version of the thread" + } + }, + "required": [ + "time", + "removedByCommunicationIdentifier", + "participantRemoved" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsChatEventInThreadBaseProperties" + } + ] + }, + "AcsChatParticipantRemovedFromThreadWithUserEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatParticipantRemovedFromThreadWithUser event.", + "properties": { + "time": { + "type": "string", + "format": "date-time", + "description": "The time at which the user was removed to the thread" + }, + "removedByCommunicationIdentifier": { + "$ref": "#/definitions/CommunicationIdentifierModel", + "description": "The communication identifier of the user who removed the user" + }, + "participantRemoved": { + "$ref": "#/definitions/AcsChatThreadParticipantProperties", + "description": "The details of the user who was removed" + } + }, + "required": [ + "time", + "removedByCommunicationIdentifier", + "participantRemoved" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsChatThreadEventBaseProperties" + } + ] + }, + "AcsChatThreadCreatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadCreated event.", + "properties": { + "createdByCommunicationIdentifier": { + "$ref": "#/definitions/CommunicationIdentifierModel", + "description": "The communication identifier of the user who created the thread" + }, + "properties": { + "type": "object", + "description": "The thread properties", + "additionalProperties": {} + }, + "metadata": { + "type": "object", + "description": "The thread metadata", + "additionalProperties": { + "type": "string" + } + }, + "participants": { + "type": "array", + "description": "The list of properties of participants who are part of the thread", + "items": { + "$ref": "#/definitions/AcsChatThreadParticipantProperties" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "createdByCommunicationIdentifier", + "properties", + "metadata", + "participants" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsChatThreadEventInThreadBaseProperties" + } + ] + }, + "AcsChatThreadCreatedWithUserEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadCreatedWithUser event.", + "properties": { + "createdByCommunicationIdentifier": { + "$ref": "#/definitions/CommunicationIdentifierModel", + "description": "The communication identifier of the user who created the thread" + }, + "properties": { + "type": "object", + "description": "The thread properties", + "additionalProperties": {} + }, + "metadata": { + "type": "object", + "description": "The thread metadata", + "additionalProperties": { + "type": "string" + } + }, + "participants": { + "type": "array", + "description": "The list of properties of participants who are part of the thread", + "items": { + "$ref": "#/definitions/AcsChatThreadParticipantProperties" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "createdByCommunicationIdentifier", + "properties", + "metadata", + "participants" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsChatThreadEventBaseProperties" + } + ] + }, + "AcsChatThreadDeletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadDeleted event.", + "properties": { + "deletedByCommunicationIdentifier": { + "$ref": "#/definitions/CommunicationIdentifierModel", + "description": "The communication identifier of the user who deleted the thread" + }, + "deleteTime": { + "type": "string", + "format": "date-time", + "description": "The deletion time of the thread" + } + }, + "required": [ + "deletedByCommunicationIdentifier", + "deleteTime" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsChatThreadEventInThreadBaseProperties" + } + ] + }, + "AcsChatThreadEventBaseProperties": { + "type": "object", + "description": "Schema of common properties of all chat thread events", + "properties": { + "createTime": { + "type": "string", + "format": "date-time", + "description": "The original creation time of the thread" + }, + "version": { + "type": "integer", + "format": "int64", + "description": "The version of the thread" + } + }, + "required": [ + "createTime" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsChatEventBaseProperties" + } + ] + }, + "AcsChatThreadEventInThreadBaseProperties": { + "type": "object", + "description": "Schema of common properties of all chat thread events", + "properties": { + "createTime": { + "type": "string", + "format": "date-time", + "description": "The original creation time of the thread" + }, + "version": { + "type": "integer", + "format": "int64", + "description": "The version of the thread" + } + }, + "required": [ + "createTime" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsChatEventInThreadBaseProperties" + } + ] + }, + "AcsChatThreadParticipantProperties": { + "type": "object", + "description": "Schema of the chat thread participant", + "properties": { + "displayName": { + "type": "string", + "description": "The name of the user" + }, + "participantCommunicationIdentifier": { + "$ref": "#/definitions/CommunicationIdentifierModel", + "description": "The communication identifier of the user" + }, + "metadata": { + "type": "object", + "description": "The metadata of the user", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "participantCommunicationIdentifier", + "metadata" + ] + }, + "AcsChatThreadPropertiesUpdatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadPropertiesUpdated event.", + "properties": { + "editedByCommunicationIdentifier": { + "$ref": "#/definitions/CommunicationIdentifierModel", + "description": "The communication identifier of the user who updated the thread properties" + }, + "editTime": { + "type": "string", + "format": "date-time", + "description": "The time at which the properties of the thread were updated" + }, + "properties": { + "type": "object", + "description": "The updated thread properties", + "additionalProperties": {} + }, + "metadata": { + "type": "object", + "description": "The thread metadata", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "editedByCommunicationIdentifier", + "editTime", + "properties", + "metadata" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsChatThreadEventInThreadBaseProperties" + } + ] + }, + "AcsChatThreadPropertiesUpdatedPerUserEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadPropertiesUpdatedPerUser event.", + "properties": { + "editedByCommunicationIdentifier": { + "$ref": "#/definitions/CommunicationIdentifierModel", + "description": "The communication identifier of the user who updated the thread properties" + }, + "editTime": { + "type": "string", + "format": "date-time", + "description": "The time at which the properties of the thread were updated" + }, + "metadata": { + "type": "object", + "description": "The thread metadata", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "type": "object", + "description": "The updated thread properties", + "additionalProperties": {} + } + }, + "required": [ + "editedByCommunicationIdentifier", + "editTime", + "metadata", + "properties" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsChatThreadEventBaseProperties" + } + ] + }, + "AcsChatThreadWithUserDeletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.ChatThreadWithUserDeleted event.", + "properties": { + "deletedByCommunicationIdentifier": { + "$ref": "#/definitions/CommunicationIdentifierModel", + "description": "The communication identifier of the user who deleted the thread" + }, + "deleteTime": { + "type": "string", + "format": "date-time", + "description": "The deletion time of the thread" + } + }, + "required": [ + "deletedByCommunicationIdentifier", + "deleteTime" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsChatThreadEventBaseProperties" + } + ] + }, + "AcsEmailDeliveryReportReceivedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.EmailDeliveryReportReceived event.", + "properties": { + "sender": { + "type": "string", + "description": "The Sender Email Address" + }, + "recipient": { + "type": "string", + "description": "The recipient Email Address" + }, + "messageId": { + "type": "string", + "description": "The Id of the email been sent" + }, + "status": { + "$ref": "#/definitions/AcsEmailDeliveryReportStatus", + "description": "The status of the email. Any value other than Delivered is considered failed." + }, + "deliveryStatusDetails": { + "$ref": "#/definitions/AcsEmailDeliveryReportStatusDetails", + "description": "Detailed information about the status if any" + }, + "deliveryAttemptTimestamp": { + "type": "string", + "format": "date-time", + "description": "The time at which the email delivery report received timestamp" + } + }, + "required": [ + "deliveryStatusDetails", + "deliveryAttemptTimestamp" + ] + }, + "AcsEmailDeliveryReportStatus": { + "type": "string", + "description": "The status of the email. Any value other than Delivered is considered failed.", + "enum": [ + "Bounced", + "Delivered", + "Failed", + "FilteredSpam", + "Quarantined", + "Suppressed" + ], + "x-ms-enum": { + "name": "AcsEmailDeliveryReportStatus", + "modelAsString": true, + "values": [ + { + "name": "Bounced", + "value": "Bounced", + "description": "Hard bounce detected while sending the email" + }, + { + "name": "Delivered", + "value": "Delivered", + "description": "The email was delivered" + }, + { + "name": "Failed", + "value": "Failed", + "description": "The email failed to be delivered" + }, + { + "name": "FilteredSpam", + "value": "FilteredSpam", + "description": "The message was identified as spam and was rejected or blocked (not quarantined)." + }, + { + "name": "Quarantined", + "value": "Quarantined", + "description": "The message was quarantined (as spam, bulk mail, or phishing). For more information, see Quarantined email messages in EOP (EXCHANGE ONLINE PROTECTION)." + }, + { + "name": "Suppressed", + "value": "Suppressed", + "description": "The email was suppressed" + } + ] + } + }, + "AcsEmailDeliveryReportStatusDetails": { + "type": "object", + "description": "Detailed information about the status if any", + "properties": { + "statusMessage": { + "type": "string", + "description": "Detailed status message" + } + } + }, + "AcsEmailEngagementTrackingReportReceivedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.EmailEngagementTrackingReportReceived event.", + "properties": { + "sender": { + "type": "string", + "description": "The Sender Email Address" + }, + "recipient": { + "type": "string", + "description": "The Recipient Email Address" + }, + "messageId": { + "type": "string", + "description": "The Id of the email that has been sent" + }, + "userActionTimestamp": { + "type": "string", + "format": "date-time", + "description": "The time at which the user interacted with the email" + }, + "engagementContext": { + "type": "string", + "description": "The context of the type of engagement user had with email" + }, + "userAgent": { + "type": "string", + "description": "The user agent interacting with the email" + }, + "engagementType": { + "$ref": "#/definitions/AcsUserEngagement", + "description": "The type of engagement user have with email", + "x-ms-client-name": "engagement" + } + }, + "required": [ + "userActionTimestamp" + ] + }, + "AcsIncomingCallCustomContext": { + "type": "object", + "description": "Custom Context of Incoming Call", + "properties": { + "sipHeaders": { + "type": "object", + "description": "Sip Headers for incoming call", + "additionalProperties": { + "type": "string" + } + }, + "voipHeaders": { + "type": "object", + "description": "Voip Headers for incoming call", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "sipHeaders", + "voipHeaders" + ] + }, + "AcsIncomingCallEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.IncomingCall event", + "properties": { + "to": { + "$ref": "#/definitions/CommunicationIdentifierModel", + "description": "The communication identifier of the target user.", + "x-ms-client-name": "toCommunicationIdentifier" + }, + "from": { + "$ref": "#/definitions/CommunicationIdentifierModel", + "description": "The communication identifier of the user who initiated the call.", + "x-ms-client-name": "fromCommunicationIdentifier" + }, + "serverCallId": { + "type": "string", + "description": "The Id of the server call" + }, + "callerDisplayName": { + "type": "string", + "description": "Display name of caller." + }, + "customContext": { + "$ref": "#/definitions/AcsIncomingCallCustomContext", + "description": "Custom Context of Incoming Call" + }, + "incomingCallContext": { + "type": "string", + "description": "Signed incoming call context." + }, + "correlationId": { + "type": "string", + "description": "CorrelationId (CallId)." + } + }, + "required": [ + "to", + "from", + "customContext" + ] + }, + "AcsInteractiveReplyKind": { + "type": "string", + "description": "Interactive reply kind", + "enum": [ + "buttonReply", + "listReply", + "unknown" + ], + "x-ms-enum": { + "name": "AcsInteractiveReplyKind", + "modelAsString": true, + "values": [ + { + "name": "buttonReply", + "value": "buttonReply", + "description": "Messaged interactive reply type is ButtonReply" + }, + { + "name": "listReply", + "value": "listReply", + "description": "Messaged interactive reply type is ListReply" + }, + { + "name": "unknown", + "value": "unknown", + "description": "Messaged interactive reply type is Unknown" + } + ] + } + }, + "AcsMessageButtonContent": { + "type": "object", + "description": "Message Button Content", + "properties": { + "text": { + "type": "string", + "description": "The Text of the button" + }, + "payload": { + "type": "string", + "description": "The Payload of the button which was clicked by the user, setup by the business" + } + } + }, + "AcsMessageChannelEventError": { + "type": "object", + "description": "Message Channel Event Error", + "properties": { + "channelCode": { + "type": "string", + "description": "The channel error code" + }, + "channelMessage": { + "type": "string", + "description": "The channel error message" + } + } + }, + "AcsMessageChannelKind": { + "type": "string", + "description": "Message channel kind", + "enum": [ + "whatsapp" + ], + "x-ms-enum": { + "name": "AcsMessageChannelKind", + "modelAsString": true, + "values": [ + { + "name": "whatsapp", + "value": "whatsapp", + "description": "Updated message channel type is WhatsApp" + } + ] + } + }, + "AcsMessageContext": { + "type": "object", + "description": "Message Context", + "properties": { + "from": { + "type": "string", + "description": "The WhatsApp ID for the customer who replied to an inbound message." + }, + "id": { + "type": "string", + "description": "The message ID for the sent message for an inbound reply", + "x-ms-client-name": "messageId" + } + } + }, + "AcsMessageDeliveryStatus": { + "type": "string", + "description": "Message delivery status", + "enum": [ + "read", + "delivered", + "failed", + "sent", + "warning", + "unknown" + ], + "x-ms-enum": { + "name": "AcsMessageDeliveryStatus", + "modelAsString": true, + "values": [ + { + "name": "read", + "value": "read", + "description": "Read" + }, + { + "name": "delivered", + "value": "delivered", + "description": "Delivered" + }, + { + "name": "failed", + "value": "failed", + "description": "Failed" + }, + { + "name": "sent", + "value": "sent", + "description": "Sent" + }, + { + "name": "warning", + "value": "warning", + "description": "Warning" + }, + { + "name": "unknown", + "value": "unknown", + "description": "Unknown" + } + ] + } + }, + "AcsMessageDeliveryStatusUpdatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.AdvancedMessageDeliveryStatusUpdated event.", + "properties": { + "messageId": { + "type": "string", + "description": "The message id" + }, + "status": { + "$ref": "#/definitions/AcsMessageDeliveryStatus", + "description": "The updated message status" + }, + "channelType": { + "$ref": "#/definitions/AcsMessageChannelKind", + "description": "The updated message channel type", + "x-ms-client-name": "channelKind" + } + }, + "allOf": [ + { + "$ref": "#/definitions/AcsMessageEventData" + } + ] + }, + "AcsMessageEventData": { + "type": "object", + "description": "Schema of common properties of all chat thread events", + "properties": { + "from": { + "type": "string", + "description": "The message sender" + }, + "to": { + "type": "string", + "description": "The message recipient" + }, + "receivedTimeStamp": { + "type": "string", + "format": "date-time", + "description": "The time message was received" + }, + "error": { + "$ref": "#/definitions/AcsMessageChannelEventError", + "description": "The channel event error" + } + }, + "required": [ + "receivedTimeStamp", + "error" + ] + }, + "AcsMessageInteractiveButtonReplyContent": { + "type": "object", + "description": "Message Interactive button reply content for a user to business message", + "properties": { + "id": { + "type": "string", + "description": "The ID of the button", + "x-ms-client-name": "buttonId" + }, + "title": { + "type": "string", + "description": "The title of the button" + } + } + }, + "AcsMessageInteractiveContent": { + "type": "object", + "description": "Message Interactive Content", + "properties": { + "type": { + "$ref": "#/definitions/AcsInteractiveReplyKind", + "description": "The Message interactive reply type", + "x-ms-client-name": "replyKind" + }, + "buttonReply": { + "$ref": "#/definitions/AcsMessageInteractiveButtonReplyContent", + "description": "The Message Sent when a customer clicks a button" + }, + "listReply": { + "$ref": "#/definitions/AcsMessageInteractiveListReplyContent", + "description": "The Message Sent when a customer selects an item from a list" + } + }, + "required": [ + "buttonReply", + "listReply" + ] + }, + "AcsMessageInteractiveListReplyContent": { + "type": "object", + "description": "Message Interactive list reply content for a user to business message", + "properties": { + "id": { + "type": "string", + "description": "The ID of the selected list item", + "x-ms-client-name": "listItemId" + }, + "title": { + "type": "string", + "description": "The title of the selected list item" + }, + "description": { + "type": "string", + "description": "The description of the selected row" + } + } + }, + "AcsMessageMediaContent": { + "type": "object", + "description": "Message Media Content", + "properties": { + "mimeType": { + "type": "string", + "description": "The MIME type of the file this media represents" + }, + "id": { + "type": "string", + "description": "The media identifier", + "x-ms-client-name": "mediaId" + }, + "fileName": { + "type": "string", + "description": "The filename of the underlying media file as specified when uploaded" + }, + "caption": { + "type": "string", + "description": "The caption for the media object, if supported and provided" + } + } + }, + "AcsMessageReceivedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.AdvancedMessageReceived event.", + "properties": { + "content": { + "type": "string", + "description": "The message content" + }, + "channelType": { + "$ref": "#/definitions/AcsMessageChannelKind", + "description": "The message channel type", + "x-ms-client-name": "channelKind" + }, + "media": { + "$ref": "#/definitions/AcsMessageMediaContent", + "description": "The received message media content", + "x-ms-client-name": "mediaContent" + }, + "context": { + "$ref": "#/definitions/AcsMessageContext", + "description": "The received message context" + }, + "button": { + "$ref": "#/definitions/AcsMessageButtonContent", + "description": "The received message button content" + }, + "interactive": { + "$ref": "#/definitions/AcsMessageInteractiveContent", + "description": "The received message interactive content", + "x-ms-client-name": "interactiveContent" + } + }, + "required": [ + "channelType", + "media", + "context", + "button", + "interactive" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsMessageEventData" + } + ] + }, + "AcsRecordingChunkInfoProperties": { + "type": "object", + "description": "Schema for all properties of Recording Chunk Information.", + "properties": { + "documentId": { + "type": "string", + "description": "The documentId of the recording chunk" + }, + "index": { + "type": "integer", + "format": "int64", + "description": "The index of the recording chunk" + }, + "endReason": { + "type": "string", + "description": "The reason for ending the recording chunk" + }, + "metadataLocation": { + "type": "string", + "description": "The location of the metadata for this chunk" + }, + "contentLocation": { + "type": "string", + "description": "The location of the content for this chunk" + }, + "deleteLocation": { + "type": "string", + "description": "The location to delete all chunk storage" + } + } + }, + "AcsRecordingFileStatusUpdatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RecordingFileStatusUpdated event.", + "properties": { + "recordingStorageInfo": { + "$ref": "#/definitions/AcsRecordingStorageInfoProperties", + "description": "The details of recording storage information" + }, + "recordingStartTime": { + "type": "string", + "format": "date-time", + "description": "The time at which the recording started" + }, + "recordingDurationMs": { + "type": "integer", + "format": "int64", + "description": "The recording duration in milliseconds" + }, + "recordingContentType": { + "$ref": "#/definitions/recordingContentType", + "description": "The recording content type- AudioVideo, or Audio" + }, + "recordingChannelType": { + "$ref": "#/definitions/recordingChannelType", + "description": "The recording channel type - Mixed, Unmixed" + }, + "recordingFormatType": { + "$ref": "#/definitions/recordingFormatType", + "description": "The recording format type - Mp4, Mp3, Wav" + }, + "sessionEndReason": { + "type": "string", + "description": "The reason for ending recording session" + } + }, + "required": [ + "recordingStorageInfo", + "recordingStartTime" + ] + }, + "AcsRecordingStorageInfoProperties": { + "type": "object", + "description": "Schema for all properties of Recording Storage Information.", + "properties": { + "recordingChunks": { + "type": "array", + "description": "List of details of recording chunks information", + "items": { + "$ref": "#/definitions/AcsRecordingChunkInfoProperties" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "recordingChunks" + ] + }, + "AcsRouterChannelConfiguration": { + "type": "object", + "description": "Router Channel Configuration", + "properties": { + "channelId": { + "type": "string", + "description": "Channel ID for Router Job" + }, + "capacityCostPerJob": { + "type": "integer", + "format": "int32", + "description": "Capacity Cost Per Job for Router Job" + }, + "maxNumberOfJobs": { + "type": "integer", + "format": "int32", + "description": "Max Number of Jobs for Router Job" + } + } + }, + "AcsRouterCommunicationError": { + "type": "object", + "description": "Router Communication Error", + "properties": { + "code": { + "type": "string", + "description": "Router Communication Error Code" + }, + "message": { + "type": "string", + "description": "Router Communication Error Message" + }, + "target": { + "type": "string", + "description": "Router Communication Error Target" + }, + "innererror": { + "$ref": "#/definitions/AcsRouterCommunicationError", + "description": "Router Communication Inner Error" + }, + "details": { + "type": "array", + "description": "List of Router Communication Errors", + "items": { + "$ref": "#/definitions/AcsRouterCommunicationError" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "innererror", + "details" + ] + }, + "AcsRouterEventData": { + "type": "object", + "description": "Schema of common properties of all Router events", + "properties": { + "jobId": { + "type": "string", + "description": "Router Event Job ID" + }, + "channelReference": { + "type": "string", + "description": "Router Event Channel Reference" + }, + "channelId": { + "type": "string", + "description": "Router Event Channel ID" + } + } + }, + "AcsRouterJobCancelledEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobCancelled event", + "properties": { + "note": { + "type": "string", + "description": "Router Job Note" + }, + "dispositionCode": { + "type": "string", + "description": "Router Job Disposition Code" + } + }, + "allOf": [ + { + "$ref": "#/definitions/AcsRouterJobEventData" + } + ] + }, + "AcsRouterJobClassificationFailedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobClassificationFailed event", + "properties": { + "classificationPolicyId": { + "type": "string", + "description": "Router Job Classification Policy Id" + }, + "errors": { + "type": "array", + "description": "Router Job Classification Failed Errors", + "items": { + "$ref": "#/definitions/AcsRouterCommunicationError" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "errors" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsRouterJobEventData" + } + ] + }, + "AcsRouterJobClassifiedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobClassified event", + "properties": { + "queueDetails": { + "$ref": "#/definitions/AcsRouterQueueDetails", + "description": "Router Job Queue Info" + }, + "classificationPolicyId": { + "type": "string", + "description": "Router Job Classification Policy Id" + }, + "priority": { + "type": "integer", + "format": "int32", + "description": "Router Job Priority" + }, + "attachedWorkerSelectors": { + "type": "array", + "description": "Router Job Attached Worker Selector", + "items": { + "$ref": "#/definitions/AcsRouterWorkerSelector" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "queueDetails", + "attachedWorkerSelectors" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsRouterJobEventData" + } + ] + }, + "AcsRouterJobClosedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobClosed event", + "properties": { + "assignmentId": { + "type": "string", + "description": "Router Job Closed Assignment Id" + }, + "workerId": { + "type": "string", + "description": "Router Job Closed Worker Id" + }, + "dispositionCode": { + "type": "string", + "description": "Router Job Closed Disposition Code" + } + }, + "allOf": [ + { + "$ref": "#/definitions/AcsRouterJobEventData" + } + ] + }, + "AcsRouterJobCompletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobCompleted event", + "properties": { + "assignmentId": { + "type": "string", + "description": "Router Job Completed Assignment Id" + }, + "workerId": { + "type": "string", + "description": "Router Job Completed Worker Id" + } + }, + "allOf": [ + { + "$ref": "#/definitions/AcsRouterJobEventData" + } + ] + }, + "AcsRouterJobDeletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobDeleted event", + "allOf": [ + { + "$ref": "#/definitions/AcsRouterJobEventData" + } + ] + }, + "AcsRouterJobEventData": { + "type": "object", + "description": "Schema of common properties of all Router Job events", + "properties": { + "queueId": { + "type": "string", + "description": "Router Job events Queue Id" + }, + "labels": { + "type": "object", + "description": "Router Job events Labels", + "additionalProperties": { + "type": "string" + } + }, + "tags": { + "type": "object", + "description": "Router Jobs events Tags", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "labels", + "tags" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsRouterEventData" + } + ] + }, + "AcsRouterJobExceptionTriggeredEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobExceptionTriggered event", + "properties": { + "ruleKey": { + "type": "string", + "description": "Router Job Exception Triggered Rule Key" + }, + "exceptionRuleId": { + "type": "string", + "description": "Router Job Exception Triggered Rule Id" + } + }, + "allOf": [ + { + "$ref": "#/definitions/AcsRouterJobEventData" + } + ] + }, + "AcsRouterJobQueuedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobQueued event", + "properties": { + "priority": { + "type": "integer", + "format": "int32", + "description": "Router Job Priority" + }, + "attachedWorkerSelectors": { + "type": "array", + "description": "Router Job Queued Attached Worker Selector", + "items": { + "$ref": "#/definitions/AcsRouterWorkerSelector" + }, + "x-ms-identifiers": [] + }, + "requestedWorkerSelectors": { + "type": "array", + "description": "Router Job Queued Requested Worker Selector", + "items": { + "$ref": "#/definitions/AcsRouterWorkerSelector" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "attachedWorkerSelectors", + "requestedWorkerSelectors" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsRouterJobEventData" + } + ] + }, + "AcsRouterJobReceivedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobReceived event", + "properties": { + "jobStatus": { + "$ref": "#/definitions/AcsRouterJobStatus", + "description": "Router Job Received Job Status" + }, + "classificationPolicyId": { + "type": "string", + "description": "Router Job Classification Policy Id" + }, + "priority": { + "type": "integer", + "format": "int32", + "description": "Router Job Priority" + }, + "requestedWorkerSelectors": { + "type": "array", + "description": "Router Job Received Requested Worker Selectors", + "items": { + "$ref": "#/definitions/AcsRouterWorkerSelector" + }, + "x-ms-identifiers": [] + }, + "scheduledOn": { + "type": "string", + "format": "date-time", + "description": "Router Job Received Scheduled Time in UTC" + }, + "unavailableForMatching": { + "type": "boolean", + "description": "Unavailable For Matching for Router Job Received" + } + }, + "required": [ + "requestedWorkerSelectors", + "scheduledOn", + "unavailableForMatching" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsRouterJobEventData" + } + ] + }, + "AcsRouterJobSchedulingFailedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobSchedulingFailed event", + "properties": { + "priority": { + "type": "integer", + "format": "int32", + "description": "Router Job Priority" + }, + "expiredAttachedWorkerSelectors": { + "type": "array", + "description": "Router Job Scheduling Failed Attached Worker Selector Expired", + "items": { + "$ref": "#/definitions/AcsRouterWorkerSelector" + }, + "x-ms-identifiers": [] + }, + "expiredRequestedWorkerSelectors": { + "type": "array", + "description": "Router Job Scheduling Failed Requested Worker Selector Expired", + "items": { + "$ref": "#/definitions/AcsRouterWorkerSelector" + }, + "x-ms-identifiers": [] + }, + "scheduledOn": { + "type": "string", + "format": "date-time", + "description": "Router Job Scheduling Failed Scheduled Time in UTC" + }, + "failureReason": { + "type": "string", + "description": "Router Job Scheduling Failed Reason" + } + }, + "required": [ + "expiredAttachedWorkerSelectors", + "expiredRequestedWorkerSelectors", + "scheduledOn" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsRouterJobEventData" + } + ] + }, + "AcsRouterJobStatus": { + "type": "string", + "description": "Acs Router Job Status", + "enum": [ + "PendingClassification", + "Queued", + "Assigned", + "Completed", + "Closed", + "Cancelled", + "ClassificationFailed", + "Created", + "PendingSchedule", + "Scheduled", + "ScheduleFailed", + "WaitingForActivation" + ], + "x-ms-enum": { + "name": "AcsRouterJobStatus", + "modelAsString": true, + "values": [ + { + "name": "PendingClassification", + "value": "PendingClassification", + "description": "Router Job Status Pending Classification" + }, + { + "name": "Queued", + "value": "Queued", + "description": "Router Job Status Queued" + }, + { + "name": "Assigned", + "value": "Assigned", + "description": "Router Job Status Assigned" + }, + { + "name": "Completed", + "value": "Completed", + "description": "Router Job Status Completed" + }, + { + "name": "Closed", + "value": "Closed", + "description": "Router Job Status Closed" + }, + { + "name": "Cancelled", + "value": "Cancelled", + "description": "Router Job Status Cancelled" + }, + { + "name": "ClassificationFailed", + "value": "ClassificationFailed", + "description": "Router Job Status Classification Failed" + }, + { + "name": "Created", + "value": "Created", + "description": "Router Job Status Created" + }, + { + "name": "PendingSchedule", + "value": "PendingSchedule", + "description": "Router Job Status Pending Schedule" + }, + { + "name": "Scheduled", + "value": "Scheduled", + "description": "Router Job Status Scheduled" + }, + { + "name": "ScheduleFailed", + "value": "ScheduleFailed", + "description": "Router Job Status Schedule Failed" + }, + { + "name": "WaitingForActivation", + "value": "WaitingForActivation", + "description": "Router Job Status Waiting For Activation" + } + ] + } + }, + "AcsRouterJobUnassignedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobUnassigned event", + "properties": { + "assignmentId": { + "type": "string", + "description": "Router Job Unassigned Assignment Id" + }, + "workerId": { + "type": "string", + "description": "Router Job Unassigned Worker Id" + } + }, + "allOf": [ + { + "$ref": "#/definitions/AcsRouterJobEventData" + } + ] + }, + "AcsRouterJobWaitingForActivationEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobWaitingForActivation event", + "properties": { + "priority": { + "type": "integer", + "format": "int32", + "description": "Router Job Waiting For Activation Priority" + }, + "expiredAttachedWorkerSelectors": { + "type": "array", + "description": "Router Job Waiting For Activation Worker Selector Expired", + "items": { + "$ref": "#/definitions/AcsRouterWorkerSelector" + }, + "x-ms-identifiers": [] + }, + "expiredRequestedWorkerSelectors": { + "type": "array", + "description": "Router Job Waiting For Activation Requested Worker Selector Expired", + "items": { + "$ref": "#/definitions/AcsRouterWorkerSelector" + }, + "x-ms-identifiers": [] + }, + "scheduledOn": { + "type": "string", + "format": "date-time", + "description": "Router Job Waiting For Activation Scheduled Time in UTC" + }, + "unavailableForMatching": { + "type": "boolean", + "description": "Router Job Waiting For Activation Unavailable For Matching" + } + }, + "required": [ + "expiredAttachedWorkerSelectors", + "expiredRequestedWorkerSelectors", + "scheduledOn", + "unavailableForMatching" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsRouterJobEventData" + } + ] + }, + "AcsRouterJobWorkerSelectorsExpiredEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterJobWorkerSelectorsExpired event", + "properties": { + "expiredRequestedWorkerSelectors": { + "type": "array", + "description": "Router Job Worker Selectors Expired Requested Worker Selectors", + "items": { + "$ref": "#/definitions/AcsRouterWorkerSelector" + }, + "x-ms-identifiers": [] + }, + "expiredAttachedWorkerSelectors": { + "type": "array", + "description": "Router Job Worker Selectors Expired Attached Worker Selectors", + "items": { + "$ref": "#/definitions/AcsRouterWorkerSelector" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "expiredRequestedWorkerSelectors", + "expiredAttachedWorkerSelectors" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsRouterJobEventData" + } + ] + }, + "AcsRouterLabelOperator": { + "type": "string", + "description": "Router Job Worker Selector Label Operator", + "enum": [ + "Equal", + "NotEqual", + "Greater", + "Less", + "GreaterThanOrEqual", + "LessThanOrEqual" + ], + "x-ms-enum": { + "name": "AcsRouterLabelOperator", + "modelAsString": true, + "values": [ + { + "name": "Equal", + "value": "Equal", + "description": "Router Label Operator Equal" + }, + { + "name": "NotEqual", + "value": "NotEqual", + "description": "Router Label Operator Not Equal" + }, + { + "name": "Greater", + "value": "Greater", + "description": "Router Label Operator Greater" + }, + { + "name": "Less", + "value": "Less", + "description": "Router Label Operator Less" + }, + { + "name": "GreaterThanOrEqual", + "value": "GreaterThanOrEqual", + "description": "Router Label Operator Greater than or equal" + }, + { + "name": "LessThanOrEqual", + "value": "LessThanOrEqual", + "description": "Router Label Operator Less than or equal" + } + ] + } + }, + "AcsRouterQueueDetails": { + "type": "object", + "description": "Router Queue Details", + "properties": { + "id": { + "type": "string", + "description": "Router Queue Id" + }, + "name": { + "type": "string", + "description": "Router Queue Name" + }, + "labels": { + "type": "object", + "description": "Router Queue Labels", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "labels" + ] + }, + "AcsRouterUpdatedWorkerProperty": { + "type": "string", + "description": "Worker properties that can be updated", + "enum": [ + "AvailableForOffers", + "TotalCapacity", + "QueueAssignments", + "Labels", + "Tags", + "ChannelConfigurations" + ], + "x-ms-enum": { + "name": "AcsRouterUpdatedWorkerProperty", + "modelAsString": true, + "values": [ + { + "name": "AvailableForOffers", + "value": "AvailableForOffers", + "description": "AvailableForOffers" + }, + { + "name": "TotalCapacity", + "value": "TotalCapacity", + "description": "TotalCapacity" + }, + { + "name": "QueueAssignments", + "value": "QueueAssignments", + "description": "QueueAssignments" + }, + { + "name": "Labels", + "value": "Labels", + "description": "Labels" + }, + { + "name": "Tags", + "value": "Tags", + "description": "Tags" + }, + { + "name": "ChannelConfigurations", + "value": "ChannelConfigurations", + "description": "ChannelConfigurations" + } + ] + } + }, + "AcsRouterWorkerDeletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterWorkerDeleted event", + "allOf": [ + { + "$ref": "#/definitions/AcsRouterWorkerEventData" + } + ] + }, + "AcsRouterWorkerDeregisteredEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterWorkerDeregistered event", + "properties": { + "workerId": { + "type": "string", + "description": "Router Worker Deregistered Worker Id" + } + } + }, + "AcsRouterWorkerEventData": { + "type": "object", + "description": "Schema of common properties of all Router Worker events", + "properties": { + "workerId": { + "type": "string", + "description": "Router Worker events Worker Id" + } + }, + "allOf": [ + { + "$ref": "#/definitions/AcsRouterEventData" + } + ] + }, + "AcsRouterWorkerOfferAcceptedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterWorkerOfferAccepted event", + "properties": { + "queueId": { + "type": "string", + "description": "Router Worker Offer Accepted Queue Id" + }, + "offerId": { + "type": "string", + "description": "Router Worker Offer Accepted Offer Id" + }, + "assignmentId": { + "type": "string", + "description": "Router Worker Offer Accepted Assignment Id" + }, + "jobPriority": { + "type": "integer", + "format": "int32", + "description": "Router Worker Offer Accepted Job Priority" + }, + "workerLabels": { + "type": "object", + "description": "Router Worker Offer Accepted Worker Labels", + "additionalProperties": { + "type": "string" + } + }, + "workerTags": { + "type": "object", + "description": "Router Worker Offer Accepted Worker Tags", + "additionalProperties": { + "type": "string" + } + }, + "jobLabels": { + "type": "object", + "description": "Router Worker Offer Accepted Job Labels", + "additionalProperties": { + "type": "string" + } + }, + "jobTags": { + "type": "object", + "description": "Router Worker Offer Accepted Job Tags", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "workerLabels", + "workerTags", + "jobLabels", + "jobTags" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsRouterWorkerEventData" + } + ] + }, + "AcsRouterWorkerOfferDeclinedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterWorkerOfferDeclined event", + "properties": { + "queueId": { + "type": "string", + "description": "Router Worker Offer Declined Queue Id" + }, + "offerId": { + "type": "string", + "description": "Router Worker Offer Declined Offer Id" + } + }, + "allOf": [ + { + "$ref": "#/definitions/AcsRouterWorkerEventData" + } + ] + }, + "AcsRouterWorkerOfferExpiredEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterWorkerOfferExpired event", + "properties": { + "queueId": { + "type": "string", + "description": "Router Worker Offer Expired Queue Id" + }, + "offerId": { + "type": "string", + "description": "Router Worker Offer Expired Offer Id" + } + }, + "allOf": [ + { + "$ref": "#/definitions/AcsRouterWorkerEventData" + } + ] + }, + "AcsRouterWorkerOfferIssuedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterWorkerOfferIssued event", + "properties": { + "queueId": { + "type": "string", + "description": "Router Worker Offer Issued Queue Id" + }, + "offerId": { + "type": "string", + "description": "Router Worker Offer Issued Offer Id" + }, + "jobPriority": { + "type": "integer", + "format": "int32", + "description": "Router Worker Offer Issued Job Priority" + }, + "workerLabels": { + "type": "object", + "description": "Router Worker Offer Issued Worker Labels", + "additionalProperties": { + "type": "string" + } + }, + "offeredOn": { + "type": "string", + "format": "date-time", + "description": "Router Worker Offer Issued Time in UTC" + }, + "expiresOn": { + "type": "string", + "format": "date-time", + "description": "Router Worker Offer Issued Expiration Time in UTC" + }, + "workerTags": { + "type": "object", + "description": "Router Worker Offer Issued Worker Tags", + "additionalProperties": { + "type": "string" + } + }, + "jobLabels": { + "type": "object", + "description": "Router Worker Offer Issued Job Labels", + "additionalProperties": { + "type": "string" + } + }, + "jobTags": { + "type": "object", + "description": "Router Worker Offer Issued Job Tags", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "workerLabels", + "offeredOn", + "expiresOn", + "workerTags", + "jobLabels", + "jobTags" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsRouterWorkerEventData" + } + ] + }, + "AcsRouterWorkerOfferRevokedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterWorkerOfferRevoked event", + "properties": { + "queueId": { + "type": "string", + "description": "Router Worker Offer Revoked Queue Id" + }, + "offerId": { + "type": "string", + "description": "Router Worker Offer Revoked Offer Id" + } + }, + "allOf": [ + { + "$ref": "#/definitions/AcsRouterWorkerEventData" + } + ] + }, + "AcsRouterWorkerRegisteredEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterWorkerRegistered event", + "properties": { + "workerId": { + "type": "string", + "description": "Router Worker Registered Worker Id" + }, + "queueAssignments": { + "type": "array", + "description": "Router Worker Registered Queue Info", + "items": { + "$ref": "#/definitions/AcsRouterQueueDetails" + } + }, + "channelConfigurations": { + "type": "array", + "description": "Router Worker Registered Channel Configuration", + "items": { + "$ref": "#/definitions/AcsRouterChannelConfiguration" + }, + "x-ms-identifiers": [] + }, + "totalCapacity": { + "type": "integer", + "format": "int32", + "description": "Router Worker Register Total Capacity" + }, + "labels": { + "type": "object", + "description": "Router Worker Registered Labels", + "additionalProperties": { + "type": "string" + } + }, + "tags": { + "type": "object", + "description": "Router Worker Registered Tags", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "queueAssignments", + "channelConfigurations", + "labels", + "tags" + ] + }, + "AcsRouterWorkerSelector": { + "type": "object", + "description": "Router Job Worker Selector", + "properties": { + "key": { + "type": "string", + "description": "Router Job Worker Selector Key" + }, + "labelOperator": { + "$ref": "#/definitions/AcsRouterLabelOperator", + "description": "Router Job Worker Selector Label Operator" + }, + "value": { + "description": "Router Job Worker Selector Value", + "x-ms-client-name": "labelValue" + }, + "ttlSeconds": { + "type": "number", + "format": "double", + "description": "Router Job Worker Selector Time to Live in Seconds" + }, + "state": { + "$ref": "#/definitions/AcsRouterWorkerSelectorState", + "description": "Router Job Worker Selector State" + }, + "expirationTime": { + "type": "string", + "format": "date-time", + "description": "Router Job Worker Selector Expiration Time" + } + }, + "required": [ + "value", + "ttlSeconds", + "expirationTime" + ] + }, + "AcsRouterWorkerSelectorState": { + "type": "string", + "description": "Router Worker Selector State", + "enum": [ + "active", + "expired" + ], + "x-ms-enum": { + "name": "AcsRouterWorkerSelectorState", + "modelAsString": true, + "values": [ + { + "name": "Active", + "value": "active", + "description": "Router Worker Selector State Active" + }, + { + "name": "Expired", + "value": "expired", + "description": "Router Worker Selector State Expired" + } + ] + } + }, + "AcsRouterWorkerUpdatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.RouterWorkerUpdated event.", + "properties": { + "workerId": { + "type": "string", + "description": "Router Worker Updated Worker Id" + }, + "queueAssignments": { + "type": "array", + "description": "Router Worker Updated Queue Info", + "items": { + "$ref": "#/definitions/AcsRouterQueueDetails" + } + }, + "channelConfigurations": { + "type": "array", + "description": "Router Worker Updated Channel Configuration", + "items": { + "$ref": "#/definitions/AcsRouterChannelConfiguration" + }, + "x-ms-identifiers": [] + }, + "totalCapacity": { + "type": "integer", + "format": "int32", + "description": "Router Worker Updated Total Capacity" + }, + "labels": { + "type": "object", + "description": "Router Worker Updated Labels", + "additionalProperties": { + "type": "string" + } + }, + "tags": { + "type": "object", + "description": "Router Worker Updated Tags", + "additionalProperties": { + "type": "string" + } + }, + "updatedWorkerProperties": { + "type": "array", + "description": "Router Worker Properties Updated", + "items": { + "$ref": "#/definitions/AcsRouterUpdatedWorkerProperty" + } + } + }, + "required": [ + "queueAssignments", + "channelConfigurations", + "labels", + "tags", + "updatedWorkerProperties" + ] + }, + "AcsSmsDeliveryAttemptProperties": { + "type": "object", + "description": "Schema for details of a delivery attempt", + "properties": { + "timestamp": { + "type": "string", + "format": "date-time", + "description": "TimeStamp when delivery was attempted" + }, + "segmentsSucceeded": { + "type": "integer", + "format": "int32", + "description": "Number of segments that were successfully delivered" + }, + "segmentsFailed": { + "type": "integer", + "format": "int32", + "description": "Number of segments whose delivery failed" + } + }, + "required": [ + "timestamp" + ] + }, + "AcsSmsDeliveryReportReceivedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.SMSDeliveryReportReceived event.", + "properties": { + "deliveryStatus": { + "type": "string", + "description": "Status of Delivery" + }, + "deliveryStatusDetails": { + "type": "string", + "description": "Details about Delivery Status" + }, + "deliveryAttempts": { + "type": "array", + "description": "List of details of delivery attempts made", + "items": { + "$ref": "#/definitions/AcsSmsDeliveryAttemptProperties" + }, + "x-ms-identifiers": [] + }, + "receivedTimestamp": { + "type": "string", + "format": "date-time", + "description": "The time at which the SMS delivery report was received" + }, + "tag": { + "type": "string", + "description": "Customer Content" + } + }, + "required": [ + "deliveryAttempts", + "receivedTimestamp" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsSmsEventBaseProperties" + } + ] + }, + "AcsSmsEventBaseProperties": { + "type": "object", + "description": "Schema of common properties of all SMS events", + "properties": { + "messageId": { + "type": "string", + "description": "The identity of the SMS message" + }, + "from": { + "type": "string", + "description": "The identity of SMS message sender" + }, + "to": { + "type": "string", + "description": "The identity of SMS message receiver" + } + } + }, + "AcsSmsReceivedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Communication.SMSReceived event.", + "properties": { + "message": { + "type": "string", + "description": "The SMS content" + }, + "receivedTimestamp": { + "type": "string", + "format": "date-time", + "description": "The time at which the SMS was received" + } + }, + "required": [ + "receivedTimestamp" + ], + "allOf": [ + { + "$ref": "#/definitions/AcsSmsEventBaseProperties" + } + ] + }, + "AcsUserDisconnectedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for an Microsoft.Communication.UserDisconnected event.", + "properties": { + "userCommunicationIdentifier": { + "$ref": "#/definitions/CommunicationIdentifierModel", + "description": "The communication identifier of the user who was disconnected" + } + }, + "required": [ + "userCommunicationIdentifier" + ] + }, + "AcsUserEngagement": { + "type": "string", + "description": "The type of engagement user have with email.", + "enum": [ + "view", + "click" + ], + "x-ms-enum": { + "name": "AcsUserEngagement", + "modelAsString": true, + "values": [ + { + "name": "view", + "value": "view", + "description": "View" + }, + { + "name": "click", + "value": "click", + "description": "Click" + } + ] + } + }, + "ApiCenterApiDefinitionAddedEventData": { + "type": "object", + "description": "Schema of the data property of an EventGridEvent for a Microsoft.ApiCenter.ApiDefinitionAdded event.", + "properties": { + "title": { + "type": "string", + "description": "API definition title." + }, + "description": { + "type": "string", + "description": "API definition description." + }, + "specification": { + "$ref": "#/definitions/ApiCenterApiSpecification", + "description": "API definition specification." + } + }, + "required": [ + "specification" + ] + }, + "ApiCenterApiDefinitionUpdatedEventData": { + "type": "object", + "description": "Schema of the data property of an EventGridEvent for a Microsoft.ApiCenter.ApiDefinitionUpdated event.", + "properties": { + "title": { + "type": "string", + "description": "API definition title." + }, + "description": { + "type": "string", + "description": "API definition description." + }, + "specification": { + "$ref": "#/definitions/ApiCenterApiSpecification", + "description": "API definition specification." + } + }, + "required": [ + "specification" + ] + }, + "ApiCenterApiSpecification": { + "type": "object", + "description": "API specification details.", + "properties": { + "name": { + "type": "string", + "description": "Specification name." + }, + "version": { + "type": "string", + "description": "Specification version." + } + } + }, + "ApiManagementApiCreatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.APICreated event.", + "properties": { + "resourceUri": { + "type": "string", + "description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions//resourceGroups//Microsoft.ApiManagement/service///`" + } + } + }, + "ApiManagementApiDeletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.APIDeleted event.", + "properties": { + "resourceUri": { + "type": "string", + "description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions//resourceGroups//Microsoft.ApiManagement/service///`" + } + } + }, + "ApiManagementApiReleaseCreatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.APIReleaseCreated event.", + "properties": { + "resourceUri": { + "type": "string", + "description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions//resourceGroups//Microsoft.ApiManagement/service///`" + } + } + }, + "ApiManagementApiReleaseDeletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.APIReleaseDeleted event.", + "properties": { + "resourceUri": { + "type": "string", + "description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions//resourceGroups//Microsoft.ApiManagement/service///`" + } + } + }, + "ApiManagementApiReleaseUpdatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.APIReleaseUpdated event.", + "properties": { + "resourceUri": { + "type": "string", + "description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions//resourceGroups//Microsoft.ApiManagement/service///`" + } + } + }, + "ApiManagementApiUpdatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.APIUpdated event.", + "properties": { + "resourceUri": { + "type": "string", + "description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions//resourceGroups//Microsoft.ApiManagement/service///`" + } + } + }, + "ApiManagementGatewayApiAddedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.GatewayAPIAdded event.", + "properties": { + "resourceUri": { + "type": "string", + "description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions//resourceGroups//Microsoft.ApiManagement/service//gateways//apis/`" + } + } + }, + "ApiManagementGatewayApiRemovedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.GatewayAPIRemoved event.", + "properties": { + "resourceUri": { + "type": "string", + "description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions//resourceGroups//Microsoft.ApiManagement/service//gateways//apis/`" + } + } + }, + "ApiManagementGatewayCertificateAuthorityCreatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.GatewayCertificateAuthorityCreated event.", + "properties": { + "resourceUri": { + "type": "string", + "description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions//resourceGroups//Microsoft.ApiManagement/service//gateways//certificateAuthorities/`" + } + } + }, + "ApiManagementGatewayCertificateAuthorityDeletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.GatewayCertificateAuthorityDeleted event.", + "properties": { + "resourceUri": { + "type": "string", + "description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions//resourceGroups//Microsoft.ApiManagement/service//gateways//certificateAuthorities/`" + } + } + }, + "ApiManagementGatewayCertificateAuthorityUpdatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.GatewayCertificateAuthorityUpdated event.", + "properties": { + "resourceUri": { + "type": "string", + "description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions//resourceGroups//Microsoft.ApiManagement/service//gateways//certificateAuthorities/`" + } + } + }, + "ApiManagementGatewayCreatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.GatewayCreated event.", + "properties": { + "resourceUri": { + "type": "string", + "description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions//resourceGroups//Microsoft.ApiManagement/service//gateways/`" + } + } + }, + "ApiManagementGatewayDeletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.GatewayDeleted event.", + "properties": { + "resourceUri": { + "type": "string", + "description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions//resourceGroups//Microsoft.ApiManagement/service//gateways/`" + } + } + }, + "ApiManagementGatewayHostnameConfigurationCreatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.GatewayHostnameConfigurationCreated event.", + "properties": { + "resourceUri": { + "type": "string", + "description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions//resourceGroups//Microsoft.ApiManagement/service//gateways//hostnameConfigurations/`" + } + } + }, + "ApiManagementGatewayHostnameConfigurationDeletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.GatewayHostnameConfigurationDeleted event.", + "properties": { + "resourceUri": { + "type": "string", + "description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions//resourceGroups//Microsoft.ApiManagement/service//gateways//hostnameConfigurations/`" + } + } + }, + "ApiManagementGatewayHostnameConfigurationUpdatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.GatewayHostnameConfigurationUpdated event.", + "properties": { + "resourceUri": { + "type": "string", + "description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions//resourceGroups//Microsoft.ApiManagement/service//gateways//hostnameConfigurations/`" + } + } + }, + "ApiManagementGatewayUpdatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.GatewayUpdated event.", + "properties": { + "resourceUri": { + "type": "string", + "description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions//resourceGroups//Microsoft.ApiManagement/service//gateways/`" + } + } + }, + "ApiManagementProductCreatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.ProductCreated event.", + "properties": { + "resourceUri": { + "type": "string", + "description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions//resourceGroups//Microsoft.ApiManagement/service///`" + } + } + }, + "ApiManagementProductDeletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.ProductDeleted event.", + "properties": { + "resourceUri": { + "type": "string", + "description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions//resourceGroups//Microsoft.ApiManagement/service///`" + } + } + }, + "ApiManagementProductUpdatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.ProductUpdated event.", + "properties": { + "resourceUri": { + "type": "string", + "description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions//resourceGroups//Microsoft.ApiManagement/service///`" + } + } + }, + "ApiManagementSubscriptionCreatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.SubscriptionCreated event.", + "properties": { + "resourceUri": { + "type": "string", + "description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions//resourceGroups//Microsoft.ApiManagement/service///`" + } + } + }, + "ApiManagementSubscriptionDeletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.SubscriptionDeleted event.", + "properties": { + "resourceUri": { + "type": "string", + "description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions//resourceGroups//Microsoft.ApiManagement/service///`" + } + } + }, + "ApiManagementSubscriptionUpdatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.SubscriptionUpdated event.", + "properties": { + "resourceUri": { + "type": "string", + "description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions//resourceGroups//Microsoft.ApiManagement/service///`" + } + } + }, + "ApiManagementUserCreatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.UserCreated event.", + "properties": { + "resourceUri": { + "type": "string", + "description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions//resourceGroups//Microsoft.ApiManagement/service///`" + } + } + }, + "ApiManagementUserDeletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.UserDeleted event.", + "properties": { + "resourceUri": { + "type": "string", + "description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions//resourceGroups//Microsoft.ApiManagement/service///`" + } + } + }, + "ApiManagementUserUpdatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.UserUpdated event.", + "properties": { + "resourceUri": { + "type": "string", + "description": "The fully qualified ID of the resource that the compliance state change is for, including the resource name and resource type. Uses the format, `/subscriptions//resourceGroups//Microsoft.ApiManagement/service///`" + } + } + }, + "AppAction": { + "type": "string", + "description": "Type of action of the operation", + "enum": [ + "Restarted", + "Stopped", + "ChangedAppSettings", + "Started", + "Completed", + "Failed" + ], + "x-ms-enum": { + "name": "AppAction", + "modelAsString": true, + "values": [ + { + "name": "Restarted", + "value": "Restarted", + "description": "Web app was restarted." + }, + { + "name": "Stopped", + "value": "Stopped", + "description": "Web app was stopped." + }, + { + "name": "ChangedAppSettings", + "value": "ChangedAppSettings", + "description": "There was an operation to change app setting on the web app." + }, + { + "name": "Started", + "value": "Started", + "description": "The job has started." + }, + { + "name": "Completed", + "value": "Completed", + "description": "The job has completed." + }, + { + "name": "Failed", + "value": "Failed", + "description": "The job has failed to complete." + } + ] + } + }, + "AppConfigurationKeyValueDeletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.AppConfiguration.KeyValueDeleted event.", + "properties": { + "key": { + "type": "string", + "description": "The key used to identify the key-value that was deleted." + }, + "label": { + "type": "string", + "description": "The label, if any, used to identify the key-value that was deleted." + }, + "etag": { + "type": "string", + "description": "The etag representing the key-value that was deleted." + }, + "syncToken": { + "type": "string", + "description": "The sync token representing the server state after the event." + } + } + }, + "AppConfigurationKeyValueModifiedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.AppConfiguration.KeyValueModified event.", + "properties": { + "key": { + "type": "string", + "description": "The key used to identify the key-value that was modified." + }, + "label": { + "type": "string", + "description": "The label, if any, used to identify the key-value that was modified." + }, + "etag": { + "type": "string", + "description": "The etag representing the new state of the key-value." + }, + "syncToken": { + "type": "string", + "description": "The sync token representing the server state after the event." + } + } + }, + "AppConfigurationSnapshotCreatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.AppConfiguration.SnapshotCreated event.", + "allOf": [ + { + "$ref": "#/definitions/AppConfigurationSnapshotEventData" + } + ] + }, + "AppConfigurationSnapshotEventData": { + "type": "object", + "description": "Schema of common properties of snapshot events", + "properties": { + "name": { + "type": "string", + "description": "The name of the snapshot." + }, + "etag": { + "type": "string", + "description": "The etag representing the new state of the snapshot." + }, + "syncToken": { + "type": "string", + "description": "The sync token representing the server state after the event." + } + } + }, + "AppConfigurationSnapshotModifiedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.AppConfiguration.SnapshotModified event.", + "allOf": [ + { + "$ref": "#/definitions/AppConfigurationSnapshotEventData" + } + ] + }, + "AppEventTypeDetail": { + "type": "object", + "description": "Detail of action on the app.", + "properties": { + "action": { + "$ref": "#/definitions/AppAction", + "description": "Type of action of the operation." + } + } + }, + "AppServicePlanAction": { + "type": "string", + "description": "Type of action on the app service plan.", + "enum": [ + "Updated" + ], + "x-ms-enum": { + "name": "AppServicePlanAction", + "modelAsString": true, + "values": [ + { + "name": "Updated", + "value": "Updated", + "description": "App Service plan is being updated." + } + ] + } + }, + "AppServicePlanEventTypeDetail": { + "type": "object", + "description": "Detail of action on the app service plan.", + "properties": { + "stampKind": { + "$ref": "#/definitions/StampKind", + "description": "Kind of environment where app service plan is." + }, + "action": { + "$ref": "#/definitions/AppServicePlanAction", + "description": "Type of action on the app service plan." + }, + "status": { + "$ref": "#/definitions/AsyncStatus", + "description": "Asynchronous operation status of the operation on the app service plan." + } + } + }, + "AsyncStatus": { + "type": "string", + "description": "Asynchronous operation status of the operation on the app service plan.", + "enum": [ + "Started", + "Completed", + "Failed" + ], + "x-ms-enum": { + "name": "AsyncStatus", + "modelAsString": true, + "values": [ + { + "name": "Started", + "value": "Started", + "description": "Async operation has started." + }, + { + "name": "Completed", + "value": "Completed", + "description": "Async operation has completed." + }, + { + "name": "Failed", + "value": "Failed", + "description": "Async operation failed to complete." + } + ] + } + }, + "AvsClusterCreatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.AVS.ClusterCreated event.", + "allOf": [ + { + "$ref": "#/definitions/AvsClusterEventData" + } + ] + }, + "AvsClusterDeletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.AVS.ClusterDeleted event.", + "allOf": [ + { + "$ref": "#/definitions/AvsClusterEventData" + } + ] + }, + "AvsClusterEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for Microsoft.AVS/clusters events.", + "properties": { + "operationId": { + "type": "string", + "description": "Id of the operation that caused this event." + }, + "addedHostNames": { + "type": "array", + "description": "Hosts added to the cluster in this event, if any.", + "items": { + "type": "string" + } + }, + "removedHostNames": { + "type": "array", + "description": "Hosts removed from the cluster in this event, if any.", + "items": { + "type": "string" + } + }, + "inMaintenanceHostNames": { + "type": "array", + "description": "Hosts in Maintenance mode in the cluster, if any.", + "items": { + "type": "string" + } + } + } + }, + "AvsClusterFailedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.AVS.ClusterFailed event.", + "properties": { + "failureMessage": { + "type": "string", + "description": "Failure reason of an event." + } + }, + "allOf": [ + { + "$ref": "#/definitions/AvsClusterEventData" + } + ] + }, + "AvsClusterUpdatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.AVS.ClusterUpdated event.", + "allOf": [ + { + "$ref": "#/definitions/AvsClusterEventData" + } + ] + }, + "AvsClusterUpdatingEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.AVS.ClusterUpdating event.", + "allOf": [ + { + "$ref": "#/definitions/AvsClusterEventData" + } + ] + }, + "AvsPrivateCloudEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for Microsoft.AVS/privateClouds events.", + "properties": { + "operationId": { + "type": "string", + "description": "Id of the operation that caused this event." + } + } + }, + "AvsPrivateCloudFailedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.AVS.PrivateCloudFailed event.", + "properties": { + "failureMessage": { + "type": "string", + "description": "Failure reason of an event." + } + }, + "allOf": [ + { + "$ref": "#/definitions/AvsPrivateCloudEventData" + } + ] + }, + "AvsPrivateCloudUpdatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.AVS.PrivateCloudUpdated event.", + "allOf": [ + { + "$ref": "#/definitions/AvsPrivateCloudEventData" + } + ] + }, + "AvsPrivateCloudUpdatingEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.AVS.PrivateCloudUpdating event.", + "allOf": [ + { + "$ref": "#/definitions/AvsPrivateCloudEventData" + } + ] + }, + "AvsScriptExecutionCancelledEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.AVS.ScriptExecutionCancelled event.", + "allOf": [ + { + "$ref": "#/definitions/AvsScriptExecutionEventData" + } + ] + }, + "AvsScriptExecutionEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for Microsoft.AVS/scriptExecutions events.", + "properties": { + "operationId": { + "type": "string", + "description": "Id of the operation that caused this event." + }, + "cmdletId": { + "type": "string", + "description": "Cmdlet referenced in the execution that caused this event." + }, + "output": { + "type": "array", + "description": "Stdout outputs from the execution, if any.", + "items": { + "type": "string" + } + } + } + }, + "AvsScriptExecutionFailedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.AVS.ScriptExecutionFailed event.", + "properties": { + "failureMessage": { + "type": "string", + "description": "Failure reason of an event." + } + }, + "allOf": [ + { + "$ref": "#/definitions/AvsScriptExecutionEventData" + } + ] + }, + "AvsScriptExecutionFinishedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.AVS.ScriptExecutionFinished event.", + "properties": { + "namedOutputs": { + "type": "object", + "description": "Named outputs of completed execution, if any.", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "namedOutputs" + ], + "allOf": [ + { + "$ref": "#/definitions/AvsScriptExecutionEventData" + } + ] + }, + "AvsScriptExecutionStartedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.AVS.ScriptExecutionStarted event.", + "allOf": [ + { + "$ref": "#/definitions/AvsScriptExecutionEventData" + } + ] + }, + "CommunicationCloudEnvironmentModel": { + "type": "string", + "description": "Communication cloud environment model.", + "enum": [ + "public", + "dod", + "gcch" + ], + "x-ms-enum": { + "name": "CommunicationCloudEnvironmentModel", + "modelAsString": true, + "values": [ + { + "name": "public", + "value": "public", + "description": "Public" + }, + { + "name": "dod", + "value": "dod", + "description": "Dod" + }, + { + "name": "gcch", + "value": "gcch", + "description": "Gcch" + } + ] + } + }, + "CommunicationIdentifierModel": { + "type": "object", + "description": "Identifies a participant in Azure Communication services. A participant is, for example, a phone number or an Azure communication user. This model must be interpreted as a union: Apart from rawId, at most one further property may be set.", + "properties": { + "kind": { + "$ref": "#/definitions/CommunicationIdentifierModelKind", + "description": "The identifier kind. Only required in responses." + }, + "rawId": { + "type": "string", + "description": "Raw Id of the identifier. Optional in requests, required in responses." + }, + "communicationUser": { + "$ref": "#/definitions/CommunicationUserIdentifierModel", + "description": "The communication user." + }, + "phoneNumber": { + "$ref": "#/definitions/PhoneNumberIdentifierModel", + "description": "The phone number." + }, + "microsoftTeamsUser": { + "$ref": "#/definitions/MicrosoftTeamsUserIdentifierModel", + "description": "The Microsoft Teams user." + }, + "microsoftTeamsApp": { + "$ref": "#/definitions/MicrosoftTeamsAppIdentifierModel", + "description": "The Microsoft Teams application." + } + }, + "required": [ + "communicationUser", + "phoneNumber", + "microsoftTeamsUser", + "microsoftTeamsApp" + ] + }, + "CommunicationIdentifierModelKind": { + "type": "string", + "description": "Communication model identifier kind", + "enum": [ + "unknown", + "communicationUser", + "phoneNumber", + "microsoftTeamsUser" + ], + "x-ms-enum": { + "name": "CommunicationIdentifierModelKind", + "modelAsString": true, + "values": [ + { + "name": "unknown", + "value": "unknown", + "description": "Unknown" + }, + { + "name": "communicationUser", + "value": "communicationUser", + "description": "Communication User" + }, + { + "name": "phoneNumber", + "value": "phoneNumber", + "description": "Phone Number" + }, + { + "name": "microsoftTeamsUser", + "value": "microsoftTeamsUser", + "description": "Microsoft Teams User" + } + ] + } + }, + "CommunicationUserIdentifierModel": { + "type": "object", + "description": "A user that got created with an Azure Communication Services resource.", + "properties": { + "id": { + "type": "string", + "description": "The Id of the communication user." + } + }, + "required": [ + "id" + ] + }, + "ContainerRegistryArtifactEventData": { + "type": "object", + "description": "The content of the event request message.", + "properties": { + "id": { + "type": "string", + "description": "The event ID." + }, + "timestamp": { + "type": "string", + "format": "date-time", + "description": "The time at which the event occurred." + }, + "action": { + "type": "string", + "description": "The action that encompasses the provided event." + }, + "location": { + "type": "string", + "description": "The location of the event." + }, + "target": { + "$ref": "#/definitions/ContainerRegistryArtifactEventTarget", + "description": "The target of the event." + }, + "connectedRegistry": { + "$ref": "#/definitions/ContainerRegistryEventConnectedRegistry", + "description": "The connected registry information if the event is generated by a connected registry." + } + }, + "required": [ + "timestamp", + "target", + "connectedRegistry" + ] + }, + "ContainerRegistryArtifactEventTarget": { + "type": "object", + "description": "The target of the event.", + "properties": { + "mediaType": { + "type": "string", + "description": "The MIME type of the artifact." + }, + "size": { + "type": "integer", + "format": "int64", + "description": "The size in bytes of the artifact." + }, + "digest": { + "type": "string", + "description": "The digest of the artifact." + }, + "repository": { + "type": "string", + "description": "The repository name of the artifact." + }, + "tag": { + "type": "string", + "description": "The tag of the artifact." + }, + "name": { + "type": "string", + "description": "The name of the artifact." + }, + "version": { + "type": "string", + "description": "The version of the artifact." + } + } + }, + "ContainerRegistryChartDeletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ContainerRegistry.ChartDeleted event.", + "allOf": [ + { + "$ref": "#/definitions/ContainerRegistryArtifactEventData" + } + ] + }, + "ContainerRegistryChartPushedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ContainerRegistry.ChartPushed event.", + "allOf": [ + { + "$ref": "#/definitions/ContainerRegistryArtifactEventData" + } + ] + }, + "ContainerRegistryEventActor": { + "type": "object", + "description": "The agent that initiated the event. For most situations, this could be from the authorization context of the request.", + "properties": { + "name": { + "type": "string", + "description": "The subject or username associated with the request context that generated the event." + } + } + }, + "ContainerRegistryEventConnectedRegistry": { + "type": "object", + "description": "The connected registry information if the event is generated by a connected registry.", + "properties": { + "name": { + "type": "string", + "description": "The name of the connected registry that generated this event." + } + } + }, + "ContainerRegistryEventData": { + "type": "object", + "description": "The content of the event request message.", + "properties": { + "id": { + "type": "string", + "description": "The event ID." + }, + "timestamp": { + "type": "string", + "format": "date-time", + "description": "The time at which the event occurred." + }, + "action": { + "type": "string", + "description": "The action that encompasses the provided event." + }, + "location": { + "type": "string", + "description": "The location of the event." + }, + "target": { + "$ref": "#/definitions/ContainerRegistryEventTarget", + "description": "The target of the event." + }, + "request": { + "$ref": "#/definitions/ContainerRegistryEventRequest", + "description": "The request that generated the event." + }, + "actor": { + "$ref": "#/definitions/ContainerRegistryEventActor", + "description": "The agent that initiated the event. For most situations, this could be from the authorization context of the request." + }, + "source": { + "$ref": "#/definitions/ContainerRegistryEventSource", + "description": "The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it." + }, + "connectedRegistry": { + "$ref": "#/definitions/ContainerRegistryEventConnectedRegistry", + "description": "The connected registry information if the event is generated by a connected registry." + } + }, + "required": [ + "timestamp", + "target", + "request", + "actor", + "source", + "connectedRegistry" + ] + }, + "ContainerRegistryEventRequest": { + "type": "object", + "description": "The request that generated the event.", + "properties": { + "id": { + "type": "string", + "description": "The ID of the request that initiated the event." + }, + "addr": { + "type": "string", + "description": "The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request." + }, + "host": { + "type": "string", + "description": "The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests." + }, + "method": { + "type": "string", + "description": "The request method that generated the event." + }, + "useragent": { + "type": "string", + "description": "The user agent header of the request." + } + } + }, + "ContainerRegistryEventSource": { + "type": "object", + "description": "The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.", + "properties": { + "addr": { + "type": "string", + "description": "The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port." + }, + "instanceID": { + "type": "string", + "description": "The running instance of an application. Changes after each restart." + } + } + }, + "ContainerRegistryEventTarget": { + "type": "object", + "description": "The target of the event.", + "properties": { + "mediaType": { + "type": "string", + "description": "The MIME type of the referenced object." + }, + "size": { + "type": "integer", + "format": "int64", + "description": "The number of bytes of the content. Same as Length field." + }, + "digest": { + "type": "string", + "description": "The digest of the content, as defined by the Registry V2 HTTP API Specification." + }, + "length": { + "type": "integer", + "format": "int64", + "description": "The number of bytes of the content. Same as Size field." + }, + "repository": { + "type": "string", + "description": "The repository name." + }, + "url": { + "type": "string", + "description": "The direct URL to the content." + }, + "tag": { + "type": "string", + "description": "The tag name." + } + } + }, + "ContainerRegistryImageDeletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ContainerRegistry.ImageDeleted event.", + "allOf": [ + { + "$ref": "#/definitions/ContainerRegistryEventData" + } + ] + }, + "ContainerRegistryImagePushedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ContainerRegistry.ImagePushed event.", + "allOf": [ + { + "$ref": "#/definitions/ContainerRegistryEventData" + } + ] + }, + "ContainerServiceClusterSupportEndedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ContainerService.ClusterSupportEnded event", + "allOf": [ + { + "$ref": "#/definitions/ContainerServiceClusterSupportEventData" + } + ] + }, + "ContainerServiceClusterSupportEndingEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ContainerService.ClusterSupportEnding event", + "allOf": [ + { + "$ref": "#/definitions/ContainerServiceClusterSupportEventData" + } + ] + }, + "ContainerServiceClusterSupportEventData": { + "type": "object", + "description": "Schema of common properties of cluster support events", + "properties": { + "kubernetesVersion": { + "type": "string", + "description": "The Kubernetes version of the ManagedCluster resource" + } + } + }, + "ContainerServiceNewKubernetesVersionAvailableEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ContainerService.NewKubernetesVersionAvailable event", + "properties": { + "latestSupportedKubernetesVersion": { + "type": "string", + "description": "The highest PATCH Kubernetes version for the highest MINOR version supported by ManagedCluster resource" + }, + "latestStableKubernetesVersion": { + "type": "string", + "description": "The highest PATCH Kubernetes version for the MINOR version considered stable for the ManagedCluster resource" + }, + "lowestMinorKubernetesVersion": { + "type": "string", + "description": "The highest PATCH Kubernetes version for the lowest applicable MINOR version available for the ManagedCluster resource" + }, + "latestPreviewKubernetesVersion": { + "type": "string", + "description": "The highest PATCH Kubernetes version considered preview for the ManagedCluster resource. There might not be any version in preview at the time of publishing the event" + } + } + }, + "ContainerServiceNodePoolRollingEventData": { + "type": "object", + "description": "Schema of common properties of node pool rolling events", + "properties": { + "nodePoolName": { + "type": "string", + "description": "The name of the node pool in the ManagedCluster resource" + } + } + }, + "ContainerServiceNodePoolRollingFailedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ContainerService.NodePoolRollingFailed event", + "allOf": [ + { + "$ref": "#/definitions/ContainerServiceNodePoolRollingEventData" + } + ] + }, + "ContainerServiceNodePoolRollingStartedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ContainerService.NodePoolRollingStarted event", + "allOf": [ + { + "$ref": "#/definitions/ContainerServiceNodePoolRollingEventData" + } + ] + }, + "ContainerServiceNodePoolRollingSucceededEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ContainerService.NodePoolRollingSucceeded event", + "allOf": [ + { + "$ref": "#/definitions/ContainerServiceNodePoolRollingEventData" + } + ] + }, + "DataBoxCopyCompletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.DataBox.CopyCompleted event.", + "properties": { + "serialNumber": { + "type": "string", + "description": "Serial Number of the device associated with the event. The list is comma separated if more than one serial number is associated." + }, + "stageName": { + "$ref": "#/definitions/DataBoxStageName", + "description": "Name of the current Stage" + }, + "stageTime": { + "type": "string", + "format": "date-time", + "description": "The time at which the stage happened." + } + }, + "required": [ + "stageTime" + ] + }, + "DataBoxCopyStartedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.DataBox.CopyStarted event.", + "properties": { + "serialNumber": { + "type": "string", + "description": "Serial Number of the device associated with the event. The list is comma separated if more than one serial number is associated." + }, + "stageName": { + "$ref": "#/definitions/DataBoxStageName", + "description": "Name of the current Stage" + }, + "stageTime": { + "type": "string", + "format": "date-time", + "description": "The time at which the stage happened." + } + }, + "required": [ + "stageTime" + ] + }, + "DataBoxOrderCompletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.DataBox.OrderCompleted event.", + "properties": { + "serialNumber": { + "type": "string", + "description": "Serial Number of the device associated with the event. The list is comma separated if more than one serial number is associated." + }, + "stageName": { + "$ref": "#/definitions/DataBoxStageName", + "description": "Name of the current Stage" + }, + "stageTime": { + "type": "string", + "format": "date-time", + "description": "The time at which the stage happened." + } + }, + "required": [ + "stageTime" + ] + }, + "DataBoxStageName": { + "type": "string", + "description": "Schema of DataBox Stage Name enumeration.", + "enum": [ + "CopyStarted", + "CopyCompleted", + "OrderCompleted" + ], + "x-ms-enum": { + "name": "DataBoxStageName", + "modelAsString": true, + "values": [ + { + "name": "CopyStarted", + "value": "CopyStarted", + "description": "Copy has started" + }, + { + "name": "CopyCompleted", + "value": "CopyCompleted", + "description": "Copy has completed" + }, + { + "name": "OrderCompleted", + "value": "OrderCompleted", + "description": "Order has been completed" + } + ] + } + }, + "DeviceConnectionStateEventInfo": { + "type": "object", + "description": "Information about the device connection state event.", + "properties": { + "sequenceNumber": { + "type": "string", + "description": "Sequence number is string representation of a hexadecimal number. string compare can be used to identify the larger number because both in ASCII and HEX numbers come after alphabets. If you are converting the string to hex, then the number is a 256 bit number." + } + } + }, + "DeviceConnectionStateEventProperties": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a device connection state event (DeviceConnected, DeviceDisconnected).", + "properties": { + "deviceId": { + "type": "string", + "description": "The unique identifier of the device. This case-sensitive string can be up to 128 characters long, and supports ASCII 7-bit alphanumeric characters plus the following special characters: - : . + % _ # * ? ! ( ) , = `@` ; $ '." + }, + "moduleId": { + "type": "string", + "description": "The unique identifier of the module. This case-sensitive string can be up to 128 characters long, and supports ASCII 7-bit alphanumeric characters plus the following special characters: - : . + % _ # * ? ! ( ) , = `@` ; $ '." + }, + "hubName": { + "type": "string", + "description": "Name of the IoT Hub where the device was created or deleted." + }, + "deviceConnectionStateEventInfo": { + "$ref": "#/definitions/DeviceConnectionStateEventInfo", + "description": "Information about the device connection state event." + } + }, + "required": [ + "deviceConnectionStateEventInfo" + ] + }, + "DeviceLifeCycleEventProperties": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a device life cycle event (DeviceCreated, DeviceDeleted).", + "properties": { + "deviceId": { + "type": "string", + "description": "The unique identifier of the device. This case-sensitive string can be up to 128 characters long, and supports ASCII 7-bit alphanumeric characters plus the following special characters: - : . + % _ # * ? ! ( ) , = `@` ; $ '." + }, + "hubName": { + "type": "string", + "description": "Name of the IoT Hub where the device was created or deleted." + }, + "twin": { + "$ref": "#/definitions/DeviceTwinInfo", + "description": "Information about the device twin, which is the cloud representation of application device metadata." + } + }, + "required": [ + "twin" + ] + }, + "DeviceTelemetryEventProperties": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a device telemetry event (DeviceTelemetry).", + "properties": { + "body": { + "type": "object", + "description": "The content of the message from the device.", + "additionalProperties": {} + }, + "properties": { + "type": "object", + "description": "Application properties are user-defined strings that can be added to the message. These fields are optional.", + "additionalProperties": { + "type": "string" + } + }, + "systemProperties": { + "type": "object", + "description": "System properties help identify contents and source of the messages.", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "body", + "properties", + "systemProperties" + ] + }, + "DeviceTwinInfo": { + "type": "object", + "description": "Information about the device twin, which is the cloud representation of application device metadata.", + "properties": { + "authenticationType": { + "type": "string", + "description": "Authentication type used for this device: either SAS, SelfSigned, or CertificateAuthority." + }, + "cloudToDeviceMessageCount": { + "type": "number", + "format": "float", + "description": "Count of cloud to device messages sent to this device." + }, + "connectionState": { + "type": "string", + "description": "Whether the device is connected or disconnected." + }, + "deviceId": { + "type": "string", + "description": "The unique identifier of the device twin." + }, + "etag": { + "type": "string", + "description": "A piece of information that describes the content of the device twin. Each etag is guaranteed to be unique per device twin." + }, + "lastActivityTime": { + "type": "string", + "description": "The ISO8601 timestamp of the last activity." + }, + "properties": { + "$ref": "#/definitions/DeviceTwinInfoProperties", + "description": "Properties JSON element." + }, + "status": { + "type": "string", + "description": "Whether the device twin is enabled or disabled." + }, + "statusUpdateTime": { + "type": "string", + "description": "The ISO8601 timestamp of the last device twin status update." + }, + "version": { + "type": "number", + "format": "float", + "description": "An integer that is incremented by one each time the device twin is updated." + }, + "x509Thumbprint": { + "$ref": "#/definitions/DeviceTwinInfoX509Thumbprint", + "description": "The thumbprint is a unique value for the x509 certificate, commonly used to find a particular certificate in a certificate store. The thumbprint is dynamically generated using the SHA1 algorithm, and does not physically exist in the certificate." + } + }, + "required": [ + "properties", + "x509Thumbprint" + ] + }, + "DeviceTwinInfoProperties": { + "type": "object", + "description": "Properties JSON element.", + "properties": { + "desired": { + "$ref": "#/definitions/DeviceTwinProperties", + "description": "A portion of the properties that can be written only by the application back-end, and read by the device." + }, + "reported": { + "$ref": "#/definitions/DeviceTwinProperties", + "description": "A portion of the properties that can be written only by the device, and read by the application back-end." + } + }, + "required": [ + "desired", + "reported" + ] + }, + "DeviceTwinInfoX509Thumbprint": { + "type": "object", + "description": "The thumbprint is a unique value for the x509 certificate, commonly used to find a particular certificate in a certificate store. The thumbprint is dynamically generated using the SHA1 algorithm, and does not physically exist in the certificate.", + "properties": { + "primaryThumbprint": { + "type": "string", + "description": "Primary thumbprint for the x509 certificate." + }, + "secondaryThumbprint": { + "type": "string", + "description": "Secondary thumbprint for the x509 certificate." + } + } + }, + "DeviceTwinMetadata": { + "type": "object", + "description": "Metadata information for the properties JSON document.", + "properties": { + "lastUpdated": { + "type": "string", + "description": "The ISO8601 timestamp of the last time the properties were updated.", + "x-ms-client-name": "$lastUpdated" + } + } + }, + "DeviceTwinProperties": { + "type": "object", + "description": "A portion of the properties that can be written only by the application back-end, and read by the device.", + "properties": { + "metadata": { + "$ref": "#/definitions/DeviceTwinMetadata", + "description": "Metadata information for the properties JSON document.", + "x-ms-client-name": "$metadata" + }, + "version": { + "type": "number", + "format": "float", + "description": "Version of device twin properties.", + "x-ms-client-name": "$version" + } + }, + "required": [ + "metadata" + ] + }, + "EventGridMQTTClientCreatedOrUpdatedEventData": { + "type": "object", + "description": "Event data for Microsoft.EventGrid.MQTTClientCreatedOrUpdated event.", + "properties": { + "state": { + "$ref": "#/definitions/EventGridMQTTClientState", + "description": "Configured state of the client. The value could be Enabled or Disabled" + }, + "createdOn": { + "type": "string", + "format": "date-time", + "description": "Time the client resource is created based on the provider's UTC time." + }, + "updatedOn": { + "type": "string", + "format": "date-time", + "description": "Time the client resource is last updated based on the provider's UTC time. If\nthe client resource was never updated, this value is identical to the value of\nthe 'createdOn' property." + }, + "attributes": { + "type": "object", + "description": "The key-value attributes that are assigned to the client resource.", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "createdOn", + "updatedOn", + "attributes" + ], + "allOf": [ + { + "$ref": "#/definitions/EventGridMQTTClientEventData" + } + ] + }, + "EventGridMQTTClientDeletedEventData": { + "type": "object", + "description": "Event data for Microsoft.EventGrid.MQTTClientDeleted event.", + "allOf": [ + { + "$ref": "#/definitions/EventGridMQTTClientEventData" + } + ] + }, + "EventGridMQTTClientDisconnectionReason": { + "type": "string", + "description": "EventGrid MQTT Client Disconnection Reason", + "enum": [ + "ClientAuthenticationError", + "ClientAuthorizationError", + "ClientError", + "ClientInitiatedDisconnect", + "ConnectionLost", + "IpForbidden", + "QuotaExceeded", + "ServerError", + "ServerInitiatedDisconnect", + "SessionOverflow", + "SessionTakenOver" + ], + "x-ms-enum": { + "name": "EventGridMQTTClientDisconnectionReason", + "modelAsString": true, + "values": [ + { + "name": "ClientAuthenticationError", + "value": "ClientAuthenticationError", + "description": "The client got disconnected for any authentication reasons (for example, certificate expired, client got disabled, or client configuration changed)." + }, + { + "name": "ClientAuthorizationError", + "value": "ClientAuthorizationError", + "description": "The client got disconnected for any authorization reasons (for example, because of a change in the configuration of topic spaces, permission bindings, or client groups)." + }, + { + "name": "ClientError", + "value": "ClientError", + "description": "The client sent a bad request or used one of the unsupported features that resulted in a connection termination by the service." + }, + { + "name": "ClientInitiatedDisconnect", + "value": "ClientInitiatedDisconnect", + "description": "The client initiated a graceful disconnect through a DISCONNECT packet for MQTT or a close frame for MQTT over WebSocket." + }, + { + "name": "ConnectionLost", + "value": "ConnectionLost", + "description": "The client-server connection is lost. (EXCHANGE ONLINE PROTECTION)." + }, + { + "name": "IpForbidden", + "value": "IpForbidden", + "description": "The client's IP address is blocked by IP filter or Private links configuration." + }, + { + "name": "QuotaExceeded", + "value": "QuotaExceeded", + "description": "The client exceeded one or more of the throttling limits that resulted in a connection termination by the service." + }, + { + "name": "ServerError", + "value": "ServerError", + "description": "The connection got terminated due to an unexpected server error." + }, + { + "name": "ServerInitiatedDisconnect", + "value": "ServerInitiatedDisconnect", + "description": "The server initiates a graceful disconnect for any operational reason." + }, + { + "name": "SessionOverflow", + "value": "SessionOverflow", + "description": "The client's queue for unacknowledged QoS1 messages reached its limit, which resulted in a connection termination by the server." + }, + { + "name": "SessionTakenOver", + "value": "SessionTakenOver", + "description": "The client reconnected with the same authentication name, which resulted in the termination of the previous connection." + } + ] + } + }, + "EventGridMQTTClientEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for MQTT Client state changes.", + "properties": { + "clientAuthenticationName": { + "type": "string", + "description": "Unique identifier for the MQTT client that the client presents to the service\nfor authentication. This case-sensitive string can be up to 128 characters\nlong, and supports UTF-8 characters." + }, + "clientName": { + "type": "string", + "description": "Name of the client resource in the Event Grid namespace." + }, + "namespaceName": { + "type": "string", + "description": "Name of the Event Grid namespace where the MQTT client was created or updated." + } + } + }, + "EventGridMQTTClientSessionConnectedEventData": { + "type": "object", + "description": "Event data for Microsoft.EventGrid.MQTTClientSessionConnected event.", + "properties": { + "clientSessionName": { + "type": "string", + "description": "Unique identifier for the MQTT client's session. This case-sensitive string can\nbe up to 128 characters long, and supports UTF-8 characters." + }, + "sequenceNumber": { + "type": "integer", + "format": "int64", + "description": "A number that helps indicate order of MQTT client session connected or\ndisconnected events. Latest event will have a sequence number that is higher\nthan the previous event." + } + }, + "allOf": [ + { + "$ref": "#/definitions/EventGridMQTTClientEventData" + } + ] + }, + "EventGridMQTTClientSessionDisconnectedEventData": { + "type": "object", + "description": "Event data for Microsoft.EventGrid.MQTTClientSessionDisconnected event.", + "properties": { + "clientSessionName": { + "type": "string", + "description": "Unique identifier for the MQTT client's session. This case-sensitive string can\nbe up to 128 characters long, and supports UTF-8 characters." + }, + "sequenceNumber": { + "type": "integer", + "format": "int64", + "description": "A number that helps indicate order of MQTT client session connected or\ndisconnected events. Latest event will have a sequence number that is higher\nthan the previous event." + }, + "disconnectionReason": { + "$ref": "#/definitions/EventGridMQTTClientDisconnectionReason", + "description": "Reason for the disconnection of the MQTT client's session. The value could be\none of the values in the disconnection reasons table." + } + }, + "allOf": [ + { + "$ref": "#/definitions/EventGridMQTTClientEventData" + } + ] + }, + "EventGridMQTTClientState": { + "type": "string", + "description": "EventGrid MQTT Client State", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "EventGridMQTTClientState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled" + } + ] + } + }, + "EventHubCaptureFileCreatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.EventHub.CaptureFileCreated event.", + "properties": { + "fileUrl": { + "type": "string", + "description": "The path to the capture file.", + "x-ms-client-name": "fileurl" + }, + "fileType": { + "type": "string", + "description": "The file type of the capture file." + }, + "partitionId": { + "type": "string", + "description": "The shard ID." + }, + "sizeInBytes": { + "type": "integer", + "format": "int32", + "description": "The file size." + }, + "eventCount": { + "type": "integer", + "format": "int32", + "description": "The number of events in the file." + }, + "firstSequenceNumber": { + "type": "integer", + "format": "int32", + "description": "The smallest sequence number from the queue." + }, + "lastSequenceNumber": { + "type": "integer", + "format": "int32", + "description": "The last sequence number from the queue." + }, + "firstEnqueueTime": { + "type": "string", + "format": "date-time", + "description": "The first time from the queue." + }, + "lastEnqueueTime": { + "type": "string", + "format": "date-time", + "description": "The last time from the queue." + } + }, + "required": [ + "firstEnqueueTime", + "lastEnqueueTime" + ] + }, + "HealthcareDicomImageCreatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.HealthcareApis.DicomImageCreated event.", + "properties": { + "partitionName": { + "type": "string", + "description": "Data partition name" + }, + "imageStudyInstanceUid": { + "type": "string", + "description": "Unique identifier for the Study" + }, + "imageSeriesInstanceUid": { + "type": "string", + "description": "Unique identifier for the Series" + }, + "imageSopInstanceUid": { + "type": "string", + "description": "Unique identifier for the DICOM Image" + }, + "serviceHostName": { + "type": "string", + "description": "Domain name of the DICOM account for this image." + }, + "sequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence number of the DICOM Service within Azure Health Data Services. It is unique for every image creation and deletion within the service." + } + } + }, + "HealthcareDicomImageDeletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.HealthcareApis.DicomImageDeleted event.", + "properties": { + "partitionName": { + "type": "string", + "description": "Data partition name" + }, + "imageStudyInstanceUid": { + "type": "string", + "description": "Unique identifier for the Study" + }, + "imageSeriesInstanceUid": { + "type": "string", + "description": "Unique identifier for the Series" + }, + "imageSopInstanceUid": { + "type": "string", + "description": "Unique identifier for the DICOM Image" + }, + "serviceHostName": { + "type": "string", + "description": "Host name of the DICOM account for this image." + }, + "sequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence number of the DICOM Service within Azure Health Data Services. It is unique for every image creation and deletion within the service." + } + } + }, + "HealthcareDicomImageUpdatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.HealthcareApis.DicomImageUpdated event.", + "properties": { + "partitionName": { + "type": "string", + "description": "Data partition name" + }, + "imageStudyInstanceUid": { + "type": "string", + "description": "Unique identifier for the Study" + }, + "imageSeriesInstanceUid": { + "type": "string", + "description": "Unique identifier for the Series" + }, + "imageSopInstanceUid": { + "type": "string", + "description": "Unique identifier for the DICOM Image" + }, + "serviceHostName": { + "type": "string", + "description": "Domain name of the DICOM account for this image." + }, + "sequenceNumber": { + "type": "integer", + "format": "int64", + "description": "Sequence number of the DICOM Service within Azure Health Data Services. It is unique for every image creation, updation and deletion within the service." + } + } + }, + "HealthcareFhirResourceCreatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.HealthcareApis.FhirResourceCreated event.", + "properties": { + "resourceType": { + "$ref": "#/definitions/HealthcareFhirResourceType", + "description": "Type of HL7 FHIR resource.", + "x-ms-client-name": "FhirResourceType" + }, + "resourceFhirAccount": { + "type": "string", + "description": "Domain name of FHIR account for this resource.", + "x-ms-client-name": "FhirServiceHostName" + }, + "resourceFhirId": { + "type": "string", + "description": "Id of HL7 FHIR resource.", + "x-ms-client-name": "FhirResourceId" + }, + "resourceVersionId": { + "type": "integer", + "format": "int64", + "description": "VersionId of HL7 FHIR resource. It changes when the resource is created, updated, or deleted(soft-deletion).", + "x-ms-client-name": "FhirResourceVersionId" + } + } + }, + "HealthcareFhirResourceDeletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.HealthcareApis.FhirResourceDeleted event.", + "properties": { + "resourceType": { + "$ref": "#/definitions/HealthcareFhirResourceType", + "description": "Type of HL7 FHIR resource.", + "x-ms-client-name": "FhirResourceType" + }, + "resourceFhirAccount": { + "type": "string", + "description": "Domain name of FHIR account for this resource.", + "x-ms-client-name": "FhirServiceHostName" + }, + "resourceFhirId": { + "type": "string", + "description": "Id of HL7 FHIR resource.", + "x-ms-client-name": "FhirResourceId" + }, + "resourceVersionId": { + "type": "integer", + "format": "int64", + "description": "VersionId of HL7 FHIR resource. It changes when the resource is created, updated, or deleted(soft-deletion).", + "x-ms-client-name": "FhirResourceVersionId" + } + } + }, + "HealthcareFhirResourceType": { + "type": "string", + "description": "Schema of FHIR resource type enumeration.", + "enum": [ + "Account", + "ActivityDefinition", + "AdverseEvent", + "AllergyIntolerance", + "Appointment", + "AppointmentResponse", + "AuditEvent", + "Basic", + "Binary", + "BiologicallyDerivedProduct", + "BodySite", + "BodyStructure", + "Bundle", + "CapabilityStatement", + "CarePlan", + "CareTeam", + "CatalogEntry", + "ChargeItem", + "ChargeItemDefinition", + "Claim", + "ClaimResponse", + "ClinicalImpression", + "CodeSystem", + "Communication", + "CommunicationRequest", + "CompartmentDefinition", + "Composition", + "ConceptMap", + "Condition", + "Consent", + "Contract", + "Coverage", + "CoverageEligibilityRequest", + "CoverageEligibilityResponse", + "DataElement", + "DetectedIssue", + "Device", + "DeviceComponent", + "DeviceDefinition", + "DeviceMetric", + "DeviceRequest", + "DeviceUseStatement", + "DiagnosticReport", + "DocumentManifest", + "DocumentReference", + "DomainResource", + "EffectEvidenceSynthesis", + "EligibilityRequest", + "EligibilityResponse", + "Encounter", + "Endpoint", + "EnrollmentRequest", + "EnrollmentResponse", + "EpisodeOfCare", + "EventDefinition", + "Evidence", + "EvidenceVariable", + "ExampleScenario", + "ExpansionProfile", + "ExplanationOfBenefit", + "FamilyMemberHistory", + "Flag", + "Goal", + "GraphDefinition", + "Group", + "GuidanceResponse", + "HealthcareService", + "ImagingManifest", + "ImagingStudy", + "Immunization", + "ImmunizationEvaluation", + "ImmunizationRecommendation", + "ImplementationGuide", + "InsurancePlan", + "Invoice", + "Library", + "Linkage", + "List", + "Location", + "Measure", + "MeasureReport", + "Media", + "Medication", + "MedicationAdministration", + "MedicationDispense", + "MedicationKnowledge", + "MedicationRequest", + "MedicationStatement", + "MedicinalProduct", + "MedicinalProductAuthorization", + "MedicinalProductContraindication", + "MedicinalProductIndication", + "MedicinalProductIngredient", + "MedicinalProductInteraction", + "MedicinalProductManufactured", + "MedicinalProductPackaged", + "MedicinalProductPharmaceutical", + "MedicinalProductUndesirableEffect", + "MessageDefinition", + "MessageHeader", + "MolecularSequence", + "NamingSystem", + "NutritionOrder", + "Observation", + "ObservationDefinition", + "OperationDefinition", + "OperationOutcome", + "Organization", + "OrganizationAffiliation", + "Parameters", + "Patient", + "PaymentNotice", + "PaymentReconciliation", + "Person", + "PlanDefinition", + "Practitioner", + "PractitionerRole", + "Procedure", + "ProcedureRequest", + "ProcessRequest", + "ProcessResponse", + "Provenance", + "Questionnaire", + "QuestionnaireResponse", + "ReferralRequest", + "RelatedPerson", + "RequestGroup", + "ResearchDefinition", + "ResearchElementDefinition", + "ResearchStudy", + "ResearchSubject", + "Resource", + "RiskAssessment", + "RiskEvidenceSynthesis", + "Schedule", + "SearchParameter", + "Sequence", + "ServiceDefinition", + "ServiceRequest", + "Slot", + "Specimen", + "SpecimenDefinition", + "StructureDefinition", + "StructureMap", + "Subscription", + "Substance", + "SubstanceNucleicAcid", + "SubstancePolymer", + "SubstanceProtein", + "SubstanceReferenceInformation", + "SubstanceSourceMaterial", + "SubstanceSpecification", + "SupplyDelivery", + "SupplyRequest", + "Task", + "TerminologyCapabilities", + "TestReport", + "TestScript", + "ValueSet", + "VerificationResult", + "VisionPrescription" + ], + "x-ms-enum": { + "name": "HealthcareFhirResourceType", + "modelAsString": true, + "values": [ + { + "name": "Account", + "value": "Account", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "ActivityDefinition", + "value": "ActivityDefinition", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "AdverseEvent", + "value": "AdverseEvent", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "AllergyIntolerance", + "value": "AllergyIntolerance", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Appointment", + "value": "Appointment", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "AppointmentResponse", + "value": "AppointmentResponse", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "AuditEvent", + "value": "AuditEvent", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Basic", + "value": "Basic", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Binary", + "value": "Binary", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "BiologicallyDerivedProduct", + "value": "BiologicallyDerivedProduct", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "BodySite", + "value": "BodySite", + "description": "The FHIR resource type defined in STU3." + }, + { + "name": "BodyStructure", + "value": "BodyStructure", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "Bundle", + "value": "Bundle", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "CapabilityStatement", + "value": "CapabilityStatement", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "CarePlan", + "value": "CarePlan", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "CareTeam", + "value": "CareTeam", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "CatalogEntry", + "value": "CatalogEntry", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "ChargeItem", + "value": "ChargeItem", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "ChargeItemDefinition", + "value": "ChargeItemDefinition", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "Claim", + "value": "Claim", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "ClaimResponse", + "value": "ClaimResponse", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "ClinicalImpression", + "value": "ClinicalImpression", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "CodeSystem", + "value": "CodeSystem", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Communication", + "value": "Communication", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "CommunicationRequest", + "value": "CommunicationRequest", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "CompartmentDefinition", + "value": "CompartmentDefinition", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Composition", + "value": "Composition", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "ConceptMap", + "value": "ConceptMap", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Condition", + "value": "Condition", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Consent", + "value": "Consent", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Contract", + "value": "Contract", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Coverage", + "value": "Coverage", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "CoverageEligibilityRequest", + "value": "CoverageEligibilityRequest", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "CoverageEligibilityResponse", + "value": "CoverageEligibilityResponse", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "DataElement", + "value": "DataElement", + "description": "The FHIR resource type defined in STU3." + }, + { + "name": "DetectedIssue", + "value": "DetectedIssue", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Device", + "value": "Device", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "DeviceComponent", + "value": "DeviceComponent", + "description": "The FHIR resource type defined in STU3." + }, + { + "name": "DeviceDefinition", + "value": "DeviceDefinition", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "DeviceMetric", + "value": "DeviceMetric", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "DeviceRequest", + "value": "DeviceRequest", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "DeviceUseStatement", + "value": "DeviceUseStatement", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "DiagnosticReport", + "value": "DiagnosticReport", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "DocumentManifest", + "value": "DocumentManifest", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "DocumentReference", + "value": "DocumentReference", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "DomainResource", + "value": "DomainResource", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "EffectEvidenceSynthesis", + "value": "EffectEvidenceSynthesis", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "EligibilityRequest", + "value": "EligibilityRequest", + "description": "The FHIR resource type defined in STU3." + }, + { + "name": "EligibilityResponse", + "value": "EligibilityResponse", + "description": "The FHIR resource type defined in STU3." + }, + { + "name": "Encounter", + "value": "Encounter", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Endpoint", + "value": "Endpoint", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "EnrollmentRequest", + "value": "EnrollmentRequest", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "EnrollmentResponse", + "value": "EnrollmentResponse", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "EpisodeOfCare", + "value": "EpisodeOfCare", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "EventDefinition", + "value": "EventDefinition", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "Evidence", + "value": "Evidence", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "EvidenceVariable", + "value": "EvidenceVariable", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "ExampleScenario", + "value": "ExampleScenario", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "ExpansionProfile", + "value": "ExpansionProfile", + "description": "The FHIR resource type defined in STU3." + }, + { + "name": "ExplanationOfBenefit", + "value": "ExplanationOfBenefit", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "FamilyMemberHistory", + "value": "FamilyMemberHistory", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Flag", + "value": "Flag", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Goal", + "value": "Goal", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "GraphDefinition", + "value": "GraphDefinition", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Group", + "value": "Group", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "GuidanceResponse", + "value": "GuidanceResponse", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "HealthcareService", + "value": "HealthcareService", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "ImagingManifest", + "value": "ImagingManifest", + "description": "The FHIR resource type defined in STU3." + }, + { + "name": "ImagingStudy", + "value": "ImagingStudy", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Immunization", + "value": "Immunization", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "ImmunizationEvaluation", + "value": "ImmunizationEvaluation", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "ImmunizationRecommendation", + "value": "ImmunizationRecommendation", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "ImplementationGuide", + "value": "ImplementationGuide", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "InsurancePlan", + "value": "InsurancePlan", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "Invoice", + "value": "Invoice", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "Library", + "value": "Library", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Linkage", + "value": "Linkage", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "List", + "value": "List", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Location", + "value": "Location", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Measure", + "value": "Measure", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "MeasureReport", + "value": "MeasureReport", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Media", + "value": "Media", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Medication", + "value": "Medication", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "MedicationAdministration", + "value": "MedicationAdministration", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "MedicationDispense", + "value": "MedicationDispense", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "MedicationKnowledge", + "value": "MedicationKnowledge", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "MedicationRequest", + "value": "MedicationRequest", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "MedicationStatement", + "value": "MedicationStatement", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "MedicinalProduct", + "value": "MedicinalProduct", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "MedicinalProductAuthorization", + "value": "MedicinalProductAuthorization", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "MedicinalProductContraindication", + "value": "MedicinalProductContraindication", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "MedicinalProductIndication", + "value": "MedicinalProductIndication", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "MedicinalProductIngredient", + "value": "MedicinalProductIngredient", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "MedicinalProductInteraction", + "value": "MedicinalProductInteraction", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "MedicinalProductManufactured", + "value": "MedicinalProductManufactured", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "MedicinalProductPackaged", + "value": "MedicinalProductPackaged", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "MedicinalProductPharmaceutical", + "value": "MedicinalProductPharmaceutical", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "MedicinalProductUndesirableEffect", + "value": "MedicinalProductUndesirableEffect", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "MessageDefinition", + "value": "MessageDefinition", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "MessageHeader", + "value": "MessageHeader", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "MolecularSequence", + "value": "MolecularSequence", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "NamingSystem", + "value": "NamingSystem", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "NutritionOrder", + "value": "NutritionOrder", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Observation", + "value": "Observation", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "ObservationDefinition", + "value": "ObservationDefinition", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "OperationDefinition", + "value": "OperationDefinition", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "OperationOutcome", + "value": "OperationOutcome", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Organization", + "value": "Organization", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "OrganizationAffiliation", + "value": "OrganizationAffiliation", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "Parameters", + "value": "Parameters", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Patient", + "value": "Patient", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "PaymentNotice", + "value": "PaymentNotice", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "PaymentReconciliation", + "value": "PaymentReconciliation", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Person", + "value": "Person", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "PlanDefinition", + "value": "PlanDefinition", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Practitioner", + "value": "Practitioner", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "PractitionerRole", + "value": "PractitionerRole", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Procedure", + "value": "Procedure", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "ProcedureRequest", + "value": "ProcedureRequest", + "description": "The FHIR resource type defined in STU3." + }, + { + "name": "ProcessRequest", + "value": "ProcessRequest", + "description": "The FHIR resource type defined in STU3." + }, + { + "name": "ProcessResponse", + "value": "ProcessResponse", + "description": "The FHIR resource type defined in STU3." + }, + { + "name": "Provenance", + "value": "Provenance", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Questionnaire", + "value": "Questionnaire", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "QuestionnaireResponse", + "value": "QuestionnaireResponse", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "ReferralRequest", + "value": "ReferralRequest", + "description": "The FHIR resource type defined in STU3." + }, + { + "name": "RelatedPerson", + "value": "RelatedPerson", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "RequestGroup", + "value": "RequestGroup", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "ResearchDefinition", + "value": "ResearchDefinition", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "ResearchElementDefinition", + "value": "ResearchElementDefinition", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "ResearchStudy", + "value": "ResearchStudy", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "ResearchSubject", + "value": "ResearchSubject", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Resource", + "value": "Resource", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "RiskAssessment", + "value": "RiskAssessment", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "RiskEvidenceSynthesis", + "value": "RiskEvidenceSynthesis", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "Schedule", + "value": "Schedule", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "SearchParameter", + "value": "SearchParameter", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Sequence", + "value": "Sequence", + "description": "The FHIR resource type defined in STU3." + }, + { + "name": "ServiceDefinition", + "value": "ServiceDefinition", + "description": "The FHIR resource type defined in STU3." + }, + { + "name": "ServiceRequest", + "value": "ServiceRequest", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "Slot", + "value": "Slot", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Specimen", + "value": "Specimen", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "SpecimenDefinition", + "value": "SpecimenDefinition", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "StructureDefinition", + "value": "StructureDefinition", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "StructureMap", + "value": "StructureMap", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Subscription", + "value": "Subscription", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Substance", + "value": "Substance", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "SubstanceNucleicAcid", + "value": "SubstanceNucleicAcid", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "SubstancePolymer", + "value": "SubstancePolymer", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "SubstanceProtein", + "value": "SubstanceProtein", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "SubstanceReferenceInformation", + "value": "SubstanceReferenceInformation", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "SubstanceSourceMaterial", + "value": "SubstanceSourceMaterial", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "SubstanceSpecification", + "value": "SubstanceSpecification", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "SupplyDelivery", + "value": "SupplyDelivery", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "SupplyRequest", + "value": "SupplyRequest", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "Task", + "value": "Task", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "TerminologyCapabilities", + "value": "TerminologyCapabilities", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "TestReport", + "value": "TestReport", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "TestScript", + "value": "TestScript", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "ValueSet", + "value": "ValueSet", + "description": "The FHIR resource type defined in STU3 and R4." + }, + { + "name": "VerificationResult", + "value": "VerificationResult", + "description": "The FHIR resource type defined in R4." + }, + { + "name": "VisionPrescription", + "value": "VisionPrescription", + "description": "The FHIR resource type defined in STU3 and R4." + } + ] + } + }, + "HealthcareFhirResourceUpdatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.HealthcareApis.FhirResourceUpdated event.", + "properties": { + "resourceType": { + "$ref": "#/definitions/HealthcareFhirResourceType", + "description": "Type of HL7 FHIR resource.", + "x-ms-client-name": "FhirResourceType" + }, + "resourceFhirAccount": { + "type": "string", + "description": "Domain name of FHIR account for this resource.", + "x-ms-client-name": "FhirServiceHostName" + }, + "resourceFhirId": { + "type": "string", + "description": "Id of HL7 FHIR resource.", + "x-ms-client-name": "FhirResourceId" + }, + "resourceVersionId": { + "type": "integer", + "format": "int64", + "description": "VersionId of HL7 FHIR resource. It changes when the resource is created, updated, or deleted(soft-deletion).", + "x-ms-client-name": "FhirResourceVersionId" + } + } + }, + "IotHubDeviceConnectedEventData": { + "type": "object", + "description": "Event data for Microsoft.Devices.DeviceConnected event.", + "allOf": [ + { + "$ref": "#/definitions/DeviceConnectionStateEventProperties" + } + ] + }, + "IotHubDeviceCreatedEventData": { + "type": "object", + "description": "Event data for Microsoft.Devices.DeviceCreated event.", + "allOf": [ + { + "$ref": "#/definitions/DeviceLifeCycleEventProperties" + } + ] + }, + "IotHubDeviceDeletedEventData": { + "type": "object", + "description": "Event data for Microsoft.Devices.DeviceDeleted event.", + "allOf": [ + { + "$ref": "#/definitions/DeviceLifeCycleEventProperties" + } + ] + }, + "IotHubDeviceDisconnectedEventData": { + "type": "object", + "description": "Event data for Microsoft.Devices.DeviceDisconnected event.", + "allOf": [ + { + "$ref": "#/definitions/DeviceConnectionStateEventProperties" + } + ] + }, + "IotHubDeviceTelemetryEventData": { + "type": "object", + "description": "Event data for Microsoft.Devices.DeviceTelemetry event.", + "allOf": [ + { + "$ref": "#/definitions/DeviceTelemetryEventProperties" + } + ] + }, + "KeyVaultAccessPolicyChangedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.KeyVault.VaultAccessPolicyChanged event.", + "properties": { + "Id": { + "type": "string", + "description": "The id of the object that triggered this event." + }, + "VaultName": { + "type": "string", + "description": "Key vault name of the object that triggered this event." + }, + "ObjectType": { + "type": "string", + "description": "The type of the object that triggered this event" + }, + "ObjectName": { + "type": "string", + "description": "The name of the object that triggered this event" + }, + "Version": { + "type": "string", + "description": "The version of the object that triggered this event" + }, + "NBF": { + "type": "number", + "format": "float", + "description": "Not before date of the object that triggered this event" + }, + "EXP": { + "type": "number", + "format": "float", + "description": "The expiration date of the object that triggered this event" + } + } + }, + "KeyVaultCertificateExpiredEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.KeyVault.CertificateExpired event.", + "properties": { + "Id": { + "type": "string", + "description": "The id of the object that triggered this event." + }, + "VaultName": { + "type": "string", + "description": "Key vault name of the object that triggered this event." + }, + "ObjectType": { + "type": "string", + "description": "The type of the object that triggered this event" + }, + "ObjectName": { + "type": "string", + "description": "The name of the object that triggered this event" + }, + "Version": { + "type": "string", + "description": "The version of the object that triggered this event" + }, + "NBF": { + "type": "number", + "format": "float", + "description": "Not before date of the object that triggered this event" + }, + "EXP": { + "type": "number", + "format": "float", + "description": "The expiration date of the object that triggered this event" + } + } + }, + "KeyVaultCertificateNearExpiryEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.KeyVault.CertificateNearExpiry event.", + "properties": { + "Id": { + "type": "string", + "description": "The id of the object that triggered this event." + }, + "VaultName": { + "type": "string", + "description": "Key vault name of the object that triggered this event." + }, + "ObjectType": { + "type": "string", + "description": "The type of the object that triggered this event" + }, + "ObjectName": { + "type": "string", + "description": "The name of the object that triggered this event" + }, + "Version": { + "type": "string", + "description": "The version of the object that triggered this event" + }, + "NBF": { + "type": "number", + "format": "float", + "description": "Not before date of the object that triggered this event" + }, + "EXP": { + "type": "number", + "format": "float", + "description": "The expiration date of the object that triggered this event" + } + } + }, + "KeyVaultCertificateNewVersionCreatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.KeyVault.CertificateNewVersionCreated event.", + "properties": { + "Id": { + "type": "string", + "description": "The id of the object that triggered this event." + }, + "VaultName": { + "type": "string", + "description": "Key vault name of the object that triggered this event." + }, + "ObjectType": { + "type": "string", + "description": "The type of the object that triggered this event" + }, + "ObjectName": { + "type": "string", + "description": "The name of the object that triggered this event" + }, + "Version": { + "type": "string", + "description": "The version of the object that triggered this event" + }, + "NBF": { + "type": "number", + "format": "float", + "description": "Not before date of the object that triggered this event" + }, + "EXP": { + "type": "number", + "format": "float", + "description": "The expiration date of the object that triggered this event" + } + } + }, + "KeyVaultKeyExpiredEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.KeyVault.KeyExpired event.", + "properties": { + "Id": { + "type": "string", + "description": "The id of the object that triggered this event." + }, + "VaultName": { + "type": "string", + "description": "Key vault name of the object that triggered this event." + }, + "ObjectType": { + "type": "string", + "description": "The type of the object that triggered this event" + }, + "ObjectName": { + "type": "string", + "description": "The name of the object that triggered this event" + }, + "Version": { + "type": "string", + "description": "The version of the object that triggered this event" + }, + "NBF": { + "type": "number", + "format": "float", + "description": "Not before date of the object that triggered this event" + }, + "EXP": { + "type": "number", + "format": "float", + "description": "The expiration date of the object that triggered this event" + } + } + }, + "KeyVaultKeyNearExpiryEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.KeyVault.KeyNearExpiry event.", + "properties": { + "Id": { + "type": "string", + "description": "The id of the object that triggered this event." + }, + "VaultName": { + "type": "string", + "description": "Key vault name of the object that triggered this event." + }, + "ObjectType": { + "type": "string", + "description": "The type of the object that triggered this event" + }, + "ObjectName": { + "type": "string", + "description": "The name of the object that triggered this event" + }, + "Version": { + "type": "string", + "description": "The version of the object that triggered this event" + }, + "NBF": { + "type": "number", + "format": "float", + "description": "Not before date of the object that triggered this event" + }, + "EXP": { + "type": "number", + "format": "float", + "description": "The expiration date of the object that triggered this event" + } + } + }, + "KeyVaultKeyNewVersionCreatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.KeyVault.KeyNewVersionCreated event.", + "properties": { + "Id": { + "type": "string", + "description": "The id of the object that triggered this event." + }, + "VaultName": { + "type": "string", + "description": "Key vault name of the object that triggered this event." + }, + "ObjectType": { + "type": "string", + "description": "The type of the object that triggered this event" + }, + "ObjectName": { + "type": "string", + "description": "The name of the object that triggered this event" + }, + "Version": { + "type": "string", + "description": "The version of the object that triggered this event" + }, + "NBF": { + "type": "number", + "format": "float", + "description": "Not before date of the object that triggered this event" + }, + "EXP": { + "type": "number", + "format": "float", + "description": "The expiration date of the object that triggered this event" + } + } + }, + "KeyVaultSecretExpiredEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.KeyVault.SecretExpired event.", + "properties": { + "Id": { + "type": "string", + "description": "The id of the object that triggered this event." + }, + "VaultName": { + "type": "string", + "description": "Key vault name of the object that triggered this event." + }, + "ObjectType": { + "type": "string", + "description": "The type of the object that triggered this event" + }, + "ObjectName": { + "type": "string", + "description": "The name of the object that triggered this event" + }, + "Version": { + "type": "string", + "description": "The version of the object that triggered this event" + }, + "NBF": { + "type": "number", + "format": "float", + "description": "Not before date of the object that triggered this event" + }, + "EXP": { + "type": "number", + "format": "float", + "description": "The expiration date of the object that triggered this event" + } + } + }, + "KeyVaultSecretNearExpiryEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.KeyVault.SecretNearExpiry event.", + "properties": { + "Id": { + "type": "string", + "description": "The id of the object that triggered this event." + }, + "VaultName": { + "type": "string", + "description": "Key vault name of the object that triggered this event." + }, + "ObjectType": { + "type": "string", + "description": "The type of the object that triggered this event" + }, + "ObjectName": { + "type": "string", + "description": "The name of the object that triggered this event" + }, + "Version": { + "type": "string", + "description": "The version of the object that triggered this event" + }, + "NBF": { + "type": "number", + "format": "float", + "description": "Not before date of the object that triggered this event" + }, + "EXP": { + "type": "number", + "format": "float", + "description": "The expiration date of the object that triggered this event" + } + } + }, + "KeyVaultSecretNewVersionCreatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.KeyVault.SecretNewVersionCreated event.", + "properties": { + "Id": { + "type": "string", + "description": "The id of the object that triggered this event." + }, + "VaultName": { + "type": "string", + "description": "Key vault name of the object that triggered this event." + }, + "ObjectType": { + "type": "string", + "description": "The type of the object that triggered this event" + }, + "ObjectName": { + "type": "string", + "description": "The name of the object that triggered this event" + }, + "Version": { + "type": "string", + "description": "The version of the object that triggered this event" + }, + "NBF": { + "type": "number", + "format": "float", + "description": "Not before date of the object that triggered this event" + }, + "EXP": { + "type": "number", + "format": "float", + "description": "The expiration date of the object that triggered this event" + } + } + }, + "MachineLearningServicesDatasetDriftDetectedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.MachineLearningServices.DatasetDriftDetected event.", + "properties": { + "dataDriftId": { + "type": "string", + "description": "The ID of the data drift monitor that triggered the event." + }, + "dataDriftName": { + "type": "string", + "description": "The name of the data drift monitor that triggered the event." + }, + "runId": { + "type": "string", + "description": "The ID of the Run that detected data drift." + }, + "baseDatasetId": { + "type": "string", + "description": "The ID of the base Dataset used to detect drift." + }, + "targetDatasetId": { + "type": "string", + "description": "The ID of the target Dataset used to detect drift." + }, + "driftCoefficient": { + "type": "number", + "format": "double", + "description": "The coefficient result that triggered the event." + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "The start time of the target dataset time series that resulted in drift detection." + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "The end time of the target dataset time series that resulted in drift detection." + } + }, + "required": [ + "startTime", + "endTime" + ] + }, + "MachineLearningServicesModelDeployedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.MachineLearningServices.ModelDeployed event.", + "properties": { + "serviceName": { + "type": "string", + "description": "The name of the deployed service." + }, + "serviceComputeType": { + "type": "string", + "description": "The compute type (e.g. ACI, AKS) of the deployed service." + }, + "modelIds": { + "type": "string", + "description": "A common separated list of model IDs. The IDs of the models deployed in the service." + }, + "serviceTags": { + "type": "object", + "description": "The tags of the deployed service.", + "additionalProperties": {} + }, + "serviceProperties": { + "type": "object", + "description": "The properties of the deployed service.", + "additionalProperties": {} + } + }, + "required": [ + "serviceTags", + "serviceProperties" + ] + }, + "MachineLearningServicesModelRegisteredEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.MachineLearningServices.ModelRegistered event.", + "properties": { + "modelName": { + "type": "string", + "description": "The name of the model that was registered." + }, + "modelVersion": { + "type": "string", + "description": "The version of the model that was registered." + }, + "modelTags": { + "type": "object", + "description": "The tags of the model that was registered.", + "additionalProperties": {} + }, + "modelProperties": { + "type": "object", + "description": "The properties of the model that was registered.", + "additionalProperties": {} + } + }, + "required": [ + "modelTags", + "modelProperties" + ] + }, + "MachineLearningServicesRunCompletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.MachineLearningServices.RunCompleted event.", + "properties": { + "experimentId": { + "type": "string", + "description": "The ID of the experiment that the run belongs to." + }, + "experimentName": { + "type": "string", + "description": "The name of the experiment that the run belongs to." + }, + "runId": { + "type": "string", + "description": "The ID of the Run that was completed." + }, + "runType": { + "type": "string", + "description": "The Run Type of the completed Run." + }, + "runTags": { + "type": "object", + "description": "The tags of the completed Run.", + "additionalProperties": {} + }, + "runProperties": { + "type": "object", + "description": "The properties of the completed Run.", + "additionalProperties": {} + } + }, + "required": [ + "runTags", + "runProperties" + ] + }, + "MachineLearningServicesRunStatusChangedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.MachineLearningServices.RunStatusChanged event.", + "properties": { + "experimentId": { + "type": "string", + "description": "The ID of the experiment that the Machine Learning Run belongs to." + }, + "experimentName": { + "type": "string", + "description": "The name of the experiment that the Machine Learning Run belongs to." + }, + "runId": { + "type": "string", + "description": "The ID of the Machine Learning Run." + }, + "runType": { + "type": "string", + "description": "The Run Type of the Machine Learning Run." + }, + "runTags": { + "type": "object", + "description": "The tags of the Machine Learning Run.", + "additionalProperties": {} + }, + "runProperties": { + "type": "object", + "description": "The properties of the Machine Learning Run.", + "additionalProperties": {} + }, + "runStatus": { + "type": "string", + "description": "The status of the Machine Learning Run." + } + }, + "required": [ + "runTags", + "runProperties" + ] + }, + "MapsGeofenceEnteredEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Maps.GeofenceEntered event.", + "allOf": [ + { + "$ref": "#/definitions/MapsGeofenceEventProperties" + } + ] + }, + "MapsGeofenceEventProperties": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Geofence event (GeofenceEntered, GeofenceExited, GeofenceResult).", + "properties": { + "expiredGeofenceGeometryId": { + "type": "array", + "description": "Lists of the geometry ID of the geofence which is expired relative to the user time in the request.", + "items": { + "type": "string" + } + }, + "geometries": { + "type": "array", + "description": "Lists the fence geometries that either fully contain the coordinate position or have an overlap with the searchBuffer around the fence.", + "items": { + "$ref": "#/definitions/MapsGeofenceGeometry" + }, + "x-ms-identifiers": [] + }, + "invalidPeriodGeofenceGeometryId": { + "type": "array", + "description": "Lists of the geometry ID of the geofence which is in invalid period relative to the user time in the request.", + "items": { + "type": "string" + } + }, + "isEventPublished": { + "type": "boolean", + "description": "True if at least one event is published to the Azure Maps event subscriber, false if no event is published to the Azure Maps event subscriber." + } + }, + "required": [ + "geometries" + ] + }, + "MapsGeofenceExitedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Maps.GeofenceExited event.", + "allOf": [ + { + "$ref": "#/definitions/MapsGeofenceEventProperties" + } + ] + }, + "MapsGeofenceGeometry": { + "type": "object", + "description": "The geofence geometry.", + "properties": { + "deviceId": { + "type": "string", + "description": "ID of the device." + }, + "distance": { + "type": "number", + "format": "float", + "description": "Distance from the coordinate to the closest border of the geofence. Positive means the coordinate is outside of the geofence. If the coordinate is outside of the geofence, but more than the value of searchBuffer away from the closest geofence border, then the value is 999. Negative means the coordinate is inside of the geofence. If the coordinate is inside the polygon, but more than the value of searchBuffer away from the closest geofencing border,then the value is -999. A value of 999 means that there is great confidence the coordinate is well outside the geofence. A value of -999 means that there is great confidence the coordinate is well within the geofence." + }, + "geometryId": { + "type": "string", + "description": "The unique ID for the geofence geometry." + }, + "nearestLat": { + "type": "number", + "format": "float", + "description": "Latitude of the nearest point of the geometry." + }, + "nearestLon": { + "type": "number", + "format": "float", + "description": "Longitude of the nearest point of the geometry." + }, + "udId": { + "type": "string", + "description": "The unique id returned from user upload service when uploading a geofence. Will not be included in geofencing post API." + } + } + }, + "MapsGeofenceResultEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Maps.GeofenceResult event.", + "allOf": [ + { + "$ref": "#/definitions/MapsGeofenceEventProperties" + } + ] + }, + "MediaJobCanceledEventData": { + "type": "object", + "description": "Job canceled event data. Schema of the data property of an EventGridEvent for a\nMicrosoft.Media.JobCanceled event.", + "properties": { + "outputs": { + "type": "array", + "description": "Gets the Job outputs.", + "items": { + "$ref": "#/definitions/MediaJobOutput" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "outputs" + ], + "allOf": [ + { + "$ref": "#/definitions/MediaJobStateChangeEventData" + } + ] + }, + "MediaJobCancelingEventData": { + "type": "object", + "description": "Job canceling event data. Schema of the data property of an EventGridEvent for\na Microsoft.Media.JobCanceling event.", + "allOf": [ + { + "$ref": "#/definitions/MediaJobStateChangeEventData" + } + ] + }, + "MediaJobError": { + "type": "object", + "description": "Details of JobOutput errors.", + "properties": { + "code": { + "$ref": "#/definitions/MediaJobErrorCode", + "description": "Error code describing the error." + }, + "message": { + "type": "string", + "description": "A human-readable language-dependent representation of the error." + }, + "category": { + "$ref": "#/definitions/MediaJobErrorCategory", + "description": "Helps with categorization of errors." + }, + "retry": { + "$ref": "#/definitions/MediaJobRetry", + "description": "Indicates that it may be possible to retry the Job. If retry is unsuccessful, please contact Azure support via Azure Portal." + }, + "details": { + "type": "array", + "description": "An array of details about specific errors that led to this reported error.", + "items": { + "$ref": "#/definitions/MediaJobErrorDetail" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "details" + ] + }, + "MediaJobErrorCategory": { + "type": "string", + "description": "Error categories for Media Job Errors.", + "enum": [ + "Service", + "Download", + "Upload", + "Configuration", + "Content", + "Account" + ], + "x-ms-enum": { + "name": "MediaJobErrorCategory", + "modelAsString": true, + "values": [ + { + "name": "Service", + "value": "Service", + "description": "The error is service related." + }, + { + "name": "Download", + "value": "Download", + "description": "The error is download related." + }, + { + "name": "Upload", + "value": "Upload", + "description": "The error is upload related." + }, + { + "name": "Configuration", + "value": "Configuration", + "description": "The error is configuration related." + }, + { + "name": "Content", + "value": "Content", + "description": "The error is related to data in the input files." + }, + { + "name": "Account", + "value": "Account", + "description": "The error is related to account information." + } + ] + } + }, + "MediaJobErrorCode": { + "type": "string", + "description": "Media Job Error Codes.", + "enum": [ + "ServiceError", + "ServiceTransientError", + "DownloadNotAccessible", + "DownloadTransientError", + "UploadNotAccessible", + "UploadTransientError", + "ConfigurationUnsupported", + "ContentMalformed", + "ContentUnsupported", + "IdentityUnsupported" + ], + "x-ms-enum": { + "name": "MediaJobErrorCode", + "modelAsString": true, + "values": [ + { + "name": "ServiceError", + "value": "ServiceError", + "description": "Fatal service error, please contact support." + }, + { + "name": "ServiceTransientError", + "value": "ServiceTransientError", + "description": "Transient error, please retry, if retry is unsuccessful, please contact support." + }, + { + "name": "DownloadNotAccessible", + "value": "DownloadNotAccessible", + "description": "While trying to download the input files, the files were not accessible, please check the availability of the source." + }, + { + "name": "DownloadTransientError", + "value": "DownloadTransientError", + "description": "While trying to download the input files, there was an issue during transfer (storage service, network errors), see details and check your source." + }, + { + "name": "UploadNotAccessible", + "value": "UploadNotAccessible", + "description": "While trying to upload the output files, the destination was not reachable, please check the availability of the destination." + }, + { + "name": "UploadTransientError", + "value": "UploadTransientError", + "description": "While trying to upload the output files, there was an issue during transfer (storage service, network errors), see details and check your destination." + }, + { + "name": "ConfigurationUnsupported", + "value": "ConfigurationUnsupported", + "description": "There was a problem with the combination of input files and the configuration settings applied, fix the configuration settings and retry with the same input, or change input to match the configuration." + }, + { + "name": "ContentMalformed", + "value": "ContentMalformed", + "description": "There was a problem with the input content (for example: zero byte files, or corrupt/non-decodable files), check the input files." + }, + { + "name": "ContentUnsupported", + "value": "ContentUnsupported", + "description": "There was a problem with the format of the input (not valid media file, or an unsupported file/codec), check the validity of the input files." + }, + { + "name": "IdentityUnsupported", + "value": "IdentityUnsupported", + "description": "There is an error verifying to the account identity. Check and fix the identity configurations and retry. If unsuccessful, please contact support." + } + ] + } + }, + "MediaJobErrorDetail": { + "type": "object", + "description": "Details of JobOutput errors.", + "properties": { + "code": { + "type": "string", + "description": "Code describing the error detail." + }, + "message": { + "type": "string", + "description": "A human-readable representation of the error." + } + } + }, + "MediaJobErroredEventData": { + "type": "object", + "description": "Job error state event data. Schema of the data property of an EventGridEvent\nfor a Microsoft.Media.JobErrored event.", + "properties": { + "outputs": { + "type": "array", + "description": "Gets the Job outputs.", + "items": { + "$ref": "#/definitions/MediaJobOutput" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "outputs" + ], + "allOf": [ + { + "$ref": "#/definitions/MediaJobStateChangeEventData" + } + ] + }, + "MediaJobFinishedEventData": { + "type": "object", + "description": "Job finished event data. Schema of the data property of an EventGridEvent for a\nMicrosoft.Media.JobFinished event.", + "properties": { + "outputs": { + "type": "array", + "description": "Gets the Job outputs.", + "items": { + "$ref": "#/definitions/MediaJobOutput" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "outputs" + ], + "allOf": [ + { + "$ref": "#/definitions/MediaJobStateChangeEventData" + } + ] + }, + "MediaJobOutput": { + "type": "object", + "description": "The event data for a Job output.", + "properties": { + "@odata.type": { + "type": "string", + "description": "The discriminator for derived types." + }, + "error": { + "$ref": "#/definitions/MediaJobError", + "description": "Gets the Job output error." + }, + "label": { + "type": "string", + "description": "Gets the Job output label." + }, + "progress": { + "type": "integer", + "format": "int64", + "description": "Gets the Job output progress." + }, + "state": { + "$ref": "#/definitions/MediaJobState", + "description": "Gets the Job output state." + } + }, + "discriminator": "@odata.type", + "required": [ + "@odata.type", + "error", + "progress" + ] + }, + "MediaJobOutputAsset": { + "type": "object", + "description": "The event data for a Job output asset.", + "properties": { + "assetName": { + "type": "string", + "description": "Gets the Job output asset name." + } + }, + "allOf": [ + { + "$ref": "#/definitions/MediaJobOutput" + } + ], + "x-ms-discriminator-value": "#Microsoft.Media.JobOutputAsset" + }, + "MediaJobOutputCanceledEventData": { + "type": "object", + "description": "Job output canceled event data. Schema of the data property of an\nEventGridEvent for a Microsoft.Media.JobOutputCanceled event.", + "allOf": [ + { + "$ref": "#/definitions/MediaJobOutputStateChangeEventData" + } + ] + }, + "MediaJobOutputCancelingEventData": { + "type": "object", + "description": "Job output canceling event data. Schema of the data property of an\nEventGridEvent for a Microsoft.Media.JobOutputCanceling event.", + "allOf": [ + { + "$ref": "#/definitions/MediaJobOutputStateChangeEventData" + } + ] + }, + "MediaJobOutputErroredEventData": { + "type": "object", + "description": "Job output error event data. Schema of the data property of an EventGridEvent\nfor a Microsoft.Media.JobOutputErrored event.", + "allOf": [ + { + "$ref": "#/definitions/MediaJobOutputStateChangeEventData" + } + ] + }, + "MediaJobOutputFinishedEventData": { + "type": "object", + "description": "Job output finished event data. Schema of the data property of an\nEventGridEvent for a Microsoft.Media.JobOutputFinished event.", + "allOf": [ + { + "$ref": "#/definitions/MediaJobOutputStateChangeEventData" + } + ] + }, + "MediaJobOutputProcessingEventData": { + "type": "object", + "description": "Job output processing event data. Schema of the data property of an\nEventGridEvent for a Microsoft.Media.JobOutputProcessing event.", + "allOf": [ + { + "$ref": "#/definitions/MediaJobOutputStateChangeEventData" + } + ] + }, + "MediaJobOutputProgressEventData": { + "type": "object", + "description": "Job Output Progress Event Data. Schema of the Data property of an\n EventGridEvent for a Microsoft.Media.JobOutputProgress event.", + "properties": { + "label": { + "type": "string", + "description": "Gets the Job output label." + }, + "progress": { + "type": "integer", + "format": "int64", + "description": "Gets the Job output progress." + }, + "jobCorrelationData": { + "type": "object", + "description": "Gets the Job correlation data.", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "jobCorrelationData" + ] + }, + "MediaJobOutputScheduledEventData": { + "type": "object", + "description": "Job output scheduled event data. Schema of the data property of an\nEventGridEvent for a Microsoft.Media.JobOutputScheduled event.", + "allOf": [ + { + "$ref": "#/definitions/MediaJobOutputStateChangeEventData" + } + ] + }, + "MediaJobOutputStateChangeEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a\n Microsoft.Media.JobOutputStateChange event.", + "properties": { + "previousState": { + "$ref": "#/definitions/MediaJobState", + "description": "The previous state of the Job." + }, + "output": { + "$ref": "#/definitions/MediaJobOutput", + "description": "Gets the output." + }, + "jobCorrelationData": { + "type": "object", + "description": "Gets the Job correlation data.", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "output", + "jobCorrelationData" + ] + }, + "MediaJobProcessingEventData": { + "type": "object", + "description": "Job processing event data. Schema of the data property of an EventGridEvent for\na Microsoft.Media.JobProcessing event.", + "allOf": [ + { + "$ref": "#/definitions/MediaJobStateChangeEventData" + } + ] + }, + "MediaJobRetry": { + "type": "string", + "description": "Media Job Retry Options.", + "enum": [ + "DoNotRetry", + "MayRetry" + ], + "x-ms-enum": { + "name": "MediaJobRetry", + "modelAsString": true, + "values": [ + { + "name": "DoNotRetry", + "value": "DoNotRetry", + "description": "Issue needs to be investigated and then the job resubmitted with corrections or retried once the underlying issue has been corrected." + }, + { + "name": "MayRetry", + "value": "MayRetry", + "description": "Issue may be resolved after waiting for a period of time and resubmitting the same Job." + } + ] + } + }, + "MediaJobScheduledEventData": { + "type": "object", + "description": "Job scheduled event data. Schema of the data property of an EventGridEvent for\na Microsoft.Media.JobScheduled event.", + "allOf": [ + { + "$ref": "#/definitions/MediaJobStateChangeEventData" + } + ] + }, + "MediaJobState": { + "type": "string", + "description": "State of a Media Job.", + "enum": [ + "Canceled", + "Canceling", + "Error", + "Finished", + "Processing", + "Queued", + "Scheduled" + ], + "x-ms-enum": { + "name": "MediaJobState", + "modelAsString": true, + "values": [ + { + "name": "Canceled", + "value": "Canceled", + "description": "The job was canceled. This is a final state for the job." + }, + { + "name": "Canceling", + "value": "Canceling", + "description": "The job is in the process of being canceled. This is a transient state for the job." + }, + { + "name": "Error", + "value": "Error", + "description": "The job has encountered an error. This is a final state for the job." + }, + { + "name": "Finished", + "value": "Finished", + "description": "The job is finished. This is a final state for the job." + }, + { + "name": "Processing", + "value": "Processing", + "description": "The job is processing. This is a transient state for the job." + }, + { + "name": "Queued", + "value": "Queued", + "description": "The job is in a queued state, waiting for resources to become available. This is a transient state." + }, + { + "name": "Scheduled", + "value": "Scheduled", + "description": "The job is being scheduled to run on an available resource. This is a transient state, between queued and processing states." + } + ] + } + }, + "MediaJobStateChangeEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a\n Microsoft.Media.JobStateChange event.", + "properties": { + "previousState": { + "$ref": "#/definitions/MediaJobState", + "description": "The previous state of the Job." + }, + "state": { + "$ref": "#/definitions/MediaJobState", + "description": "The new state of the Job." + }, + "correlationData": { + "type": "object", + "description": "Gets the Job correlation data.", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "correlationData" + ] + }, + "MediaLiveEventChannelArchiveHeartbeatEventData": { + "type": "object", + "description": "Channel Archive heartbeat event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.LiveEventChannelArchiveHeartbeat event.", + "properties": { + "channelLatencyMs": { + "type": "string", + "description": "Gets the channel latency in ms." + }, + "latencyResultCode": { + "type": "string", + "description": "Gets the latency result code." + } + }, + "required": [ + "channelLatencyMs", + "latencyResultCode" + ] + }, + "MediaLiveEventConnectionRejectedEventData": { + "type": "object", + "description": "Encoder connection rejected event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.LiveEventConnectionRejected event.", + "properties": { + "ingestUrl": { + "type": "string", + "description": "Gets the ingest URL provided by the live event." + }, + "streamId": { + "type": "string", + "description": "Gets the stream Id." + }, + "encoderIp": { + "type": "string", + "description": "Gets the remote IP." + }, + "encoderPort": { + "type": "string", + "description": "Gets the remote port." + }, + "resultCode": { + "type": "string", + "description": "Gets the result code." + } + } + }, + "MediaLiveEventEncoderConnectedEventData": { + "type": "object", + "description": "Encoder connect event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.LiveEventEncoderConnected event.", + "properties": { + "ingestUrl": { + "type": "string", + "description": "Gets the ingest URL provided by the live event." + }, + "streamId": { + "type": "string", + "description": "Gets the stream Id." + }, + "encoderIp": { + "type": "string", + "description": "Gets the remote IP." + }, + "encoderPort": { + "type": "string", + "description": "Gets the remote port." + } + } + }, + "MediaLiveEventEncoderDisconnectedEventData": { + "type": "object", + "description": "Encoder disconnected event data. Schema of the Data property of an EventGridEvent for a Microsoft.Media.LiveEventEncoderDisconnected event.", + "properties": { + "ingestUrl": { + "type": "string", + "description": "Gets the ingest URL provided by the live event." + }, + "streamId": { + "type": "string", + "description": "Gets the stream Id." + }, + "encoderIp": { + "type": "string", + "description": "Gets the remote IP." + }, + "encoderPort": { + "type": "string", + "description": "Gets the remote port." + }, + "resultCode": { + "type": "string", + "description": "Gets the result code." + } + } + }, + "MediaLiveEventIncomingDataChunkDroppedEventData": { + "type": "object", + "description": "Ingest fragment dropped event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.LiveEventIncomingDataChunkDropped event.", + "properties": { + "timestamp": { + "type": "string", + "description": "Gets the timestamp of the data chunk dropped." + }, + "trackType": { + "type": "string", + "description": "Gets the type of the track (Audio / Video)." + }, + "bitrate": { + "type": "integer", + "format": "int64", + "description": "Gets the bitrate of the track." + }, + "timescale": { + "type": "string", + "description": "Gets the timescale of the Timestamp." + }, + "resultCode": { + "type": "string", + "description": "Gets the result code for fragment drop operation." + }, + "trackName": { + "type": "string", + "description": "Gets the name of the track for which fragment is dropped." + } + } + }, + "MediaLiveEventIncomingStreamReceivedEventData": { + "type": "object", + "description": "Encoder connect event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.LiveEventIncomingStreamReceived event.", + "properties": { + "ingestUrl": { + "type": "string", + "description": "Gets the ingest URL provided by the live event." + }, + "trackType": { + "type": "string", + "description": "Gets the type of the track (Audio / Video)." + }, + "trackName": { + "type": "string", + "description": "Gets the track name." + }, + "bitrate": { + "type": "integer", + "format": "int64", + "description": "Gets the bitrate of the track." + }, + "encoderIp": { + "type": "string", + "description": "Gets the remote IP." + }, + "encoderPort": { + "type": "string", + "description": "Gets the remote port." + }, + "timestamp": { + "type": "string", + "description": "Gets the first timestamp of the data chunk received." + }, + "duration": { + "type": "string", + "description": "Gets the duration of the first data chunk." + }, + "timescale": { + "type": "string", + "description": "Gets the timescale in which timestamp is represented." + } + } + }, + "MediaLiveEventIncomingStreamsOutOfSyncEventData": { + "type": "object", + "description": "Incoming streams out of sync event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.LiveEventIncomingStreamsOutOfSync event.", + "properties": { + "minLastTimestamp": { + "type": "string", + "description": "Gets the minimum last timestamp received." + }, + "typeOfStreamWithMinLastTimestamp": { + "type": "string", + "description": "Gets the type of stream with minimum last timestamp." + }, + "maxLastTimestamp": { + "type": "string", + "description": "Gets the maximum timestamp among all the tracks (audio or video)." + }, + "typeOfStreamWithMaxLastTimestamp": { + "type": "string", + "description": "Gets the type of stream with maximum last timestamp." + }, + "timescaleOfMinLastTimestamp": { + "type": "string", + "description": "Gets the timescale in which \\\"MinLastTimestamp\\\" is represented." + }, + "timescaleOfMaxLastTimestamp": { + "type": "string", + "description": "Gets the timescale in which \\\"MaxLastTimestamp\\\" is represented." + } + } + }, + "MediaLiveEventIncomingVideoStreamsOutOfSyncEventData": { + "type": "object", + "description": "Incoming video stream out of sync event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.LiveEventIncomingVideoStreamsOutOfSync event.", + "properties": { + "firstTimestamp": { + "type": "string", + "description": "Gets the first timestamp received for one of the quality levels." + }, + "firstDuration": { + "type": "string", + "description": "Gets the duration of the data chunk with first timestamp." + }, + "secondTimestamp": { + "type": "string", + "description": "Gets the timestamp received for some other quality levels." + }, + "secondDuration": { + "type": "string", + "description": "Gets the duration of the data chunk with second timestamp." + }, + "timescale": { + "type": "string", + "description": "Gets the timescale in which both the timestamps and durations are represented." + } + } + }, + "MediaLiveEventIngestHeartbeatEventData": { + "type": "object", + "description": "Ingest heartbeat event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.LiveEventIngestHeartbeat event.", + "properties": { + "trackType": { + "type": "string", + "description": "Gets the type of the track (Audio / Video)." + }, + "trackName": { + "type": "string", + "description": "Gets the track name." + }, + "transcriptionLanguage": { + "type": "string", + "description": "Gets the Live Transcription language." + }, + "transcriptionState": { + "type": "string", + "description": "Gets the Live Transcription state." + }, + "bitrate": { + "type": "integer", + "format": "int64", + "description": "Gets the bitrate of the track." + }, + "incomingBitrate": { + "type": "integer", + "format": "int64", + "description": "Gets the incoming bitrate." + }, + "ingestDriftValue": { + "type": "string", + "description": "Gets the track ingest drift value." + }, + "lastFragmentArrivalTime": { + "type": "string", + "description": "Gets the arrival UTC time of the last fragment." + }, + "lastTimestamp": { + "type": "string", + "description": "Gets the last timestamp." + }, + "timescale": { + "type": "string", + "description": "Gets the timescale of the last timestamp." + }, + "overlapCount": { + "type": "integer", + "format": "int64", + "description": "Gets the fragment Overlap count." + }, + "discontinuityCount": { + "type": "integer", + "format": "int64", + "description": "Gets the fragment Discontinuity count." + }, + "nonincreasingCount": { + "type": "integer", + "format": "int64", + "description": "Gets Non increasing count." + }, + "unexpectedBitrate": { + "type": "boolean", + "description": "Gets a value indicating whether unexpected bitrate is present or not." + }, + "state": { + "type": "string", + "description": "Gets the state of the live event." + }, + "healthy": { + "type": "boolean", + "description": "Gets a value indicating whether preview is healthy or not." + } + } + }, + "MediaLiveEventTrackDiscontinuityDetectedEventData": { + "type": "object", + "description": "Ingest track discontinuity detected event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.LiveEventTrackDiscontinuityDetected event.", + "properties": { + "trackType": { + "type": "string", + "description": "Gets the type of the track (Audio / Video)." + }, + "trackName": { + "type": "string", + "description": "Gets the track name." + }, + "bitrate": { + "type": "integer", + "format": "int64", + "description": "Gets the bitrate." + }, + "previousTimestamp": { + "type": "string", + "description": "Gets the timestamp of the previous fragment." + }, + "newTimestamp": { + "type": "string", + "description": "Gets the timestamp of the current fragment." + }, + "timescale": { + "type": "string", + "description": "Gets the timescale in which both timestamps and discontinuity gap are represented." + }, + "discontinuityGap": { + "type": "string", + "description": "Gets the discontinuity gap between PreviousTimestamp and NewTimestamp." + } + } + }, + "MicrosoftTeamsAppIdentifierModel": { + "type": "object", + "description": "A Microsoft Teams application.", + "properties": { + "appId": { + "type": "string", + "description": "The Id of the Microsoft Teams application" + }, + "cloud": { + "$ref": "#/definitions/CommunicationCloudEnvironmentModel", + "description": "The cloud that the Microsoft Teams application belongs to. By default 'public' if missing." + } + }, + "required": [ + "appId" + ] + }, + "MicrosoftTeamsUserIdentifierModel": { + "type": "object", + "description": "A Microsoft Teams user.", + "properties": { + "userId": { + "type": "string", + "description": "The Id of the Microsoft Teams user. If not anonymous, this is the AAD object Id of the user." + }, + "isAnonymous": { + "type": "boolean", + "description": "True if the Microsoft Teams user is anonymous. By default false if missing." + }, + "cloud": { + "$ref": "#/definitions/CommunicationCloudEnvironmentModel", + "description": "The cloud that the Microsoft Teams user belongs to. By default 'public' if missing." + } + }, + "required": [ + "userId" + ] + }, + "PhoneNumberIdentifierModel": { + "type": "object", + "description": "A phone number.", + "properties": { + "value": { + "type": "string", + "description": "The phone number in E.164 format." + } + }, + "required": [ + "value" + ] + }, + "PolicyInsightsPolicyStateChangedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.PolicyInsights.PolicyStateChanged event.", + "properties": { + "timestamp": { + "type": "string", + "format": "date-time", + "description": "The time that the resource was scanned by Azure Policy in the Universal ISO 8601 DateTime format yyyy-MM-ddTHH:mm:ss.fffffffZ." + }, + "policyAssignmentId": { + "type": "string", + "description": "The resource ID of the policy assignment." + }, + "policyDefinitionId": { + "type": "string", + "description": "The resource ID of the policy definition." + }, + "policyDefinitionReferenceId": { + "type": "string", + "description": "The reference ID for the policy definition inside the initiative definition, if the policy assignment is for an initiative. May be empty." + }, + "complianceState": { + "type": "string", + "description": "The compliance state of the resource with respect to the policy assignment." + }, + "subscriptionId": { + "type": "string", + "description": "The subscription ID of the resource." + }, + "complianceReasonCode": { + "type": "string", + "description": "The compliance reason code. May be empty." + } + }, + "required": [ + "timestamp" + ] + }, + "PolicyInsightsPolicyStateCreatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.PolicyInsights.PolicyStateCreated event.", + "properties": { + "timestamp": { + "type": "string", + "format": "date-time", + "description": "The time that the resource was scanned by Azure Policy in the Universal ISO 8601 DateTime format yyyy-MM-ddTHH:mm:ss.fffffffZ." + }, + "policyAssignmentId": { + "type": "string", + "description": "The resource ID of the policy assignment." + }, + "policyDefinitionId": { + "type": "string", + "description": "The resource ID of the policy definition." + }, + "policyDefinitionReferenceId": { + "type": "string", + "description": "The reference ID for the policy definition inside the initiative definition, if the policy assignment is for an initiative. May be empty." + }, + "complianceState": { + "type": "string", + "description": "The compliance state of the resource with respect to the policy assignment." + }, + "subscriptionId": { + "type": "string", + "description": "The subscription ID of the resource." + }, + "complianceReasonCode": { + "type": "string", + "description": "The compliance reason code. May be empty." + } + }, + "required": [ + "timestamp" + ] + }, + "PolicyInsightsPolicyStateDeletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.PolicyInsights.PolicyStateDeleted event.", + "properties": { + "timestamp": { + "type": "string", + "format": "date-time", + "description": "The time that the resource was scanned by Azure Policy in the Universal ISO 8601 DateTime format yyyy-MM-ddTHH:mm:ss.fffffffZ." + }, + "policyAssignmentId": { + "type": "string", + "description": "The resource ID of the policy assignment." + }, + "policyDefinitionId": { + "type": "string", + "description": "The resource ID of the policy definition." + }, + "policyDefinitionReferenceId": { + "type": "string", + "description": "The reference ID for the policy definition inside the initiative definition, if the policy assignment is for an initiative. May be empty." + }, + "complianceState": { + "type": "string", + "description": "The compliance state of the resource with respect to the policy assignment." + }, + "subscriptionId": { + "type": "string", + "description": "The subscription ID of the resource." + }, + "complianceReasonCode": { + "type": "string", + "description": "The compliance reason code. May be empty." + } + }, + "required": [ + "timestamp" + ] + }, + "RedisExportRDBCompletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Cache.ExportRDBCompleted event.", + "properties": { + "timestamp": { + "type": "string", + "format": "date-time", + "description": "The time at which the event occurred." + }, + "name": { + "type": "string", + "description": "The name of this event." + }, + "status": { + "type": "string", + "description": "The status of this event. Failed or succeeded" + } + }, + "required": [ + "timestamp" + ] + }, + "RedisImportRDBCompletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Cache.ImportRDBCompleted event.", + "properties": { + "timestamp": { + "type": "string", + "format": "date-time", + "description": "The time at which the event occurred." + }, + "name": { + "type": "string", + "description": "The name of this event." + }, + "status": { + "type": "string", + "description": "The status of this event. Failed or succeeded" + } + }, + "required": [ + "timestamp" + ] + }, + "RedisPatchingCompletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Cache.PatchingCompleted event.", + "properties": { + "timestamp": { + "type": "string", + "format": "date-time", + "description": "The time at which the event occurred." + }, + "name": { + "type": "string", + "description": "The name of this event." + }, + "status": { + "type": "string", + "description": "The status of this event. Failed or succeeded" + } + }, + "required": [ + "timestamp" + ] + }, + "RedisScalingCompletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Cache.ScalingCompleted event.", + "properties": { + "timestamp": { + "type": "string", + "format": "date-time", + "description": "The time at which the event occurred." + }, + "name": { + "type": "string", + "description": "The name of this event." + }, + "status": { + "type": "string", + "description": "The status of this event. Failed or succeeded" + } + }, + "required": [ + "timestamp" + ] + }, + "ResourceActionCancelEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceActionCancel event. This is raised when a resource action operation is canceled.", + "properties": { + "tenantId": { + "type": "string", + "description": "The tenant ID of the resource." + }, + "subscriptionId": { + "type": "string", + "description": "The subscription ID of the resource." + }, + "resourceGroup": { + "type": "string", + "description": "The resource group of the resource." + }, + "resourceProvider": { + "type": "string", + "description": "The resource provider performing the operation." + }, + "resourceUri": { + "type": "string", + "description": "The URI of the resource in the operation." + }, + "operationName": { + "type": "string", + "description": "The operation that was performed." + }, + "status": { + "type": "string", + "description": "The status of the operation." + }, + "authorization": { + "$ref": "#/definitions/ResourceAuthorization", + "description": "The requested authorization for the operation." + }, + "claims": { + "type": "object", + "description": "The properties of the claims.", + "additionalProperties": { + "type": "string" + } + }, + "correlationId": { + "type": "string", + "description": "An operation ID used for troubleshooting." + }, + "httpRequest": { + "$ref": "#/definitions/ResourceHttpRequest", + "description": "The details of the operation." + } + }, + "required": [ + "authorization", + "claims", + "httpRequest" + ] + }, + "ResourceActionFailureEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceActionFailure event. This is raised when a resource action operation fails.", + "properties": { + "tenantId": { + "type": "string", + "description": "The tenant ID of the resource." + }, + "subscriptionId": { + "type": "string", + "description": "The subscription ID of the resource." + }, + "resourceGroup": { + "type": "string", + "description": "The resource group of the resource." + }, + "resourceProvider": { + "type": "string", + "description": "The resource provider performing the operation." + }, + "resourceUri": { + "type": "string", + "description": "The URI of the resource in the operation." + }, + "operationName": { + "type": "string", + "description": "The operation that was performed." + }, + "status": { + "type": "string", + "description": "The status of the operation." + }, + "authorization": { + "$ref": "#/definitions/ResourceAuthorization", + "description": "The requested authorization for the operation." + }, + "claims": { + "type": "object", + "description": "The properties of the claims.", + "additionalProperties": { + "type": "string" + } + }, + "correlationId": { + "type": "string", + "description": "An operation ID used for troubleshooting." + }, + "httpRequest": { + "$ref": "#/definitions/ResourceHttpRequest", + "description": "The details of the operation." + } + }, + "required": [ + "authorization", + "claims", + "httpRequest" + ] + }, + "ResourceActionSuccessEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceActionSuccess event. This is raised when a resource action operation succeeds.", + "properties": { + "tenantId": { + "type": "string", + "description": "The tenant ID of the resource." + }, + "subscriptionId": { + "type": "string", + "description": "The subscription ID of the resource." + }, + "resourceGroup": { + "type": "string", + "description": "The resource group of the resource." + }, + "resourceProvider": { + "type": "string", + "description": "The resource provider performing the operation." + }, + "resourceUri": { + "type": "string", + "description": "The URI of the resource in the operation." + }, + "operationName": { + "type": "string", + "description": "The operation that was performed." + }, + "status": { + "type": "string", + "description": "The status of the operation." + }, + "authorization": { + "$ref": "#/definitions/ResourceAuthorization", + "description": "The requested authorization for the operation." + }, + "claims": { + "type": "object", + "description": "The properties of the claims.", + "additionalProperties": { + "type": "string" + } + }, + "correlationId": { + "type": "string", + "description": "An operation ID used for troubleshooting." + }, + "httpRequest": { + "$ref": "#/definitions/ResourceHttpRequest", + "description": "The details of the operation." + } + }, + "required": [ + "authorization", + "claims", + "httpRequest" + ] + }, + "ResourceAuthorization": { + "type": "object", + "description": "The details of the authorization for the resource.", + "properties": { + "scope": { + "type": "string", + "description": "The scope of the authorization." + }, + "action": { + "type": "string", + "description": "The action being requested." + }, + "evidence": { + "type": "object", + "description": "The evidence for the authorization.", + "additionalProperties": { + "type": "string" + } + } + }, + "required": [ + "evidence" + ] + }, + "ResourceDeleteCancelEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceDeleteCancel event. This is raised when a resource delete operation is canceled.", + "properties": { + "tenantId": { + "type": "string", + "description": "The tenant ID of the resource." + }, + "subscriptionId": { + "type": "string", + "description": "The subscription ID of the resource." + }, + "resourceGroup": { + "type": "string", + "description": "The resource group of the resource." + }, + "resourceProvider": { + "type": "string", + "description": "The resource provider performing the operation." + }, + "resourceUri": { + "type": "string", + "description": "The URI of the resource in the operation." + }, + "operationName": { + "type": "string", + "description": "The operation that was performed." + }, + "status": { + "type": "string", + "description": "The status of the operation." + }, + "authorization": { + "$ref": "#/definitions/ResourceAuthorization", + "description": "The requested authorization for the operation." + }, + "claims": { + "type": "object", + "description": "The properties of the claims.", + "additionalProperties": { + "type": "string" + } + }, + "correlationId": { + "type": "string", + "description": "An operation ID used for troubleshooting." + }, + "httpRequest": { + "$ref": "#/definitions/ResourceHttpRequest", + "description": "The details of the operation." + } + }, + "required": [ + "authorization", + "claims", + "httpRequest" + ] + }, + "ResourceDeleteFailureEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceDeleteFailure event. This is raised when a resource delete operation fails.", + "properties": { + "tenantId": { + "type": "string", + "description": "The tenant ID of the resource." + }, + "subscriptionId": { + "type": "string", + "description": "The subscription ID of the resource." + }, + "resourceGroup": { + "type": "string", + "description": "The resource group of the resource." + }, + "resourceProvider": { + "type": "string", + "description": "The resource provider performing the operation." + }, + "resourceUri": { + "type": "string", + "description": "The URI of the resource in the operation." + }, + "operationName": { + "type": "string", + "description": "The operation that was performed." + }, + "status": { + "type": "string", + "description": "The status of the operation." + }, + "authorization": { + "$ref": "#/definitions/ResourceAuthorization", + "description": "The requested authorization for the operation." + }, + "claims": { + "type": "object", + "description": "The properties of the claims.", + "additionalProperties": { + "type": "string" + } + }, + "correlationId": { + "type": "string", + "description": "An operation ID used for troubleshooting." + }, + "httpRequest": { + "$ref": "#/definitions/ResourceHttpRequest", + "description": "The details of the operation." + } + }, + "required": [ + "authorization", + "claims", + "httpRequest" + ] + }, + "ResourceDeleteSuccessEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceDeleteSuccess event. This is raised when a resource delete operation succeeds.", + "properties": { + "tenantId": { + "type": "string", + "description": "The tenant ID of the resource." + }, + "subscriptionId": { + "type": "string", + "description": "The subscription ID of the resource." + }, + "resourceGroup": { + "type": "string", + "description": "The resource group of the resource." + }, + "resourceProvider": { + "type": "string", + "description": "The resource provider performing the operation." + }, + "resourceUri": { + "type": "string", + "description": "The URI of the resource in the operation." + }, + "operationName": { + "type": "string", + "description": "The operation that was performed." + }, + "status": { + "type": "string", + "description": "The status of the operation." + }, + "authorization": { + "$ref": "#/definitions/ResourceAuthorization", + "description": "The requested authorization for the operation." + }, + "claims": { + "type": "object", + "description": "The properties of the claims.", + "additionalProperties": { + "type": "string" + } + }, + "correlationId": { + "type": "string", + "description": "An operation ID used for troubleshooting." + }, + "httpRequest": { + "$ref": "#/definitions/ResourceHttpRequest", + "description": "The details of the operation." + } + }, + "required": [ + "authorization", + "claims", + "httpRequest" + ] + }, + "ResourceHttpRequest": { + "type": "object", + "description": "The details of the HTTP request.", + "properties": { + "clientRequestId": { + "type": "string", + "description": "The client request ID." + }, + "clientIpAddress": { + "type": "string", + "description": "The client IP address." + }, + "method": { + "type": "string", + "description": "The request method." + }, + "url": { + "type": "string", + "description": "The url used in the request." + } + } + }, + "ResourceNotificationsHealthResourcesAnnotatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a\nMicrosoft.ResourceNotifications.HealthResources.ResourceAnnotated event.", + "allOf": [ + { + "$ref": "#/definitions/ResourceNotificationsResourceUpdatedEventData" + } + ] + }, + "ResourceNotificationsHealthResourcesAvailabilityStatusChangedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a\nMicrosoft.ResourceNotifications.HealthResources.AvailabilityStatusChanged\nevent.", + "allOf": [ + { + "$ref": "#/definitions/ResourceNotificationsResourceUpdatedEventData" + } + ] + }, + "ResourceNotificationsOperationalDetails": { + "type": "object", + "description": "details of operational info", + "properties": { + "resourceEventTime": { + "type": "string", + "format": "date-time", + "description": "Date and Time when resource was updated" + } + }, + "required": [ + "resourceEventTime" + ] + }, + "ResourceNotificationsResourceDeletedDetails": { + "type": "object", + "description": "Describes the schema of the properties under resource info which are common\nacross all ARN system topic delete events", + "properties": { + "id": { + "type": "string", + "description": "id of the resource for which the event is being emitted" + }, + "name": { + "type": "string", + "description": "name of the resource for which the event is being emitted" + }, + "type": { + "type": "string", + "description": "the type of the resource for which the event is being emitted" + } + } + }, + "ResourceNotificationsResourceDeletedEventData": { + "type": "object", + "description": "Describes the schema of the common properties across all ARN system topic\ndelete events", + "properties": { + "resourceInfo": { + "$ref": "#/definitions/ResourceNotificationsResourceDeletedDetails", + "description": "resourceInfo details for delete event", + "x-ms-client-name": "resourceDetails" + }, + "operationalInfo": { + "$ref": "#/definitions/ResourceNotificationsOperationalDetails", + "description": "details about operational info", + "x-ms-client-name": "operationalDetails" + } + }, + "required": [ + "resourceInfo", + "operationalInfo" + ] + }, + "ResourceNotificationsResourceManagementCreatedOrUpdatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a\nMicrosoft.ResourceNotifications.Resources.CreatedOrUpdated event.", + "allOf": [ + { + "$ref": "#/definitions/ResourceNotificationsResourceUpdatedEventData" + } + ] + }, + "ResourceNotificationsResourceManagementDeletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a\nMicrosoft.ResourceNotifications.Resources.Deleted event.", + "allOf": [ + { + "$ref": "#/definitions/ResourceNotificationsResourceDeletedEventData" + } + ] + }, + "ResourceNotificationsResourceUpdatedDetails": { + "type": "object", + "description": "Describes the schema of the properties under resource info which are common\nacross all ARN system topic events", + "properties": { + "id": { + "type": "string", + "description": "id of the resource for which the event is being emitted" + }, + "name": { + "type": "string", + "description": "name of the resource for which the event is being emitted" + }, + "type": { + "type": "string", + "description": "the type of the resource for which the event is being emitted" + }, + "location": { + "type": "string", + "description": "the location of the resource for which the event is being emitted" + }, + "tags": { + "type": "object", + "description": "the tags on the resource for which the event is being emitted", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "type": "object", + "description": "properties in the payload of the resource for which the event is being emitted", + "additionalProperties": {} + } + }, + "required": [ + "tags", + "properties" + ] + }, + "ResourceNotificationsResourceUpdatedEventData": { + "type": "object", + "description": "Describes the schema of the common properties across all ARN system topic events", + "properties": { + "resourceInfo": { + "$ref": "#/definitions/ResourceNotificationsResourceUpdatedDetails", + "description": "resourceInfo details for update event", + "x-ms-client-name": "resourceDetails" + }, + "operationalInfo": { + "$ref": "#/definitions/ResourceNotificationsOperationalDetails", + "description": "details about operational info", + "x-ms-client-name": "operationalDetails" + }, + "apiVersion": { + "type": "string", + "description": "api version of the resource properties bag" + } + }, + "required": [ + "resourceInfo", + "operationalInfo" + ] + }, + "ResourceWriteCancelEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceWriteCancel event. This is raised when a resource create or update operation is canceled.", + "properties": { + "tenantId": { + "type": "string", + "description": "The tenant ID of the resource." + }, + "subscriptionId": { + "type": "string", + "description": "The subscription ID of the resource." + }, + "resourceGroup": { + "type": "string", + "description": "The resource group of the resource." + }, + "resourceProvider": { + "type": "string", + "description": "The resource provider performing the operation." + }, + "resourceUri": { + "type": "string", + "description": "The URI of the resource in the operation." + }, + "operationName": { + "type": "string", + "description": "The operation that was performed." + }, + "status": { + "type": "string", + "description": "The status of the operation." + }, + "authorization": { + "$ref": "#/definitions/ResourceAuthorization", + "description": "The requested authorization for the operation." + }, + "claims": { + "type": "object", + "description": "The properties of the claims.", + "additionalProperties": { + "type": "string" + } + }, + "correlationId": { + "type": "string", + "description": "An operation ID used for troubleshooting." + }, + "httpRequest": { + "$ref": "#/definitions/ResourceHttpRequest", + "description": "The details of the operation." + } + }, + "required": [ + "authorization", + "claims", + "httpRequest" + ] + }, + "ResourceWriteFailureEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceWriteFailure event. This is raised when a resource create or update operation fails.", + "properties": { + "tenantId": { + "type": "string", + "description": "The tenant ID of the resource." + }, + "subscriptionId": { + "type": "string", + "description": "The subscription ID of the resource." + }, + "resourceGroup": { + "type": "string", + "description": "The resource group of the resource." + }, + "resourceProvider": { + "type": "string", + "description": "The resource provider performing the operation." + }, + "resourceUri": { + "type": "string", + "description": "The URI of the resource in the operation." + }, + "operationName": { + "type": "string", + "description": "The operation that was performed." + }, + "status": { + "type": "string", + "description": "The status of the operation." + }, + "authorization": { + "$ref": "#/definitions/ResourceAuthorization", + "description": "The requested authorization for the operation." + }, + "claims": { + "type": "object", + "description": "The properties of the claims.", + "additionalProperties": { + "type": "string" + } + }, + "correlationId": { + "type": "string", + "description": "An operation ID used for troubleshooting." + }, + "httpRequest": { + "$ref": "#/definitions/ResourceHttpRequest", + "description": "The details of the operation." + } + }, + "required": [ + "authorization", + "claims", + "httpRequest" + ] + }, + "ResourceWriteSuccessEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Resources.ResourceWriteSuccess event. This is raised when a resource create or update operation succeeds.", + "properties": { + "tenantId": { + "type": "string", + "description": "The tenant ID of the resource." + }, + "subscriptionId": { + "type": "string", + "description": "The subscription ID of the resource." + }, + "resourceGroup": { + "type": "string", + "description": "The resource group of the resource." + }, + "resourceProvider": { + "type": "string", + "description": "The resource provider performing the operation." + }, + "resourceUri": { + "type": "string", + "description": "The URI of the resource in the operation." + }, + "operationName": { + "type": "string", + "description": "The operation that was performed." + }, + "status": { + "type": "string", + "description": "The status of the operation." + }, + "authorization": { + "$ref": "#/definitions/ResourceAuthorization", + "description": "The requested authorization for the operation." + }, + "claims": { + "type": "object", + "description": "The properties of the claims.", + "additionalProperties": { + "type": "string" + } + }, + "correlationId": { + "type": "string", + "description": "An operation ID used for troubleshooting." + }, + "httpRequest": { + "$ref": "#/definitions/ResourceHttpRequest", + "description": "The details of the operation." + } + }, + "required": [ + "authorization", + "claims", + "httpRequest" + ] + }, + "ServiceBusActiveMessagesAvailablePeriodicNotificationsEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ServiceBus.ActiveMessagesAvailablePeriodicNotifications event.", + "properties": { + "namespaceName": { + "type": "string", + "description": "The namespace name of the Microsoft.ServiceBus resource." + }, + "requestUri": { + "type": "string", + "description": "The endpoint of the Microsoft.ServiceBus resource." + }, + "entityType": { + "type": "string", + "description": "The entity type of the Microsoft.ServiceBus resource. Could be one of 'queue' or 'subscriber'." + }, + "queueName": { + "type": "string", + "description": "The name of the Microsoft.ServiceBus queue. If the entity type is of type 'subscriber', then this value will be null." + }, + "topicName": { + "type": "string", + "description": "The name of the Microsoft.ServiceBus topic. If the entity type is of type 'queue', then this value will be null." + }, + "subscriptionName": { + "type": "string", + "description": "The name of the Microsoft.ServiceBus topic's subscription. If the entity type is of type 'queue', then this value will be null." + } + } + }, + "ServiceBusActiveMessagesAvailableWithNoListenersEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ServiceBus.ActiveMessagesAvailableWithNoListeners event.", + "properties": { + "namespaceName": { + "type": "string", + "description": "The namespace name of the Microsoft.ServiceBus resource." + }, + "requestUri": { + "type": "string", + "description": "The endpoint of the Microsoft.ServiceBus resource." + }, + "entityType": { + "type": "string", + "description": "The entity type of the Microsoft.ServiceBus resource. Could be one of 'queue' or 'subscriber'." + }, + "queueName": { + "type": "string", + "description": "The name of the Microsoft.ServiceBus queue. If the entity type is of type 'subscriber', then this value will be null." + }, + "topicName": { + "type": "string", + "description": "The name of the Microsoft.ServiceBus topic. If the entity type is of type 'queue', then this value will be null." + }, + "subscriptionName": { + "type": "string", + "description": "The name of the Microsoft.ServiceBus topic's subscription. If the entity type is of type 'queue', then this value will be null." + } + } + }, + "ServiceBusDeadletterMessagesAvailablePeriodicNotificationsEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ServiceBus.DeadletterMessagesAvailablePeriodicNotifications event.", + "properties": { + "namespaceName": { + "type": "string", + "description": "The namespace name of the Microsoft.ServiceBus resource." + }, + "requestUri": { + "type": "string", + "description": "The endpoint of the Microsoft.ServiceBus resource." + }, + "entityType": { + "type": "string", + "description": "The entity type of the Microsoft.ServiceBus resource. Could be one of 'queue' or 'subscriber'." + }, + "queueName": { + "type": "string", + "description": "The name of the Microsoft.ServiceBus queue. If the entity type is of type 'subscriber', then this value will be null." + }, + "topicName": { + "type": "string", + "description": "The name of the Microsoft.ServiceBus topic. If the entity type is of type 'queue', then this value will be null." + }, + "subscriptionName": { + "type": "string", + "description": "The name of the Microsoft.ServiceBus topic's subscription. If the entity type is of type 'queue', then this value will be null." + } + } + }, + "ServiceBusDeadletterMessagesAvailableWithNoListenersEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListeners event.", + "properties": { + "namespaceName": { + "type": "string", + "description": "The namespace name of the Microsoft.ServiceBus resource." + }, + "requestUri": { + "type": "string", + "description": "The endpoint of the Microsoft.ServiceBus resource." + }, + "entityType": { + "type": "string", + "description": "The entity type of the Microsoft.ServiceBus resource. Could be one of 'queue' or 'subscriber'." + }, + "queueName": { + "type": "string", + "description": "The name of the Microsoft.ServiceBus queue. If the entity type is of type 'subscriber', then this value will be null." + }, + "topicName": { + "type": "string", + "description": "The name of the Microsoft.ServiceBus topic. If the entity type is of type 'queue', then this value will be null." + }, + "subscriptionName": { + "type": "string", + "description": "The name of the Microsoft.ServiceBus topic's subscription. If the entity type is of type 'queue', then this value will be null." + } + } + }, + "SignalRServiceClientConnectionConnectedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.SignalRService.ClientConnectionConnected event.", + "properties": { + "timestamp": { + "type": "string", + "format": "date-time", + "description": "The time at which the event occurred." + }, + "hubName": { + "type": "string", + "description": "The hub of connected client connection." + }, + "connectionId": { + "type": "string", + "description": "The connection Id of connected client connection." + }, + "userId": { + "type": "string", + "description": "The user Id of connected client connection." + } + }, + "required": [ + "timestamp" + ] + }, + "SignalRServiceClientConnectionDisconnectedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.SignalRService.ClientConnectionDisconnected event.", + "properties": { + "timestamp": { + "type": "string", + "format": "date-time", + "description": "The time at which the event occurred." + }, + "hubName": { + "type": "string", + "description": "The hub of connected client connection." + }, + "connectionId": { + "type": "string", + "description": "The connection Id of connected client connection." + }, + "userId": { + "type": "string", + "description": "The user Id of connected client connection." + }, + "errorMessage": { + "type": "string", + "description": "The message of error that cause the client connection disconnected." + } + }, + "required": [ + "timestamp" + ] + }, + "StampKind": { + "type": "string", + "description": "Kind of environment where app service plan is.", + "enum": [ + "Public", + "AseV1", + "AseV2" + ], + "x-ms-enum": { + "name": "StampKind", + "modelAsString": true, + "values": [ + { + "name": "Public", + "value": "Public", + "description": "App Service Plan is running on a public stamp." + }, + { + "name": "AseV1", + "value": "AseV1", + "description": "App Service Plan is running on an App Service Environment V1." + }, + { + "name": "AseV2", + "value": "AseV2", + "description": "App Service Plan is running on an App Service Environment V2." + } + ] + } + }, + "StorageAsyncOperationInitiatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Storage.AsyncOperationInitiated event.", + "properties": { + "api": { + "type": "string", + "description": "The name of the API/operation that triggered this event." + }, + "clientRequestId": { + "type": "string", + "description": "A request id provided by the client of the storage API operation that triggered this event." + }, + "requestId": { + "type": "string", + "description": "The request id generated by the storage service for the storage API operation that triggered this event." + }, + "contentType": { + "type": "string", + "description": "The content type of the blob. This is the same as what would be returned in the Content-Type header from the blob." + }, + "contentLength": { + "type": "integer", + "format": "int64", + "description": "The size of the blob in bytes. This is the same as what would be returned in the Content-Length header from the blob." + }, + "blobType": { + "type": "string", + "description": "The type of blob." + }, + "url": { + "type": "string", + "description": "The path to the blob." + }, + "sequencer": { + "type": "string", + "description": "An opaque string value representing the logical sequence of events for any particular blob name. Users can use standard string comparison to understand the relative sequence of two events on the same blob name." + }, + "identity": { + "type": "string", + "description": "The identity of the requester that triggered this event." + }, + "storageDiagnostics": { + "type": "object", + "description": "For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers.", + "additionalProperties": {} + } + }, + "required": [ + "storageDiagnostics" + ] + }, + "StorageBlobCreatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Storage.BlobCreated event.", + "properties": { + "api": { + "type": "string", + "description": "The name of the API/operation that triggered this event." + }, + "clientRequestId": { + "type": "string", + "description": "A request id provided by the client of the storage API operation that triggered this event." + }, + "requestId": { + "type": "string", + "description": "The request id generated by the storage service for the storage API operation that triggered this event." + }, + "eTag": { + "type": "string", + "description": "The etag of the blob at the time this event was triggered." + }, + "contentType": { + "type": "string", + "description": "The content type of the blob. This is the same as what would be returned in the Content-Type header from the blob." + }, + "contentLength": { + "type": "integer", + "format": "int64", + "description": "The size of the blob in bytes. This is the same as what would be returned in the Content-Length header from the blob." + }, + "contentOffset": { + "type": "integer", + "format": "int64", + "description": "The offset of the blob in bytes." + }, + "blobType": { + "type": "string", + "description": "The type of blob." + }, + "url": { + "type": "string", + "description": "The path to the blob." + }, + "sequencer": { + "type": "string", + "description": "An opaque string value representing the logical sequence of events for any particular blob name. Users can use standard string comparison to understand the relative sequence of two events on the same blob name." + }, + "identity": { + "type": "string", + "description": "The identity of the requester that triggered this event." + }, + "storageDiagnostics": { + "type": "object", + "description": "For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers.", + "additionalProperties": {} + } + }, + "required": [ + "storageDiagnostics" + ] + }, + "StorageBlobDeletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Storage.BlobDeleted event.", + "properties": { + "api": { + "type": "string", + "description": "The name of the API/operation that triggered this event." + }, + "clientRequestId": { + "type": "string", + "description": "A request id provided by the client of the storage API operation that triggered this event." + }, + "requestId": { + "type": "string", + "description": "The request id generated by the storage service for the storage API operation that triggered this event." + }, + "contentType": { + "type": "string", + "description": "The content type of the blob. This is the same as what would be returned in the Content-Type header from the blob." + }, + "blobType": { + "type": "string", + "description": "The type of blob." + }, + "url": { + "type": "string", + "description": "The path to the blob." + }, + "sequencer": { + "type": "string", + "description": "An opaque string value representing the logical sequence of events for any particular blob name. Users can use standard string comparison to understand the relative sequence of two events on the same blob name." + }, + "identity": { + "type": "string", + "description": "The identity of the requester that triggered this event." + }, + "storageDiagnostics": { + "type": "object", + "description": "For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers.", + "additionalProperties": {} + } + }, + "required": [ + "storageDiagnostics" + ] + }, + "StorageBlobInventoryPolicyCompletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for an Microsoft.Storage.BlobInventoryPolicyCompleted event.", + "properties": { + "scheduleDateTime": { + "type": "string", + "format": "date-time", + "description": "The time at which inventory policy was scheduled." + }, + "accountName": { + "type": "string", + "description": "The account name for which inventory policy is registered." + }, + "ruleName": { + "type": "string", + "description": "The rule name for inventory policy." + }, + "policyRunStatus": { + "type": "string", + "description": "The status of inventory run, it can be Succeeded/PartiallySucceeded/Failed." + }, + "policyRunStatusMessage": { + "type": "string", + "description": "The status message for inventory run." + }, + "policyRunId": { + "type": "string", + "description": "The policy run id for inventory run." + }, + "manifestBlobUrl": { + "type": "string", + "description": "The blob URL for manifest file for inventory run." + } + }, + "required": [ + "scheduleDateTime" + ] + }, + "StorageBlobRenamedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Storage.BlobRenamed event.", + "properties": { + "api": { + "type": "string", + "description": "The name of the API/operation that triggered this event." + }, + "clientRequestId": { + "type": "string", + "description": "A request id provided by the client of the storage API operation that triggered this event." + }, + "requestId": { + "type": "string", + "description": "The request id generated by the storage service for the storage API operation that triggered this event." + }, + "sourceUrl": { + "type": "string", + "description": "The path to the blob that was renamed." + }, + "destinationUrl": { + "type": "string", + "description": "The new path to the blob after the rename operation." + }, + "sequencer": { + "type": "string", + "description": "An opaque string value representing the logical sequence of events for any particular blob name. Users can use standard string comparison to understand the relative sequence of two events on the same blob name." + }, + "identity": { + "type": "string", + "description": "The identity of the requester that triggered this event." + }, + "storageDiagnostics": { + "type": "object", + "description": "For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers.", + "additionalProperties": {} + } + }, + "required": [ + "storageDiagnostics" + ] + }, + "StorageBlobTierChangedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Storage.BlobTierChanged event.", + "properties": { + "api": { + "type": "string", + "description": "The name of the API/operation that triggered this event." + }, + "clientRequestId": { + "type": "string", + "description": "A request id provided by the client of the storage API operation that triggered this event." + }, + "requestId": { + "type": "string", + "description": "The request id generated by the storage service for the storage API operation that triggered this event." + }, + "contentType": { + "type": "string", + "description": "The content type of the blob. This is the same as what would be returned in the Content-Type header from the blob." + }, + "contentLength": { + "type": "integer", + "format": "int64", + "description": "The size of the blob in bytes. This is the same as what would be returned in the Content-Length header from the blob." + }, + "blobType": { + "type": "string", + "description": "The type of blob." + }, + "url": { + "type": "string", + "description": "The path to the blob." + }, + "sequencer": { + "type": "string", + "description": "An opaque string value representing the logical sequence of events for any particular blob name. Users can use standard string comparison to understand the relative sequence of two events on the same blob name." + }, + "identity": { + "type": "string", + "description": "The identity of the requester that triggered this event." + }, + "storageDiagnostics": { + "type": "object", + "description": "For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers.", + "additionalProperties": {} + } + }, + "required": [ + "storageDiagnostics" + ] + }, + "StorageDirectoryCreatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Storage.DirectoryCreated event.", + "properties": { + "api": { + "type": "string", + "description": "The name of the API/operation that triggered this event." + }, + "clientRequestId": { + "type": "string", + "description": "A request id provided by the client of the storage API operation that triggered this event." + }, + "requestId": { + "type": "string", + "description": "The request id generated by the storage service for the storage API operation that triggered this event." + }, + "eTag": { + "type": "string", + "description": "The etag of the directory at the time this event was triggered." + }, + "url": { + "type": "string", + "description": "The path to the directory." + }, + "sequencer": { + "type": "string", + "description": "An opaque string value representing the logical sequence of events for any particular directory name. Users can use standard string comparison to understand the relative sequence of two events on the same directory name." + }, + "identity": { + "type": "string", + "description": "The identity of the requester that triggered this event." + }, + "storageDiagnostics": { + "type": "object", + "description": "For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers.", + "additionalProperties": {} + } + }, + "required": [ + "storageDiagnostics" + ] + }, + "StorageDirectoryDeletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Storage.DirectoryDeleted event.", + "properties": { + "api": { + "type": "string", + "description": "The name of the API/operation that triggered this event." + }, + "clientRequestId": { + "type": "string", + "description": "A request id provided by the client of the storage API operation that triggered this event." + }, + "requestId": { + "type": "string", + "description": "The request id generated by the storage service for the storage API operation that triggered this event." + }, + "url": { + "type": "string", + "description": "The path to the deleted directory." + }, + "recursive": { + "type": "string", + "description": "Is this event for a recursive delete operation." + }, + "sequencer": { + "type": "string", + "description": "An opaque string value representing the logical sequence of events for any particular directory name. Users can use standard string comparison to understand the relative sequence of two events on the same directory name." + }, + "identity": { + "type": "string", + "description": "The identity of the requester that triggered this event." + }, + "storageDiagnostics": { + "type": "object", + "description": "For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers.", + "additionalProperties": {} + } + }, + "required": [ + "storageDiagnostics" + ] + }, + "StorageDirectoryRenamedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Storage.DirectoryRenamed event.", + "properties": { + "api": { + "type": "string", + "description": "The name of the API/operation that triggered this event." + }, + "clientRequestId": { + "type": "string", + "description": "A request id provided by the client of the storage API operation that triggered this event." + }, + "requestId": { + "type": "string", + "description": "The request id generated by the storage service for the storage API operation that triggered this event." + }, + "sourceUrl": { + "type": "string", + "description": "The path to the directory that was renamed." + }, + "destinationUrl": { + "type": "string", + "description": "The new path to the directory after the rename operation." + }, + "sequencer": { + "type": "string", + "description": "An opaque string value representing the logical sequence of events for any particular directory name. Users can use standard string comparison to understand the relative sequence of two events on the same directory name." + }, + "identity": { + "type": "string", + "description": "The identity of the requester that triggered this event." + }, + "storageDiagnostics": { + "type": "object", + "description": "For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers.", + "additionalProperties": {} + } + }, + "required": [ + "storageDiagnostics" + ] + }, + "StorageLifecyclePolicyActionSummaryDetail": { + "type": "object", + "description": "Execution statistics of a specific policy action in a Blob Management cycle.", + "properties": { + "totalObjectsCount": { + "type": "integer", + "format": "int64", + "description": "Total number of objects to be acted on by this action." + }, + "successCount": { + "type": "integer", + "format": "int64", + "description": "Number of success operations of this action." + }, + "errorList": { + "type": "string", + "description": "Error messages of this action if any." + } + } + }, + "StorageLifecyclePolicyCompletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Storage.LifecyclePolicyCompleted event.", + "properties": { + "scheduleTime": { + "type": "string", + "description": "The time the policy task was scheduled." + }, + "deleteSummary": { + "$ref": "#/definitions/StorageLifecyclePolicyActionSummaryDetail", + "description": "Execution statistics of a specific policy action in a Blob Management cycle." + }, + "tierToCoolSummary": { + "$ref": "#/definitions/StorageLifecyclePolicyActionSummaryDetail", + "description": "Execution statistics of a specific policy action in a Blob Management cycle." + }, + "tierToArchiveSummary": { + "$ref": "#/definitions/StorageLifecyclePolicyActionSummaryDetail", + "description": "Execution statistics of a specific policy action in a Blob Management cycle." + } + }, + "required": [ + "deleteSummary", + "tierToCoolSummary", + "tierToArchiveSummary" + ] + }, + "StorageTaskAssignmentCompletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for an Microsoft.Storage.StorageTaskAssignmentCompleted event.", + "properties": { + "status": { + "$ref": "#/definitions/StorageTaskAssignmentCompletedStatus", + "description": "The status for a storage task." + }, + "completedDateTime": { + "type": "string", + "format": "date-time", + "description": "The time at which a storage task was completed.", + "x-ms-client-name": "completedOn" + }, + "taskExecutionId": { + "type": "string", + "description": "The execution id for a storage task." + }, + "taskName": { + "type": "string", + "description": "The task name for a storage task." + }, + "summaryReportBlobUrl": { + "type": "string", + "format": "uri", + "description": "The summary report blob url for a storage task", + "x-ms-client-name": "summaryReportBlobUri" + } + }, + "required": [ + "completedDateTime", + "summaryReportBlobUrl" + ] + }, + "StorageTaskAssignmentCompletedStatus": { + "type": "string", + "description": "The status for a storage task.", + "enum": [ + "Succeeded", + "Failed" + ], + "x-ms-enum": { + "name": "StorageTaskAssignmentCompletedStatus", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Failed" + } + ] + } + }, + "StorageTaskAssignmentQueuedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for an Microsoft.Storage.StorageTaskAssignmentQueued event.", + "properties": { + "queuedDateTime": { + "type": "string", + "format": "date-time", + "description": "The time at which a storage task was queued.", + "x-ms-client-name": "queuedOn" + }, + "taskExecutionId": { + "type": "string", + "description": "The execution id for a storage task." + } + }, + "required": [ + "queuedDateTime" + ] + }, + "StorageTaskCompletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for an Microsoft.Storage.StorageTaskCompleted event.", + "properties": { + "status": { + "$ref": "#/definitions/StorageTaskCompletedStatus", + "description": "The status for a storage task." + }, + "completedDateTime": { + "type": "string", + "format": "date-time", + "description": "The time at which a storage task was completed." + }, + "taskExecutionId": { + "type": "string", + "description": "The execution id for a storage task." + }, + "taskName": { + "type": "string", + "description": "The task name for a storage task." + }, + "summaryReportBlobUrl": { + "type": "string", + "format": "uri", + "description": "The summary report blob url for a storage task" + } + }, + "required": [ + "completedDateTime", + "summaryReportBlobUrl" + ] + }, + "StorageTaskCompletedStatus": { + "type": "string", + "description": "The status for a storage task.", + "enum": [ + "Succeeded", + "Failed" + ], + "x-ms-enum": { + "name": "StorageTaskCompletedStatus", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Failed" + } + ] + } + }, + "StorageTaskQueuedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for an Microsoft.Storage.StorageTaskQueued event.", + "properties": { + "queuedDateTime": { + "type": "string", + "format": "date-time", + "description": "The time at which a storage task was queued." + }, + "taskExecutionId": { + "type": "string", + "description": "The execution id for a storage task." + } + }, + "required": [ + "queuedDateTime" + ] + }, + "SubscriptionDeletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a\nMicrosoft.EventGrid.SubscriptionDeletedEvent event.", + "properties": { + "eventSubscriptionId": { + "type": "string", + "description": "The Azure resource ID of the deleted event subscription." + } + } + }, + "SubscriptionValidationEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.EventGrid.SubscriptionValidationEvent event.", + "properties": { + "validationCode": { + "type": "string", + "description": "The validation code sent by Azure Event Grid to validate an event subscription.\nTo complete the validation handshake, the subscriber must either respond with this validation code as part of the validation response,\nor perform a GET request on the validationUrl (available starting version 2018-05-01-preview)." + }, + "validationUrl": { + "type": "string", + "description": "The validation URL sent by Azure Event Grid (available starting version 2018-05-01-preview).\nTo complete the validation handshake, the subscriber must either respond with the validationCode as part of the validation response,\nor perform a GET request on the validationUrl (available starting version 2018-05-01-preview)." + } + } + }, + "SubscriptionValidationResponse": { + "type": "object", + "description": "To complete an event subscription validation handshake, a subscriber can use\neither the validationCode or the validationUrl received in a\nSubscriptionValidationEvent. When the validationCode is used, the\nSubscriptionValidationResponse can be used to build the response.", + "properties": { + "validationResponse": { + "type": "string", + "description": "The validation response sent by the subscriber to Azure Event Grid to complete the validation of an event subscription." + } + } + }, + "WebAppServicePlanUpdatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Web.AppServicePlanUpdated event.", + "properties": { + "appServicePlanEventTypeDetail": { + "$ref": "#/definitions/AppServicePlanEventTypeDetail", + "description": "Detail of action on the app service plan." + }, + "sku": { + "$ref": "#/definitions/WebAppServicePlanUpdatedEventDataSku", + "description": "sku of app service plan." + }, + "name": { + "type": "string", + "description": "name of the app service plan that had this event." + }, + "clientRequestId": { + "type": "string", + "description": "The client request id generated by the app service for the app service plan API operation that triggered this event." + }, + "correlationRequestId": { + "type": "string", + "description": "The correlation request id generated by the app service for the app service plan API operation that triggered this event." + }, + "requestId": { + "type": "string", + "description": "The request id generated by the app service for the app service plan API operation that triggered this event." + }, + "address": { + "type": "string", + "description": "HTTP request URL of this operation." + }, + "verb": { + "type": "string", + "description": "HTTP verb of this operation." + } + }, + "required": [ + "appServicePlanEventTypeDetail", + "sku" + ] + }, + "WebAppServicePlanUpdatedEventDataSku": { + "type": "object", + "description": "sku of app service plan.", + "properties": { + "name": { + "type": "string", + "description": "name of app service plan sku." + }, + "Tier": { + "type": "string", + "description": "tier of app service plan sku." + }, + "Size": { + "type": "string", + "description": "size of app service plan sku." + }, + "Family": { + "type": "string", + "description": "family of app service plan sku." + }, + "Capacity": { + "type": "string", + "description": "capacity of app service plan sku." + } + } + }, + "WebAppUpdatedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Web.AppUpdated event.", + "properties": { + "appEventTypeDetail": { + "$ref": "#/definitions/AppEventTypeDetail", + "description": "Detail of action on the app." + }, + "name": { + "type": "string", + "description": "name of the web site that had this event." + }, + "clientRequestId": { + "type": "string", + "description": "The client request id generated by the app service for the site API operation that triggered this event." + }, + "correlationRequestId": { + "type": "string", + "description": "The correlation request id generated by the app service for the site API operation that triggered this event." + }, + "requestId": { + "type": "string", + "description": "The request id generated by the app service for the site API operation that triggered this event." + }, + "address": { + "type": "string", + "description": "HTTP request URL of this operation." + }, + "verb": { + "type": "string", + "description": "HTTP verb of this operation." + } + }, + "required": [ + "appEventTypeDetail" + ] + }, + "WebBackupOperationCompletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Web.BackupOperationCompleted event.", + "properties": { + "appEventTypeDetail": { + "$ref": "#/definitions/AppEventTypeDetail", + "description": "Detail of action on the app." + }, + "name": { + "type": "string", + "description": "name of the web site that had this event." + }, + "clientRequestId": { + "type": "string", + "description": "The client request id generated by the app service for the site API operation that triggered this event." + }, + "correlationRequestId": { + "type": "string", + "description": "The correlation request id generated by the app service for the site API operation that triggered this event." + }, + "requestId": { + "type": "string", + "description": "The request id generated by the app service for the site API operation that triggered this event." + }, + "address": { + "type": "string", + "description": "HTTP request URL of this operation." + }, + "verb": { + "type": "string", + "description": "HTTP verb of this operation." + } + }, + "required": [ + "appEventTypeDetail" + ] + }, + "WebBackupOperationFailedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Web.BackupOperationFailed event.", + "properties": { + "appEventTypeDetail": { + "$ref": "#/definitions/AppEventTypeDetail", + "description": "Detail of action on the app." + }, + "name": { + "type": "string", + "description": "name of the web site that had this event." + }, + "clientRequestId": { + "type": "string", + "description": "The client request id generated by the app service for the site API operation that triggered this event." + }, + "correlationRequestId": { + "type": "string", + "description": "The correlation request id generated by the app service for the site API operation that triggered this event." + }, + "requestId": { + "type": "string", + "description": "The request id generated by the app service for the site API operation that triggered this event." + }, + "address": { + "type": "string", + "description": "HTTP request URL of this operation." + }, + "verb": { + "type": "string", + "description": "HTTP verb of this operation." + } + }, + "required": [ + "appEventTypeDetail" + ] + }, + "WebBackupOperationStartedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Web.BackupOperationStarted event.", + "properties": { + "appEventTypeDetail": { + "$ref": "#/definitions/AppEventTypeDetail", + "description": "Detail of action on the app." + }, + "name": { + "type": "string", + "description": "name of the web site that had this event." + }, + "clientRequestId": { + "type": "string", + "description": "The client request id generated by the app service for the site API operation that triggered this event." + }, + "correlationRequestId": { + "type": "string", + "description": "The correlation request id generated by the app service for the site API operation that triggered this event." + }, + "requestId": { + "type": "string", + "description": "The request id generated by the app service for the site API operation that triggered this event." + }, + "address": { + "type": "string", + "description": "HTTP request URL of this operation." + }, + "verb": { + "type": "string", + "description": "HTTP verb of this operation." + } + }, + "required": [ + "appEventTypeDetail" + ] + }, + "WebRestoreOperationCompletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Web.RestoreOperationCompleted event.", + "properties": { + "appEventTypeDetail": { + "$ref": "#/definitions/AppEventTypeDetail", + "description": "Detail of action on the app." + }, + "name": { + "type": "string", + "description": "name of the web site that had this event." + }, + "clientRequestId": { + "type": "string", + "description": "The client request id generated by the app service for the site API operation that triggered this event." + }, + "correlationRequestId": { + "type": "string", + "description": "The correlation request id generated by the app service for the site API operation that triggered this event." + }, + "requestId": { + "type": "string", + "description": "The request id generated by the app service for the site API operation that triggered this event." + }, + "address": { + "type": "string", + "description": "HTTP request URL of this operation." + }, + "verb": { + "type": "string", + "description": "HTTP verb of this operation." + } + }, + "required": [ + "appEventTypeDetail" + ] + }, + "WebRestoreOperationFailedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Web.RestoreOperationFailed event.", + "properties": { + "appEventTypeDetail": { + "$ref": "#/definitions/AppEventTypeDetail", + "description": "Detail of action on the app." + }, + "name": { + "type": "string", + "description": "name of the web site that had this event." + }, + "clientRequestId": { + "type": "string", + "description": "The client request id generated by the app service for the site API operation that triggered this event." + }, + "correlationRequestId": { + "type": "string", + "description": "The correlation request id generated by the app service for the site API operation that triggered this event." + }, + "requestId": { + "type": "string", + "description": "The request id generated by the app service for the site API operation that triggered this event." + }, + "address": { + "type": "string", + "description": "HTTP request URL of this operation." + }, + "verb": { + "type": "string", + "description": "HTTP verb of this operation." + } + }, + "required": [ + "appEventTypeDetail" + ] + }, + "WebRestoreOperationStartedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Web.RestoreOperationStarted event.", + "properties": { + "appEventTypeDetail": { + "$ref": "#/definitions/AppEventTypeDetail", + "description": "Detail of action on the app." + }, + "name": { + "type": "string", + "description": "name of the web site that had this event." + }, + "clientRequestId": { + "type": "string", + "description": "The client request id generated by the app service for the site API operation that triggered this event." + }, + "correlationRequestId": { + "type": "string", + "description": "The correlation request id generated by the app service for the site API operation that triggered this event." + }, + "requestId": { + "type": "string", + "description": "The request id generated by the app service for the site API operation that triggered this event." + }, + "address": { + "type": "string", + "description": "HTTP request URL of this operation." + }, + "verb": { + "type": "string", + "description": "HTTP verb of this operation." + } + }, + "required": [ + "appEventTypeDetail" + ] + }, + "WebSlotSwapCompletedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Web.SlotSwapCompleted event.", + "properties": { + "appEventTypeDetail": { + "$ref": "#/definitions/AppEventTypeDetail", + "description": "Detail of action on the app." + }, + "name": { + "type": "string", + "description": "name of the web site that had this event." + }, + "clientRequestId": { + "type": "string", + "description": "The client request id generated by the app service for the site API operation that triggered this event." + }, + "correlationRequestId": { + "type": "string", + "description": "The correlation request id generated by the app service for the site API operation that triggered this event." + }, + "requestId": { + "type": "string", + "description": "The request id generated by the app service for the site API operation that triggered this event." + }, + "address": { + "type": "string", + "description": "HTTP request URL of this operation." + }, + "verb": { + "type": "string", + "description": "HTTP verb of this operation." + } + }, + "required": [ + "appEventTypeDetail" + ] + }, + "WebSlotSwapFailedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Web.SlotSwapFailed event.", + "properties": { + "appEventTypeDetail": { + "$ref": "#/definitions/AppEventTypeDetail", + "description": "Detail of action on the app." + }, + "name": { + "type": "string", + "description": "name of the web site that had this event." + }, + "clientRequestId": { + "type": "string", + "description": "The client request id generated by the app service for the site API operation that triggered this event." + }, + "correlationRequestId": { + "type": "string", + "description": "The correlation request id generated by the app service for the site API operation that triggered this event." + }, + "requestId": { + "type": "string", + "description": "The request id generated by the app service for the site API operation that triggered this event." + }, + "address": { + "type": "string", + "description": "HTTP request URL of this operation." + }, + "verb": { + "type": "string", + "description": "HTTP verb of this operation." + } + }, + "required": [ + "appEventTypeDetail" + ] + }, + "WebSlotSwapStartedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Web.SlotSwapStarted event.", + "properties": { + "appEventTypeDetail": { + "$ref": "#/definitions/AppEventTypeDetail", + "description": "Detail of action on the app." + }, + "name": { + "type": "string", + "description": "name of the web site that had this event." + }, + "clientRequestId": { + "type": "string", + "description": "The client request id generated by the app service for the site API operation that triggered this event." + }, + "correlationRequestId": { + "type": "string", + "description": "The correlation request id generated by the app service for the site API operation that triggered this event." + }, + "requestId": { + "type": "string", + "description": "The request id generated by the app service for the site API operation that triggered this event." + }, + "address": { + "type": "string", + "description": "HTTP request URL of this operation." + }, + "verb": { + "type": "string", + "description": "HTTP verb of this operation." + } + }, + "required": [ + "appEventTypeDetail" + ] + }, + "WebSlotSwapWithPreviewCancelledEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Web.SlotSwapWithPreviewCancelled event.", + "properties": { + "appEventTypeDetail": { + "$ref": "#/definitions/AppEventTypeDetail", + "description": "Detail of action on the app." + }, + "name": { + "type": "string", + "description": "name of the web site that had this event." + }, + "clientRequestId": { + "type": "string", + "description": "The client request id generated by the app service for the site API operation that triggered this event." + }, + "correlationRequestId": { + "type": "string", + "description": "The correlation request id generated by the app service for the site API operation that triggered this event." + }, + "requestId": { + "type": "string", + "description": "The request id generated by the app service for the site API operation that triggered this event." + }, + "address": { + "type": "string", + "description": "HTTP request URL of this operation." + }, + "verb": { + "type": "string", + "description": "HTTP verb of this operation." + } + }, + "required": [ + "appEventTypeDetail" + ] + }, + "WebSlotSwapWithPreviewStartedEventData": { + "type": "object", + "description": "Schema of the Data property of an EventGridEvent for a Microsoft.Web.SlotSwapWithPreviewStarted event.", + "properties": { + "appEventTypeDetail": { + "$ref": "#/definitions/AppEventTypeDetail", + "description": "Detail of action on the app." + }, + "name": { + "type": "string", + "description": "name of the web site that had this event." + }, + "clientRequestId": { + "type": "string", + "description": "The client request id generated by the app service for the site API operation that triggered this event." + }, + "correlationRequestId": { + "type": "string", + "description": "The correlation request id generated by the app service for the site API operation that triggered this event." + }, + "requestId": { + "type": "string", + "description": "The request id generated by the app service for the site API operation that triggered this event." + }, + "address": { + "type": "string", + "description": "HTTP request URL of this operation." + }, + "verb": { + "type": "string", + "description": "HTTP verb of this operation." + } + }, + "required": [ + "appEventTypeDetail" + ] + }, + "recordingChannelType": { + "type": "string", + "description": "Recording channel type", + "enum": [ + "Mixed", + "Unmixed" + ], + "x-ms-enum": { + "name": "recordingChannelType", + "modelAsString": true, + "values": [ + { + "name": "Mixed", + "value": "Mixed", + "description": "Mixed channel type" + }, + { + "name": "Unmixed", + "value": "Unmixed", + "description": "Unmixed channel type" + } + ] + } + }, + "recordingContentType": { + "type": "string", + "description": "Recording content type", + "enum": [ + "AudioVideo", + "Audio" + ], + "x-ms-enum": { + "name": "recordingContentType", + "modelAsString": true, + "values": [ + { + "name": "AudioVideo", + "value": "AudioVideo", + "description": "AudioVideo content type" + }, + { + "name": "Audio", + "value": "Audio", + "description": "Audio content type" + } + ] + } + }, + "recordingFormatType": { + "type": "string", + "description": "Recording format type", + "enum": [ + "Wav", + "Mp3", + "Mp4" + ], + "x-ms-enum": { + "name": "recordingFormatType", + "modelAsString": true, + "values": [ + { + "name": "Wav", + "value": "Wav", + "description": "WAV format" + }, + { + "name": "Mp3", + "value": "Mp3", + "description": "MP3 format" + }, + { + "name": "Mp4", + "value": "Mp4", + "description": "MP4 format" + } + ] + } + } + }, + "parameters": {} +} diff --git a/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2024-01-01/SystemEvents.json b/specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2024-01-01/GeneratedSystemEvents.json similarity index 100% rename from specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2024-01-01/SystemEvents.json rename to specification/eventgrid/data-plane/Microsoft.EventGrid/stable/2024-01-01/GeneratedSystemEvents.json diff --git a/specification/eventgrid/data-plane/readme.md b/specification/eventgrid/data-plane/readme.md index a7786a2ee4b8..1cf80d695d1b 100644 --- a/specification/eventgrid/data-plane/readme.md +++ b/specification/eventgrid/data-plane/readme.md @@ -253,7 +253,15 @@ These settings apply only when `--tag=package-2024-01-01` is specified on the co ``` yaml $(tag) == 'package-2024-01-01' input-file: - Microsoft.EventGrid/stable/2018-01-01/EventGrid.json -- Microsoft.EventGrid/stable/2024-01-01/SystemEvents.json +- Microsoft.EventGrid/stable/2024-01-01/GeneratedSystemEvents.json +``` + +### Tag: package-2018-01-01-generated +These settings apply only when `--tag=package-2018-01-01-generated` is specified on the command line. Will generate EventGrid SystemEvents from TypeSpec, with backcompat from what Swagger was doing for optional extensible enums. +``` yaml $(tag) == '2018-01-01-generated' +input-file: +- Microsoft.EventGrid/stable/2018-01-01/EventGrid.json +- Microsoft.EventGrid/stable/2018-01-01/GeneratedSystemEvents.json ``` ### Suppression