@azure/eventgrid 4.11.1-alpha.20230419.1 → 4.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +604 -5
- package/dist/index.js.map +1 -1
- package/dist-esm/src/generated/models/index.js.map +1 -1
- package/dist-esm/src/generated/models/mappers.js +581 -4
- package/dist-esm/src/generated/models/mappers.js.map +1 -1
- package/dist-esm/src/index.js.map +1 -1
- package/dist-esm/src/predicates.js.map +1 -1
- package/package.json +4 -4
- package/types/eventgrid.d.ts +291 -0
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAI1E,OAAO,EACL,wBAAwB,GAOzB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,6BAA6B,GAE9B,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAEnD,OAAO,EAAE,aAAa,EAAqD,MAAM,cAAc,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nexport { AzureKeyCredential, AzureSASCredential } from \"@azure/core-auth\";\n\nexport { CloudEvent, EventGridEvent, SendCloudEventInput, SendEventGridEventInput } from \"./models\";\n\nexport {\n EventGridPublisherClient,\n EventGridPublisherClientOptions,\n SendOptions,\n CloudEventSendOptions,\n InputSchema,\n InputSchemaToInputTypeMap,\n InputSchemaToOptionsTypeMap,\n} from \"./eventGridClient\";\n\nexport {\n generateSharedAccessSignature,\n GenerateSharedAccessSignatureOptions,\n} from \"./generateSharedAccessSignature\";\n\nexport { EventGridDeserializer } from \"./consumer\";\n\nexport { isSystemEvent, KnownSystemEventTypes, SystemEventNameToEventData } from \"./predicates\";\n\nexport {\n AcsChatEventBase,\n AcsChatEventInThreadBase,\n AcsChatMessageEventInThreadBase,\n AcsChatMessageDeletedEventData,\n AcsChatMessageDeletedInThreadEventData,\n AcsChatMessageEditedEventData,\n AcsChatMessageEditedInThreadEventData,\n AcsChatMessageReceivedEventData,\n AcsChatMessageReceivedInThreadEventData,\n AcsChatMessageEventBase,\n AcsChatThreadCreatedWithUserEventData,\n AcsChatThreadPropertiesUpdatedPerUserEventData,\n AcsChatThreadWithUserDeletedEventData,\n AcsChatThreadEventBase,\n AcsChatParticipantAddedToThreadEventData,\n AcsChatParticipantAddedToThreadWithUserEventData,\n AcsChatParticipantRemovedFromThreadEventData,\n AcsChatParticipantRemovedFromThreadWithUserEventData,\n AcsRecordingFileStatusUpdatedEventData,\n AcsRecordingStorageInfo,\n AcsRecordingChunkInfo,\n ApiManagementApiCreatedEventData,\n ApiManagementApiDeletedEventData,\n ApiManagementApiReleaseCreatedEventData,\n ApiManagementApiReleaseDeletedEventData,\n ApiManagementApiReleaseUpdatedEventData,\n ApiManagementApiUpdatedEventData,\n ApiManagementProductCreatedEventData,\n ApiManagementProductDeletedEventData,\n ApiManagementProductUpdatedEventData,\n ApiManagementSubscriptionCreatedEventData,\n ApiManagementSubscriptionDeletedEventData,\n ApiManagementSubscriptionUpdatedEventData,\n ApiManagementUserCreatedEventData,\n ApiManagementUserDeletedEventData,\n ApiManagementUserUpdatedEventData,\n CommunicationIdentifierModel,\n CommunicationUserIdentifierModel,\n CommunicationCloudEnvironmentModel,\n MicrosoftTeamsUserIdentifierModel,\n PhoneNumberIdentifierModel,\n AcsChatThreadParticipant,\n AcsUserDisconnectedEventData,\n AcsSmsDeliveryAttempt,\n AcsSmsDeliveryReportReceivedEventData,\n AcsSmsEventBase,\n AcsSmsReceivedEventData,\n AppConfigurationKeyValueDeletedEventData,\n AppConfigurationKeyValueModifiedEventData,\n AppEventTypeDetail,\n AppServicePlanEventTypeDetail,\n ContainerRegistryArtifactEventTarget,\n ContainerRegistryEventData,\n ContainerRegistryImagePushedEventData,\n ContainerRegistryImageDeletedEventData,\n ContainerRegistryChartDeletedEventData,\n ContainerRegistryChartPushedEventData,\n ContainerServiceNewKubernetesVersionAvailableEventData,\n DeviceConnectionStateEventInfo,\n DeviceTwinInfo,\n DeviceTwinInfoProperties,\n DeviceTwinInfoX509Thumbprint,\n HealthcareDicomImageCreatedEventData,\n HealthcareDicomImageDeletedEventData,\n HealthcareFhirResourceCreatedEventData,\n HealthcareFhirResourceUpdatedEventData,\n HealthcareFhirResourceDeletedEventData,\n HealthcareFhirResourceType,\n IotHubDeviceCreatedEventData,\n IotHubDeviceDeletedEventData,\n IotHubDeviceConnectedEventData,\n IotHubDeviceDisconnectedEventData,\n IotHubDeviceTelemetryEventData,\n KeyVaultCertificateNewVersionCreatedEventData,\n KeyVaultCertificateNearExpiryEventData,\n KeyVaultCertificateExpiredEventData,\n KeyVaultKeyNewVersionCreatedEventData,\n KeyVaultKeyNearExpiryEventData,\n KeyVaultKeyExpiredEventData,\n KeyVaultSecretNewVersionCreatedEventData,\n KeyVaultSecretNearExpiryEventData,\n KeyVaultSecretExpiredEventData,\n KeyVaultAccessPolicyChangedEventData,\n SubscriptionValidationEventData,\n SubscriptionDeletedEventData,\n EventHubCaptureFileCreatedEventData,\n MachineLearningServicesDatasetDriftDetectedEventData,\n MachineLearningServicesModelDeployedEventData,\n MachineLearningServicesModelRegisteredEventData,\n MachineLearningServicesRunCompletedEventData,\n MachineLearningServicesRunStatusChangedEventData,\n MapsGeofenceEvent,\n MapsGeofenceEnteredEventData,\n MapsGeofenceExitedEventData,\n MapsGeofenceResultEventData,\n MediaJobStateChangeEventData,\n MediaJobOutputStateChangeEventData,\n MediaJobScheduledEventData,\n MediaJobProcessingEventData,\n MediaJobCancelingEventData,\n MediaJobFinishedEventData,\n MediaJobCanceledEventData,\n MediaJobError,\n MediaJobErrorCategory,\n MediaJobErrorDetail,\n MediaJobErrorCode,\n MediaJobRetry,\n MediaJobErroredEventData,\n MediaJobOutputCanceledEventData,\n MediaJobOutputCancelingEventData,\n MediaJobOutputErroredEventData,\n MediaJobOutputFinishedEventData,\n MediaJobOutputProcessingEventData,\n MediaJobOutputScheduledEventData,\n MediaJobOutputProgressEventData,\n MediaJobOutputUnion,\n MediaJobState,\n MediaLiveEventChannelArchiveHeartbeatEventData,\n MediaLiveEventEncoderConnectedEventData,\n MediaLiveEventConnectionRejectedEventData,\n MediaLiveEventEncoderDisconnectedEventData,\n MediaLiveEventIncomingStreamReceivedEventData,\n MediaLiveEventIncomingStreamsOutOfSyncEventData,\n MediaLiveEventIncomingVideoStreamsOutOfSyncEventData,\n MediaLiveEventIncomingDataChunkDroppedEventData,\n MediaLiveEventIngestHeartbeatEventData,\n MediaLiveEventTrackDiscontinuityDetectedEventData,\n ResourceWriteSuccessEventData,\n ResourceWriteFailureEventData,\n ResourceWriteCancelEventData,\n ResourceDeleteSuccessEventData,\n ResourceDeleteFailureEventData,\n ResourceDeleteCancelEventData,\n ResourceActionSuccessEventData,\n ResourceActionFailureEventData,\n ResourceActionCancelEventData,\n ServiceBusActiveMessagesAvailableWithNoListenersEventData,\n ServiceBusDeadletterMessagesAvailableWithNoListenersEventData,\n StorageBlobCreatedEventData,\n StorageBlobDeletedEventData,\n StorageBlobRenamedEventData,\n StorageDirectoryCreatedEventData,\n StorageDirectoryDeletedEventData,\n StorageDirectoryRenamedEventData,\n StorageLifecyclePolicyActionSummaryDetail,\n StorageLifecyclePolicyCompletedEventData,\n WebAppUpdatedEventData,\n WebBackupOperationStartedEventData,\n WebBackupOperationCompletedEventData,\n WebBackupOperationFailedEventData,\n WebRestoreOperationStartedEventData,\n WebRestoreOperationCompletedEventData,\n WebRestoreOperationFailedEventData,\n WebSlotSwapStartedEventData,\n WebSlotSwapCompletedEventData,\n WebSlotSwapFailedEventData,\n WebSlotSwapWithPreviewStartedEventData,\n WebSlotSwapWithPreviewCancelledEventData,\n WebAppServicePlanUpdatedEventData,\n WebAppServicePlanUpdatedEventDataSku,\n AppAction,\n KnownAppAction,\n StampKind,\n KnownStampKind,\n AsyncStatus,\n KnownAsyncStatus,\n ContainerRegistryArtifactEventData,\n ContainerRegistryEventActor,\n ContainerRegistryEventRequest,\n ContainerRegistryEventSource,\n ContainerRegistryEventTarget,\n DeviceConnectionStateEvent,\n DeviceLifeCycleEvent,\n DeviceTelemetryEvent,\n MapsGeofenceGeometry,\n MediaJobOutput,\n MediaJobOutputAsset,\n DeviceTwin,\n DeviceTwinMetadata,\n AppServicePlanAction,\n KnownAppServicePlanAction,\n PolicyInsightsPolicyStateChangedEventData,\n PolicyInsightsPolicyStateCreatedEventData,\n PolicyInsightsPolicyStateDeletedEventData,\n StorageAsyncOperationInitiatedEventData,\n StorageBlobTierChangedEventData,\n StorageBlobInventoryPolicyCompletedEventData,\n RecordingChannelType,\n RecordingContentType,\n RecordingFormatType,\n ResourceAuthorization,\n ResourceHttpRequest,\n ContainerRegistryEventConnectedRegistry,\n} from \"./generated/models\";\n"]}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAI1E,OAAO,EACL,wBAAwB,GAOzB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EACL,6BAA6B,GAE9B,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAEnD,OAAO,EAAE,aAAa,EAAqD,MAAM,cAAc,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nexport { AzureKeyCredential, AzureSASCredential } from \"@azure/core-auth\";\n\nexport { CloudEvent, EventGridEvent, SendCloudEventInput, SendEventGridEventInput } from \"./models\";\n\nexport {\n EventGridPublisherClient,\n EventGridPublisherClientOptions,\n SendOptions,\n CloudEventSendOptions,\n InputSchema,\n InputSchemaToInputTypeMap,\n InputSchemaToOptionsTypeMap,\n} from \"./eventGridClient\";\n\nexport {\n generateSharedAccessSignature,\n GenerateSharedAccessSignatureOptions,\n} from \"./generateSharedAccessSignature\";\n\nexport { EventGridDeserializer } from \"./consumer\";\n\nexport { isSystemEvent, KnownSystemEventTypes, SystemEventNameToEventData } from \"./predicates\";\n\nexport {\n AcsChatEventBase,\n AcsChatEventInThreadBase,\n AcsChatMessageEventInThreadBase,\n AcsChatMessageDeletedEventData,\n AcsChatMessageDeletedInThreadEventData,\n AcsChatMessageEditedEventData,\n AcsChatMessageEditedInThreadEventData,\n AcsChatMessageReceivedEventData,\n AcsChatMessageReceivedInThreadEventData,\n AcsChatMessageEventBase,\n AcsChatThreadCreatedWithUserEventData,\n AcsChatThreadPropertiesUpdatedPerUserEventData,\n AcsChatThreadWithUserDeletedEventData,\n AcsChatThreadEventBase,\n AcsChatParticipantAddedToThreadEventData,\n AcsChatParticipantAddedToThreadWithUserEventData,\n AcsChatParticipantRemovedFromThreadEventData,\n AcsChatParticipantRemovedFromThreadWithUserEventData,\n AcsRecordingFileStatusUpdatedEventData,\n AcsRecordingStorageInfo,\n AcsRecordingChunkInfo,\n ApiManagementApiCreatedEventData,\n ApiManagementApiDeletedEventData,\n ApiManagementApiReleaseCreatedEventData,\n ApiManagementApiReleaseDeletedEventData,\n ApiManagementApiReleaseUpdatedEventData,\n ApiManagementApiUpdatedEventData,\n ApiManagementProductCreatedEventData,\n ApiManagementProductDeletedEventData,\n ApiManagementProductUpdatedEventData,\n ApiManagementSubscriptionCreatedEventData,\n ApiManagementSubscriptionDeletedEventData,\n ApiManagementSubscriptionUpdatedEventData,\n ApiManagementUserCreatedEventData,\n ApiManagementUserDeletedEventData,\n ApiManagementUserUpdatedEventData,\n CommunicationIdentifierModel,\n CommunicationUserIdentifierModel,\n CommunicationCloudEnvironmentModel,\n MicrosoftTeamsUserIdentifierModel,\n PhoneNumberIdentifierModel,\n AcsChatThreadParticipant,\n AcsUserDisconnectedEventData,\n AcsSmsDeliveryAttempt,\n AcsSmsDeliveryReportReceivedEventData,\n AcsSmsEventBase,\n AcsSmsReceivedEventData,\n AppConfigurationKeyValueDeletedEventData,\n AppConfigurationKeyValueModifiedEventData,\n AppEventTypeDetail,\n AppServicePlanEventTypeDetail,\n ContainerRegistryArtifactEventTarget,\n ContainerRegistryEventData,\n ContainerRegistryImagePushedEventData,\n ContainerRegistryImageDeletedEventData,\n ContainerRegistryChartDeletedEventData,\n ContainerRegistryChartPushedEventData,\n ContainerServiceNewKubernetesVersionAvailableEventData,\n DeviceConnectionStateEventInfo,\n DeviceTwinInfo,\n DeviceTwinInfoProperties,\n DeviceTwinInfoX509Thumbprint,\n HealthcareDicomImageCreatedEventData,\n HealthcareDicomImageDeletedEventData,\n HealthcareFhirResourceCreatedEventData,\n HealthcareFhirResourceUpdatedEventData,\n HealthcareFhirResourceDeletedEventData,\n HealthcareFhirResourceType,\n IotHubDeviceCreatedEventData,\n IotHubDeviceDeletedEventData,\n IotHubDeviceConnectedEventData,\n IotHubDeviceDisconnectedEventData,\n IotHubDeviceTelemetryEventData,\n KeyVaultCertificateNewVersionCreatedEventData,\n KeyVaultCertificateNearExpiryEventData,\n KeyVaultCertificateExpiredEventData,\n KeyVaultKeyNewVersionCreatedEventData,\n KeyVaultKeyNearExpiryEventData,\n KeyVaultKeyExpiredEventData,\n KeyVaultSecretNewVersionCreatedEventData,\n KeyVaultSecretNearExpiryEventData,\n KeyVaultSecretExpiredEventData,\n KeyVaultAccessPolicyChangedEventData,\n SubscriptionValidationEventData,\n SubscriptionDeletedEventData,\n EventHubCaptureFileCreatedEventData,\n MachineLearningServicesDatasetDriftDetectedEventData,\n MachineLearningServicesModelDeployedEventData,\n MachineLearningServicesModelRegisteredEventData,\n MachineLearningServicesRunCompletedEventData,\n MachineLearningServicesRunStatusChangedEventData,\n MapsGeofenceEvent,\n MapsGeofenceEnteredEventData,\n MapsGeofenceExitedEventData,\n MapsGeofenceResultEventData,\n MediaJobStateChangeEventData,\n MediaJobOutputStateChangeEventData,\n MediaJobScheduledEventData,\n MediaJobProcessingEventData,\n MediaJobCancelingEventData,\n MediaJobFinishedEventData,\n MediaJobCanceledEventData,\n MediaJobError,\n MediaJobErrorCategory,\n MediaJobErrorDetail,\n MediaJobErrorCode,\n MediaJobRetry,\n MediaJobErroredEventData,\n MediaJobOutputCanceledEventData,\n MediaJobOutputCancelingEventData,\n MediaJobOutputErroredEventData,\n MediaJobOutputFinishedEventData,\n MediaJobOutputProcessingEventData,\n MediaJobOutputScheduledEventData,\n MediaJobOutputProgressEventData,\n MediaJobOutputUnion,\n MediaJobState,\n MediaLiveEventChannelArchiveHeartbeatEventData,\n MediaLiveEventEncoderConnectedEventData,\n MediaLiveEventConnectionRejectedEventData,\n MediaLiveEventEncoderDisconnectedEventData,\n MediaLiveEventIncomingStreamReceivedEventData,\n MediaLiveEventIncomingStreamsOutOfSyncEventData,\n MediaLiveEventIncomingVideoStreamsOutOfSyncEventData,\n MediaLiveEventIncomingDataChunkDroppedEventData,\n MediaLiveEventIngestHeartbeatEventData,\n MediaLiveEventTrackDiscontinuityDetectedEventData,\n ResourceWriteSuccessEventData,\n ResourceWriteFailureEventData,\n ResourceWriteCancelEventData,\n ResourceDeleteSuccessEventData,\n ResourceDeleteFailureEventData,\n ResourceDeleteCancelEventData,\n ResourceActionSuccessEventData,\n ResourceActionFailureEventData,\n ResourceActionCancelEventData,\n ServiceBusActiveMessagesAvailableWithNoListenersEventData,\n ServiceBusDeadletterMessagesAvailableWithNoListenersEventData,\n StorageBlobCreatedEventData,\n StorageBlobDeletedEventData,\n StorageBlobRenamedEventData,\n StorageDirectoryCreatedEventData,\n StorageDirectoryDeletedEventData,\n StorageDirectoryRenamedEventData,\n StorageLifecyclePolicyActionSummaryDetail,\n StorageLifecyclePolicyCompletedEventData,\n WebAppUpdatedEventData,\n WebBackupOperationStartedEventData,\n WebBackupOperationCompletedEventData,\n WebBackupOperationFailedEventData,\n WebRestoreOperationStartedEventData,\n WebRestoreOperationCompletedEventData,\n WebRestoreOperationFailedEventData,\n WebSlotSwapStartedEventData,\n WebSlotSwapCompletedEventData,\n WebSlotSwapFailedEventData,\n WebSlotSwapWithPreviewStartedEventData,\n WebSlotSwapWithPreviewCancelledEventData,\n WebAppServicePlanUpdatedEventData,\n WebAppServicePlanUpdatedEventDataSku,\n AppAction,\n KnownAppAction,\n StampKind,\n KnownStampKind,\n AsyncStatus,\n KnownAsyncStatus,\n ContainerRegistryArtifactEventData,\n ContainerRegistryEventActor,\n ContainerRegistryEventRequest,\n ContainerRegistryEventSource,\n ContainerRegistryEventTarget,\n DeviceConnectionStateEvent,\n DeviceLifeCycleEvent,\n DeviceTelemetryEvent,\n MapsGeofenceGeometry,\n MediaJobOutput,\n MediaJobOutputAsset,\n DeviceTwin,\n DeviceTwinMetadata,\n AppServicePlanAction,\n KnownAppServicePlanAction,\n PolicyInsightsPolicyStateChangedEventData,\n PolicyInsightsPolicyStateCreatedEventData,\n PolicyInsightsPolicyStateDeletedEventData,\n StorageAsyncOperationInitiatedEventData,\n StorageBlobTierChangedEventData,\n StorageBlobInventoryPolicyCompletedEventData,\n RecordingChannelType,\n RecordingContentType,\n RecordingFormatType,\n ResourceAuthorization,\n ResourceHttpRequest,\n ContainerRegistryEventConnectedRegistry,\n StorageTaskQueuedEventData,\n StorageTaskCompletedEventData,\n DataBoxCopyStartedEventData,\n DataBoxCopyCompletedEventData,\n DataBoxOrderCompletedEventData,\n AcsIncomingCallEventData,\n AcsEmailDeliveryReportReceivedEventData,\n AcsEmailEngagementTrackingReportReceivedEventData,\n ApiManagementGatewayCreatedEventData,\n ApiManagementGatewayUpdatedEventData,\n ApiManagementGatewayDeletedEventData,\n ApiManagementGatewayHostnameConfigurationCreatedEventData,\n ApiManagementGatewayHostnameConfigurationUpdatedEventData,\n ApiManagementGatewayHostnameConfigurationDeletedEventData,\n ApiManagementGatewayCertificateAuthorityCreatedEventData,\n ApiManagementGatewayCertificateAuthorityUpdatedEventData,\n ApiManagementGatewayCertificateAuthorityDeletedEventData,\n ApiManagementGatewayApiAddedEventData,\n ApiManagementGatewayApiRemovedEventData,\n HealthcareDicomImageUpdatedEventData,\n AcsEmailDeliveryReportStatusDetails,\n AcsEmailDeliveryReportStatus,\n AcsUserEngagement,\n AcsIncomingCallCustomContext,\n DataBoxStageName,\n StorageTaskCompletedStatus,\n} from \"./generated/models\";\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"predicates.js","sourceRoot":"","sources":["../../src/predicates.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AA+ZlC;;;;GAIG;AACH,SAAS,gBAAgB,CACvB,CAAgD;IAEhD,OAAQ,CAAS,CAAC,MAAM,KAAK,SAAS,CAAC;AACzC,CAAC;AA4BD,MAAM,UAAU,aAAa,CAC3B,SAAY,EACZ,KAAoD;IAIpD,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;QAC3B,OAAO,KAAK,CAAC,IAAI,KAAK,SAAS,CAAC;KACjC;SAAM;QACL,OAAO,KAAK,CAAC,SAAS,KAAK,SAAS,CAAC;KACtC;AACH,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n AcsChatMessageDeletedEventData,\n AcsChatMessageDeletedInThreadEventData,\n AcsChatMessageEditedEventData,\n AcsChatMessageEditedInThreadEventData,\n AcsChatMessageReceivedEventData,\n AcsChatMessageReceivedInThreadEventData,\n AcsChatParticipantAddedToThreadEventData,\n AcsChatParticipantAddedToThreadWithUserEventData,\n AcsChatParticipantRemovedFromThreadEventData,\n AcsChatParticipantRemovedFromThreadWithUserEventData,\n AcsChatThreadCreatedWithUserEventData,\n AcsChatThreadPropertiesUpdatedPerUserEventData,\n AcsChatThreadWithUserDeletedEventData,\n AcsRecordingFileStatusUpdatedEventData,\n AcsSmsDeliveryReportReceivedEventData,\n AcsSmsReceivedEventData,\n AcsUserDisconnectedEventData,\n ApiManagementApiCreatedEventData,\n ApiManagementApiDeletedEventData,\n ApiManagementApiReleaseCreatedEventData,\n ApiManagementApiReleaseDeletedEventData,\n ApiManagementApiReleaseUpdatedEventData,\n ApiManagementApiUpdatedEventData,\n ApiManagementProductCreatedEventData,\n ApiManagementProductDeletedEventData,\n ApiManagementProductUpdatedEventData,\n ApiManagementSubscriptionCreatedEventData,\n ApiManagementSubscriptionDeletedEventData,\n ApiManagementSubscriptionUpdatedEventData,\n ApiManagementUserCreatedEventData,\n ApiManagementUserDeletedEventData,\n ApiManagementUserUpdatedEventData,\n AppConfigurationKeyValueDeletedEventData,\n AppConfigurationKeyValueModifiedEventData,\n ContainerRegistryChartDeletedEventData,\n ContainerRegistryChartPushedEventData,\n ContainerRegistryImageDeletedEventData,\n ContainerRegistryImagePushedEventData,\n ContainerServiceNewKubernetesVersionAvailableEventData,\n EventHubCaptureFileCreatedEventData,\n HealthcareDicomImageCreatedEventData,\n HealthcareDicomImageDeletedEventData,\n HealthcareFhirResourceCreatedEventData,\n HealthcareFhirResourceDeletedEventData,\n HealthcareFhirResourceUpdatedEventData,\n IotHubDeviceConnectedEventData,\n IotHubDeviceCreatedEventData,\n IotHubDeviceDeletedEventData,\n IotHubDeviceDisconnectedEventData,\n IotHubDeviceTelemetryEventData,\n KeyVaultAccessPolicyChangedEventData,\n KeyVaultCertificateExpiredEventData,\n KeyVaultCertificateNearExpiryEventData,\n KeyVaultCertificateNewVersionCreatedEventData,\n KeyVaultKeyExpiredEventData,\n KeyVaultKeyNearExpiryEventData,\n KeyVaultKeyNewVersionCreatedEventData,\n KeyVaultSecretExpiredEventData,\n KeyVaultSecretNearExpiryEventData,\n KeyVaultSecretNewVersionCreatedEventData,\n MachineLearningServicesDatasetDriftDetectedEventData,\n MachineLearningServicesModelDeployedEventData,\n MachineLearningServicesModelRegisteredEventData,\n MachineLearningServicesRunCompletedEventData,\n MachineLearningServicesRunStatusChangedEventData,\n MapsGeofenceEnteredEventData,\n MapsGeofenceExitedEventData,\n MapsGeofenceResultEventData,\n MediaJobCanceledEventData,\n MediaJobCancelingEventData,\n MediaJobErroredEventData,\n MediaJobFinishedEventData,\n MediaJobOutputCanceledEventData,\n MediaJobOutputCancelingEventData,\n MediaJobOutputErroredEventData,\n MediaJobOutputFinishedEventData,\n MediaJobOutputProcessingEventData,\n MediaJobOutputProgressEventData,\n MediaJobOutputScheduledEventData,\n MediaJobOutputStateChangeEventData,\n MediaJobProcessingEventData,\n MediaJobScheduledEventData,\n MediaJobStateChangeEventData,\n MediaLiveEventChannelArchiveHeartbeatEventData,\n MediaLiveEventConnectionRejectedEventData,\n MediaLiveEventEncoderConnectedEventData,\n MediaLiveEventEncoderDisconnectedEventData,\n MediaLiveEventIncomingDataChunkDroppedEventData,\n MediaLiveEventIncomingStreamReceivedEventData,\n MediaLiveEventIncomingStreamsOutOfSyncEventData,\n MediaLiveEventIncomingVideoStreamsOutOfSyncEventData,\n MediaLiveEventIngestHeartbeatEventData,\n MediaLiveEventTrackDiscontinuityDetectedEventData,\n PolicyInsightsPolicyStateChangedEventData,\n PolicyInsightsPolicyStateCreatedEventData,\n PolicyInsightsPolicyStateDeletedEventData,\n ResourceActionCancelEventData,\n ResourceActionFailureEventData,\n ResourceActionSuccessEventData,\n ResourceDeleteCancelEventData,\n ResourceDeleteFailureEventData,\n ResourceDeleteSuccessEventData,\n ResourceWriteCancelEventData,\n ResourceWriteFailureEventData,\n ResourceWriteSuccessEventData,\n ServiceBusActiveMessagesAvailableWithNoListenersEventData,\n ServiceBusDeadletterMessagesAvailableWithNoListenersEventData,\n StorageAsyncOperationInitiatedEventData,\n StorageBlobCreatedEventData,\n StorageBlobDeletedEventData,\n StorageBlobInventoryPolicyCompletedEventData,\n StorageBlobRenamedEventData,\n StorageBlobTierChangedEventData,\n StorageDirectoryCreatedEventData,\n StorageDirectoryDeletedEventData,\n StorageDirectoryRenamedEventData,\n StorageLifecyclePolicyCompletedEventData,\n SubscriptionDeletedEventData,\n SubscriptionValidationEventData,\n WebAppServicePlanUpdatedEventData,\n WebAppUpdatedEventData,\n WebBackupOperationCompletedEventData,\n WebBackupOperationFailedEventData,\n WebBackupOperationStartedEventData,\n WebRestoreOperationCompletedEventData,\n WebRestoreOperationFailedEventData,\n WebRestoreOperationStartedEventData,\n WebSlotSwapCompletedEventData,\n WebSlotSwapFailedEventData,\n WebSlotSwapStartedEventData,\n WebSlotSwapWithPreviewCancelledEventData,\n WebSlotSwapWithPreviewStartedEventData,\n} from \"./generated/models\";\n\nimport { CloudEvent, EventGridEvent } from \"./models\";\n\n/**\n * The Event Types for all System Events. These may be used with `isSystemEvent` to determine if an\n * event is a system event of a given type.\n */\nexport type KnownSystemEventTypes = keyof SystemEventNameToEventData;\n\n/**\n * A mapping of event type names to event data type interfaces.\n */\nexport interface SystemEventNameToEventData {\n /** An interface for the event data of a \"Microsoft.ApiManagement.UserCreated\" event. */\n \"Microsoft.ApiManagement.UserCreated\": ApiManagementUserCreatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.UserUpdated\" event. */\n \"Microsoft.ApiManagement.UserUpdated\": ApiManagementUserUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.UserDeleted\" event. */\n \"Microsoft.ApiManagement.UserDeleted\": ApiManagementUserDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.SubscriptionCreated\" event. */\n \"Microsoft.ApiManagement.SubscriptionCreated\": ApiManagementSubscriptionCreatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.SubscriptionUpdated\" event. */\n \"Microsoft.ApiManagement.SubscriptionUpdated\": ApiManagementSubscriptionUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.SubscriptionDeleted\" event. */\n \"Microsoft.ApiManagement.SubscriptionDeleted\": ApiManagementSubscriptionDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.ProductCreated\" event. */\n \"Microsoft.ApiManagement.ProductCreated\": ApiManagementProductCreatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.ProductUpdated\" event. */\n \"Microsoft.ApiManagement.ProductUpdated\": ApiManagementProductUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.ProductDeleted\" event. */\n \"Microsoft.ApiManagement.ProductDeleted\": ApiManagementProductDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.APICreated\" event. */\n \"Microsoft.ApiManagement.APICreated\": ApiManagementApiCreatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.APIUpdated\" event. */\n \"Microsoft.ApiManagement.APIUpdated\": ApiManagementApiUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.APIDeleted\" event. */\n \"Microsoft.ApiManagement.APIDeleted\": ApiManagementApiDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.APIReleaseCreated\" event. */\n \"Microsoft.ApiManagement.APIReleaseCreated\": ApiManagementApiReleaseCreatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.APIReleaseUpdated\" event. */\n \"Microsoft.ApiManagement.APIReleaseUpdated\": ApiManagementApiReleaseUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.APIReleaseDeleted\" event. */\n \"Microsoft.ApiManagement.APIReleaseDeleted\": ApiManagementApiReleaseDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatMessageReceived\" event. */\n \"Microsoft.Communication.ChatMessageReceived\": AcsChatMessageReceivedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatMessageReceivedInThread\" event. */\n \"Microsoft.Communication.ChatMessageReceivedInThread\": AcsChatMessageReceivedInThreadEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatMessageEdited\" event. */\n \"Microsoft.Communication.ChatMessageEdited\": AcsChatMessageEditedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatMessageEditedInThread\" event. */\n \"Microsoft.Communication.ChatMessageEditedInThread\": AcsChatMessageEditedInThreadEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatMessageDeleted\" event. */\n \"Microsoft.Communication.ChatMessageDeleted\": AcsChatMessageDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatMessageDeletedInThread\" event. */\n \"Microsoft.Communication.ChatMessageDeletedInThread\": AcsChatMessageDeletedInThreadEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatThreadCreatedWithUser\" event. */\n \"Microsoft.Communication.ChatThreadCreatedWithUser\": AcsChatThreadCreatedWithUserEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatThreadWithUserDeleted\" event. */\n \"Microsoft.Communication.ChatThreadWithUserDeleted\": AcsChatThreadWithUserDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatThreadPropertiesUpdatedPerUser\" event. */\n \"Microsoft.Communication.ChatThreadPropertiesUpdatedPerUser\": AcsChatThreadPropertiesUpdatedPerUserEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatThreadParticipantAdded\" event. */\n \"Microsoft.Communication.ChatThreadParticipantAdded\": AcsChatParticipantAddedToThreadEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatParticipantAddedToThreadWithUser\" event. */\n \"Microsoft.Communication.ChatParticipantAddedToThreadWithUser\": AcsChatParticipantAddedToThreadWithUserEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatThreadParticipantRemoved\" event. */\n \"Microsoft.Communication.ChatThreadParticipantRemoved\": AcsChatParticipantRemovedFromThreadEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatParticipantRemovedFromThreadWithUser\" event. */\n \"Microsoft.Communication.ChatParticipantRemovedFromThreadWithUser\": AcsChatParticipantRemovedFromThreadWithUserEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RecordingFileStatusUpdated\" event. */\n \"Microsoft.Communication.RecordingFileStatusUpdated\": AcsRecordingFileStatusUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.SMSDeliveryReportReceived\" event. */\n \"Microsoft.Communication.SMSDeliveryReportReceived\": AcsSmsDeliveryReportReceivedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.SMSReceived\" event. */\n \"Microsoft.Communication.SMSReceived\": AcsSmsReceivedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.UserDisconnected\" event. */\n \"Microsoft.Communication.UserDisconnected\": AcsUserDisconnectedEventData;\n /** An interface for the event data of a \"Microsoft.ContainerService.NewKubernetesVersionAvailable\" event. */\n \"Microsoft.ContainerService.NewKubernetesVersionAvailable\": ContainerServiceNewKubernetesVersionAvailableEventData;\n /** An interface for the event data of a \"Microsoft.AppConfiguration.KeyValueDeleted\" event. */\n \"Microsoft.AppConfiguration.KeyValueDeleted\": AppConfigurationKeyValueDeletedEventData;\n /** An interface for the event data of a \"Microsoft.AppConfiguration.KeyValueModified\" event. */\n \"Microsoft.AppConfiguration.KeyValueModified\": AppConfigurationKeyValueModifiedEventData;\n /** An interface for the event data of a \"Microsoft.ContainerRegistry.ImagePushed\" event. */\n \"Microsoft.ContainerRegistry.ImagePushed\": ContainerRegistryImagePushedEventData;\n /** An interface for the event data of a \"Microsoft.ContainerRegistry.ImageDeleted\" event. */\n \"Microsoft.ContainerRegistry.ImageDeleted\": ContainerRegistryImageDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ContainerRegistry.ChartDeleted\" event. */\n \"Microsoft.ContainerRegistry.ChartDeleted\": ContainerRegistryChartDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ContainerRegistry.ChartPushed\" event. */\n \"Microsoft.ContainerRegistry.ChartPushed\": ContainerRegistryChartPushedEventData;\n /** An interface for the event data of a \"Microsoft.Devices.DeviceCreated\" event. */\n \"Microsoft.Devices.DeviceCreated\": IotHubDeviceCreatedEventData;\n /** An interface for the event data of a \"Microsoft.Devices.DeviceDeleted\" event. */\n \"Microsoft.Devices.DeviceDeleted\": IotHubDeviceDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Devices.DeviceConnected\" event. */\n \"Microsoft.Devices.DeviceConnected\": IotHubDeviceConnectedEventData;\n /** An interface for the event data of a \"Microsoft.Devices.DeviceDisconnected\" event. */\n \"Microsoft.Devices.DeviceDisconnected\": IotHubDeviceDisconnectedEventData;\n /** An interface for the event data of a \"Microsoft.Devices.DeviceTelemetry\" event. */\n \"Microsoft.Devices.DeviceTelemetry\": IotHubDeviceTelemetryEventData;\n /** An interface for the event data of a \"Microsoft.EventGrid.SubscriptionValidationEvent\" event. */\n \"Microsoft.EventGrid.SubscriptionValidationEvent\": SubscriptionValidationEventData;\n /** An interface for the event data of a \"Microsoft.EventGrid.SubscriptionDeletedEvent\" event. */\n \"Microsoft.EventGrid.SubscriptionDeletedEvent\": SubscriptionDeletedEventData;\n /** An interface for the event data of a \"Microsoft.EventHub.CaptureFileCreated\" event. */\n \"Microsoft.EventHub.CaptureFileCreated\": EventHubCaptureFileCreatedEventData;\n /** An interface for the event data of a \"Microsoft.HealthcareApis.DicomImageCreated\" event. */\n \"Microsoft.HealthcareApis.DicomImageCreated\": HealthcareDicomImageCreatedEventData;\n /** An interface for the event data of a \"Microsoft.HealthcareApis.DicomImageDeleted\" event. */\n \"Microsoft.HealthcareApis.DicomImageDeleted\": HealthcareDicomImageDeletedEventData;\n /** An interface for the event data of a \"Microsoft.HealthcareApis.FhirResourceCreated\" event. */\n \"Microsoft.HealthcareApis.FhirResourceCreated\": HealthcareFhirResourceCreatedEventData;\n /** An interface for the event data of a \"Microsoft.HealthcareApis.FhirUpdatedCreated\" event. */\n \"Microsoft.HealthcareApis.FhirUpdatedCreated\": HealthcareFhirResourceUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.HealthcareApis.FhirDeletedCreated\" event. */\n \"Microsoft.HealthcareApis.FhirDeletedCreated\": HealthcareFhirResourceDeletedEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.CertificateNewVersionCreated\" event. */\n \"Microsoft.KeyVault.CertificateNewVersionCreated\": KeyVaultCertificateNewVersionCreatedEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.CertificateNearExpiry\" event. */\n \"Microsoft.KeyVault.CertificateNearExpiry\": KeyVaultCertificateNearExpiryEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.CertificateExpired\" event. */\n \"Microsoft.KeyVault.CertificateExpired\": KeyVaultCertificateExpiredEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.KeyNewVersionCreated\" event. */\n \"Microsoft.KeyVault.KeyNewVersionCreated\": KeyVaultKeyNewVersionCreatedEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.KeyNearExpiry\" event. */\n \"Microsoft.KeyVault.KeyNearExpiry\": KeyVaultKeyNearExpiryEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.KeyExpired\" event. */\n \"Microsoft.KeyVault.KeyExpired\": KeyVaultKeyExpiredEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.SecretNewVersionCreated\" event. */\n \"Microsoft.KeyVault.SecretNewVersionCreated\": KeyVaultSecretNewVersionCreatedEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.SecretNearExpiry\" event. */\n \"Microsoft.KeyVault.SecretNearExpiry\": KeyVaultSecretNearExpiryEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.SecretExpired\" event. */\n \"Microsoft.KeyVault.SecretExpired\": KeyVaultSecretExpiredEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.VaultAccessPolicyChanged\" event. */\n \"Microsoft.KeyVault.VaultAccessPolicyChanged\": KeyVaultAccessPolicyChangedEventData;\n /** An interface for the event data of a \"Microsoft.MachineLearningServices.DatasetDriftDetected\" event. */\n \"Microsoft.MachineLearningServices.DatasetDriftDetected\": MachineLearningServicesDatasetDriftDetectedEventData;\n /** An interface for the event data of a \"Microsoft.MachineLearningServices.ModelDeployed\" event. */\n \"Microsoft.MachineLearningServices.ModelDeployed\": MachineLearningServicesModelDeployedEventData;\n /** An interface for the event data of a \"Microsoft.MachineLearningServices.ModelRegistered\" event. */\n \"Microsoft.MachineLearningServices.ModelRegistered\": MachineLearningServicesModelRegisteredEventData;\n /** An interface for the event data of a \"Microsoft.MachineLearningServices.RunCompleted\" event. */\n \"Microsoft.MachineLearningServices.RunCompleted\": MachineLearningServicesRunCompletedEventData;\n /** An interface for the event data of a \"Microsoft.MachineLearningServices.RunStatusChanged\" event. */\n \"Microsoft.MachineLearningServices.RunStatusChanged\": MachineLearningServicesRunStatusChangedEventData;\n /** An interface for the event data of a \"Microsoft.Maps.GeofenceEntered\" event. */\n \"Microsoft.Maps.GeofenceEntered\": MapsGeofenceEnteredEventData;\n /** An interface for the event data of a \"Microsoft.Maps.GeofenceExited\" event. */\n \"Microsoft.Maps.GeofenceExited\": MapsGeofenceExitedEventData;\n /** An interface for the event data of a \"Microsoft.Maps.GeofenceResult\" event. */\n \"Microsoft.Maps.GeofenceResult\": MapsGeofenceResultEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobStateChange\" event. */\n \"Microsoft.Media.JobStateChange\": MediaJobStateChangeEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobOutputStateChange\" event. */\n \"Microsoft.Media.JobOutputStateChange\": MediaJobOutputStateChangeEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobScheduled\" event. */\n \"Microsoft.Media.JobScheduled\": MediaJobScheduledEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobProcessing\" event. */\n \"Microsoft.Media.JobProcessing\": MediaJobProcessingEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobCanceling\" event. */\n \"Microsoft.Media.JobCanceling\": MediaJobCancelingEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobFinished\" event. */\n \"Microsoft.Media.JobFinished\": MediaJobFinishedEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobCanceled\" event. */\n \"Microsoft.Media.JobCanceled\": MediaJobCanceledEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobErrored\" event. */\n \"Microsoft.Media.JobErrored\": MediaJobErroredEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobOutputCanceled\" event. */\n \"Microsoft.Media.JobOutputCanceled\": MediaJobOutputCanceledEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobOutputCanceling\" event. */\n \"Microsoft.Media.JobOutputCanceling\": MediaJobOutputCancelingEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobOutputErrored\" event. */\n \"Microsoft.Media.JobOutputErrored\": MediaJobOutputErroredEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobOutputFinished\" event. */\n \"Microsoft.Media.JobOutputFinished\": MediaJobOutputFinishedEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobOutputProcessing\" event. */\n \"Microsoft.Media.JobOutputProcessing\": MediaJobOutputProcessingEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobOutputScheduled\" event. */\n \"Microsoft.Media.JobOutputScheduled\": MediaJobOutputScheduledEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobOutputProgress\" event. */\n \"Microsoft.Media.JobOutputProgress\": MediaJobOutputProgressEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventEncoderConnected\" event. */\n \"Microsoft.Media.LiveEventEncoderConnected\": MediaLiveEventEncoderConnectedEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventChannelArchiveHeartbeat\" event. */\n \"Microsoft.Media.LiveEventChannelArchiveHeartbeat\": MediaLiveEventChannelArchiveHeartbeatEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventConnectionRejected\" event. */\n \"Microsoft.Media.LiveEventConnectionRejected\": MediaLiveEventConnectionRejectedEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventEncoderDisconnected\" event. */\n \"Microsoft.Media.LiveEventEncoderDisconnected\": MediaLiveEventEncoderDisconnectedEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventIncomingStreamReceived\" event. */\n \"Microsoft.Media.LiveEventIncomingStreamReceived\": MediaLiveEventIncomingStreamReceivedEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventIncomingStreamsOutOfSync\" event. */\n \"Microsoft.Media.LiveEventIncomingStreamsOutOfSync\": MediaLiveEventIncomingStreamsOutOfSyncEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventIncomingVideoStreamsOutOfSync\" event. */\n \"Microsoft.Media.LiveEventIncomingVideoStreamsOutOfSync\": MediaLiveEventIncomingVideoStreamsOutOfSyncEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventIncomingDataChunkDropped\" event. */\n \"Microsoft.Media.LiveEventIncomingDataChunkDropped\": MediaLiveEventIncomingDataChunkDroppedEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventIngestHeartbeat\" event. */\n \"Microsoft.Media.LiveEventIngestHeartbeat\": MediaLiveEventIngestHeartbeatEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventTrackDiscontinuityDetected\" event. */\n \"Microsoft.Media.LiveEventTrackDiscontinuityDetected\": MediaLiveEventTrackDiscontinuityDetectedEventData;\n /** An interface for the event data of a \"Microsoft.PolicyInsights.PolicyStateChanged\" event. */\n \"Microsoft.PolicyInsights.PolicyStateChanged \": PolicyInsightsPolicyStateChangedEventData;\n /** An interface for the event data of a \" Microsoft.PolicyInsights.PolicyStateCreated\" event. */\n \"Microsoft.PolicyInsights.PolicyStateCreated\": PolicyInsightsPolicyStateCreatedEventData;\n /** An interface for the event data of a \"Microsoft.PolicyInsights.PolicyStateDeleted\" event. */\n \"Microsoft.PolicyInsights.PolicyStateDeleted\": PolicyInsightsPolicyStateDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceDeleteSuccess\" event. */\n \"Microsoft.Resources.ResourceWriteSuccess\": ResourceWriteSuccessEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceWriteFailure\" event. */\n \"Microsoft.Resources.ResourceWriteFailure\": ResourceWriteFailureEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceWriteCancel\" event. */\n \"Microsoft.Resources.ResourceWriteCancel\": ResourceWriteCancelEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceDeleteSuccess\" event. */\n \"Microsoft.Resources.ResourceDeleteSuccess\": ResourceDeleteSuccessEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceDeleteFailure\" event. */\n \"Microsoft.Resources.ResourceDeleteFailure\": ResourceDeleteFailureEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceDeleteCancel\" event. */\n \"Microsoft.Resources.ResourceDeleteCancel\": ResourceDeleteCancelEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceActionSuccess\" event. */\n \"Microsoft.Resources.ResourceActionSuccess\": ResourceActionSuccessEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceActionFailure\" event. */\n \"Microsoft.Resources.ResourceActionFailure\": ResourceActionFailureEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceActionCancel\" event. */\n \"Microsoft.Resources.ResourceActionCancel\": ResourceActionCancelEventData;\n /** An interface for the event data of a \"Microsoft.ServiceBus.ActiveMessagesAvailableWithNoListeners\" event. */\n \"Microsoft.ServiceBus.ActiveMessagesAvailableWithNoListeners\": ServiceBusActiveMessagesAvailableWithNoListenersEventData;\n /** An interface for the event data of a \"Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListeners\" event. */\n \"Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListeners\": ServiceBusDeadletterMessagesAvailableWithNoListenersEventData;\n /** An interface for the event data of a \"Microsoft.Storage.AsyncOperationInitiated\" event. */\n \"Microsoft.Storage.AsyncOperationInitiated\": StorageAsyncOperationInitiatedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.BlobCreated\" event. */\n \"Microsoft.Storage.BlobCreated\": StorageBlobCreatedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.BlobDeleted\" event. */\n \"Microsoft.Storage.BlobDeleted\": StorageBlobDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.BlobInventoryPolicyCompleted\" event. */\n \"Microsoft.Storage.BlobInventoryPolicyCompleted\": StorageBlobInventoryPolicyCompletedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.BlobTierChanged\" event. */\n \"Microsoft.Storage.BlobTierChanged\": StorageBlobTierChangedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.BlobRenamed\" event. */\n \"Microsoft.Storage.BlobRenamed\": StorageBlobRenamedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.DirectoryCreated\" event. */\n \"Microsoft.Storage.DirectoryCreated\": StorageDirectoryCreatedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.DirectoryDeleted\" event. */\n \"Microsoft.Storage.DirectoryDeleted\": StorageDirectoryDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.DirectoryRenamed\" event. */\n \"Microsoft.Storage.DirectoryRenamed\": StorageDirectoryRenamedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.LifecyclePolicyCompleted\" event. */\n \"Microsoft.Storage.LifecyclePolicyCompleted\": StorageLifecyclePolicyCompletedEventData;\n /** An interface for the event data of a \"Microsoft.Web.AppUpdated\" event. */\n \"Microsoft.Web.AppUpdated\": WebAppUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.Web.BackupOperationStarted\" event. */\n \"Microsoft.Web.BackupOperationStarted\": WebBackupOperationStartedEventData;\n /** An interface for the event data of a \"Microsoft.Web.BackupOperationCompleted\" event. */\n \"Microsoft.Web.BackupOperationCompleted\": WebBackupOperationCompletedEventData;\n /** An interface for the event data of a \"Microsoft.Web.BackupOperationFailed\" event. */\n \"Microsoft.Web.BackupOperationFailed\": WebBackupOperationFailedEventData;\n /** An interface for the event data of a \"Microsoft.Web.RestoreOperationStarted\" event. */\n \"Microsoft.Web.RestoreOperationStarted\": WebRestoreOperationStartedEventData;\n /** An interface for the event data of a \"Microsoft.Web.RestoreOperationCompleted\" event. */\n \"Microsoft.Web.RestoreOperationCompleted\": WebRestoreOperationCompletedEventData;\n /** An interface for the event data of a \"Microsoft.Web.RestoreOperationFailed\" event. */\n \"Microsoft.Web.RestoreOperationFailed\": WebRestoreOperationFailedEventData;\n /** An interface for the event data of a \"Microsoft.Web.SlotSwapStarted\" event. */\n \"Microsoft.Web.SlotSwapStarted\": WebSlotSwapStartedEventData;\n /** An interface for the event data of a \"Microsoft.Web.SlotSwapCompleted\" event. */\n \"Microsoft.Web.SlotSwapCompleted\": WebSlotSwapCompletedEventData;\n /** An interface for the event data of a \"Microsoft.Web.SlotSwapFailed\" event. */\n \"Microsoft.Web.SlotSwapFailed\": WebSlotSwapFailedEventData;\n /** An interface for the event data of a \"Microsoft.Web.SlotSwapWithPreviewStarted\" event. */\n \"Microsoft.Web.SlotSwapWithPreviewStarted\": WebSlotSwapWithPreviewStartedEventData;\n /** An interface for the event data of a \"Microsoft.Web.SlotSwapWithPreviewCancelled\" event. */\n \"Microsoft.Web.SlotSwapWithPreviewCancelled\": WebSlotSwapWithPreviewCancelledEventData;\n /** An interface for the event data of a \"Microsoft.Web.AppServicePlanUpdated\" event. */\n \"Microsoft.Web.AppServicePlanUpdated\": WebAppServicePlanUpdatedEventData;\n}\n\n/**\n * isCloudEventLike returns \"true\" when the event is a CloudEvent\n *\n * @param o - Either an EventGrid our CloudEvent event.\n */\nfunction isCloudEventLike(\n o: EventGridEvent<unknown> | CloudEvent<unknown>\n): o is CloudEvent<unknown> {\n return (o as any).source !== undefined;\n}\n\n/**\n * iSystemEvent returns \"true\" when a given event is a system event of a given type. When using\n * TypeScript, this function acts as a custom type guard and allows the TypeScript compiler to\n * identify the underlying data\n *\n * @param eventType - The type of system event to check for, e.g., \"Microsoft.AppConfiguration.KeyValueDeleted\"\n * @param event - The event to test.\n */\nexport function isSystemEvent<T extends KnownSystemEventTypes>(\n eventType: T,\n event: EventGridEvent<unknown>\n): event is EventGridEvent<SystemEventNameToEventData[T]>;\n\n/**\n * iSystemEvent returns \"true\" when a given event is a system event of a given type. When using\n * TypeScript, this function acts as a custom type guard and allows the TypeScript compiler to\n * identify the underlying data\n *\n * @param eventType - The type of system event to check for, e.g., \"Microsoft.AppConfiguration.KeyValueDeleted\"\n * @param event - The event to test.\n */\nexport function isSystemEvent<T extends KnownSystemEventTypes>(\n eventType: T,\n event: CloudEvent<unknown>\n): event is CloudEvent<SystemEventNameToEventData[T]>;\n\nexport function isSystemEvent<T extends KnownSystemEventTypes>(\n eventType: T,\n event: EventGridEvent<unknown> | CloudEvent<unknown>\n): event is\n | EventGridEvent<SystemEventNameToEventData[T]>\n | CloudEvent<SystemEventNameToEventData[T]> {\n if (isCloudEventLike(event)) {\n return event.type === eventType;\n } else {\n return event.eventType === eventType;\n }\n}\n"]}
|
1
|
+
{"version":3,"file":"predicates.js","sourceRoot":"","sources":["../../src/predicates.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AA2dlC;;;;GAIG;AACH,SAAS,gBAAgB,CACvB,CAAgD;IAEhD,OAAQ,CAAS,CAAC,MAAM,KAAK,SAAS,CAAC;AACzC,CAAC;AA4BD,MAAM,UAAU,aAAa,CAC3B,SAAY,EACZ,KAAoD;IAIpD,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;QAC3B,OAAO,KAAK,CAAC,IAAI,KAAK,SAAS,CAAC;KACjC;SAAM;QACL,OAAO,KAAK,CAAC,SAAS,KAAK,SAAS,CAAC;KACtC;AACH,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n AcsChatMessageDeletedEventData,\n AcsChatMessageDeletedInThreadEventData,\n AcsChatMessageEditedEventData,\n AcsChatMessageEditedInThreadEventData,\n AcsChatMessageReceivedEventData,\n AcsChatMessageReceivedInThreadEventData,\n AcsChatParticipantAddedToThreadEventData,\n AcsChatParticipantAddedToThreadWithUserEventData,\n AcsChatParticipantRemovedFromThreadEventData,\n AcsChatParticipantRemovedFromThreadWithUserEventData,\n AcsChatThreadCreatedWithUserEventData,\n AcsChatThreadPropertiesUpdatedPerUserEventData,\n AcsChatThreadWithUserDeletedEventData,\n AcsRecordingFileStatusUpdatedEventData,\n AcsSmsDeliveryReportReceivedEventData,\n AcsSmsReceivedEventData,\n AcsUserDisconnectedEventData,\n ApiManagementApiCreatedEventData,\n ApiManagementApiDeletedEventData,\n ApiManagementApiReleaseCreatedEventData,\n ApiManagementApiReleaseDeletedEventData,\n ApiManagementApiReleaseUpdatedEventData,\n ApiManagementApiUpdatedEventData,\n ApiManagementProductCreatedEventData,\n ApiManagementProductDeletedEventData,\n ApiManagementProductUpdatedEventData,\n ApiManagementSubscriptionCreatedEventData,\n ApiManagementSubscriptionDeletedEventData,\n ApiManagementSubscriptionUpdatedEventData,\n ApiManagementUserCreatedEventData,\n ApiManagementUserDeletedEventData,\n ApiManagementUserUpdatedEventData,\n AppConfigurationKeyValueDeletedEventData,\n AppConfigurationKeyValueModifiedEventData,\n ContainerRegistryChartDeletedEventData,\n ContainerRegistryChartPushedEventData,\n ContainerRegistryImageDeletedEventData,\n ContainerRegistryImagePushedEventData,\n ContainerServiceNewKubernetesVersionAvailableEventData,\n EventHubCaptureFileCreatedEventData,\n HealthcareDicomImageCreatedEventData,\n HealthcareDicomImageDeletedEventData,\n HealthcareFhirResourceCreatedEventData,\n HealthcareFhirResourceDeletedEventData,\n HealthcareFhirResourceUpdatedEventData,\n IotHubDeviceConnectedEventData,\n IotHubDeviceCreatedEventData,\n IotHubDeviceDeletedEventData,\n IotHubDeviceDisconnectedEventData,\n IotHubDeviceTelemetryEventData,\n KeyVaultAccessPolicyChangedEventData,\n KeyVaultCertificateExpiredEventData,\n KeyVaultCertificateNearExpiryEventData,\n KeyVaultCertificateNewVersionCreatedEventData,\n KeyVaultKeyExpiredEventData,\n KeyVaultKeyNearExpiryEventData,\n KeyVaultKeyNewVersionCreatedEventData,\n KeyVaultSecretExpiredEventData,\n KeyVaultSecretNearExpiryEventData,\n KeyVaultSecretNewVersionCreatedEventData,\n MachineLearningServicesDatasetDriftDetectedEventData,\n MachineLearningServicesModelDeployedEventData,\n MachineLearningServicesModelRegisteredEventData,\n MachineLearningServicesRunCompletedEventData,\n MachineLearningServicesRunStatusChangedEventData,\n MapsGeofenceEnteredEventData,\n MapsGeofenceExitedEventData,\n MapsGeofenceResultEventData,\n MediaJobCanceledEventData,\n MediaJobCancelingEventData,\n MediaJobErroredEventData,\n MediaJobFinishedEventData,\n MediaJobOutputCanceledEventData,\n MediaJobOutputCancelingEventData,\n MediaJobOutputErroredEventData,\n MediaJobOutputFinishedEventData,\n MediaJobOutputProcessingEventData,\n MediaJobOutputProgressEventData,\n MediaJobOutputScheduledEventData,\n MediaJobOutputStateChangeEventData,\n MediaJobProcessingEventData,\n MediaJobScheduledEventData,\n MediaJobStateChangeEventData,\n MediaLiveEventChannelArchiveHeartbeatEventData,\n MediaLiveEventConnectionRejectedEventData,\n MediaLiveEventEncoderConnectedEventData,\n MediaLiveEventEncoderDisconnectedEventData,\n MediaLiveEventIncomingDataChunkDroppedEventData,\n MediaLiveEventIncomingStreamReceivedEventData,\n MediaLiveEventIncomingStreamsOutOfSyncEventData,\n MediaLiveEventIncomingVideoStreamsOutOfSyncEventData,\n MediaLiveEventIngestHeartbeatEventData,\n MediaLiveEventTrackDiscontinuityDetectedEventData,\n PolicyInsightsPolicyStateChangedEventData,\n PolicyInsightsPolicyStateCreatedEventData,\n PolicyInsightsPolicyStateDeletedEventData,\n ResourceActionCancelEventData,\n ResourceActionFailureEventData,\n ResourceActionSuccessEventData,\n ResourceDeleteCancelEventData,\n ResourceDeleteFailureEventData,\n ResourceDeleteSuccessEventData,\n ResourceWriteCancelEventData,\n ResourceWriteFailureEventData,\n ResourceWriteSuccessEventData,\n ServiceBusActiveMessagesAvailableWithNoListenersEventData,\n ServiceBusDeadletterMessagesAvailableWithNoListenersEventData,\n StorageAsyncOperationInitiatedEventData,\n StorageBlobCreatedEventData,\n StorageBlobDeletedEventData,\n StorageBlobInventoryPolicyCompletedEventData,\n StorageBlobRenamedEventData,\n StorageBlobTierChangedEventData,\n StorageDirectoryCreatedEventData,\n StorageDirectoryDeletedEventData,\n StorageDirectoryRenamedEventData,\n StorageLifecyclePolicyCompletedEventData,\n SubscriptionDeletedEventData,\n SubscriptionValidationEventData,\n WebAppServicePlanUpdatedEventData,\n WebAppUpdatedEventData,\n WebBackupOperationCompletedEventData,\n WebBackupOperationFailedEventData,\n WebBackupOperationStartedEventData,\n WebRestoreOperationCompletedEventData,\n WebRestoreOperationFailedEventData,\n WebRestoreOperationStartedEventData,\n WebSlotSwapCompletedEventData,\n WebSlotSwapFailedEventData,\n WebSlotSwapStartedEventData,\n WebSlotSwapWithPreviewCancelledEventData,\n WebSlotSwapWithPreviewStartedEventData,\n StorageTaskQueuedEventData,\n StorageTaskCompletedEventData,\n DataBoxCopyStartedEventData,\n DataBoxCopyCompletedEventData,\n DataBoxOrderCompletedEventData,\n AcsIncomingCallEventData,\n AcsEmailDeliveryReportReceivedEventData,\n AcsEmailEngagementTrackingReportReceivedEventData,\n ApiManagementGatewayCreatedEventData,\n ApiManagementGatewayUpdatedEventData,\n ApiManagementGatewayDeletedEventData,\n ApiManagementGatewayHostnameConfigurationCreatedEventData,\n ApiManagementGatewayHostnameConfigurationUpdatedEventData,\n ApiManagementGatewayHostnameConfigurationDeletedEventData,\n ApiManagementGatewayCertificateAuthorityCreatedEventData,\n ApiManagementGatewayCertificateAuthorityUpdatedEventData,\n ApiManagementGatewayCertificateAuthorityDeletedEventData,\n ApiManagementGatewayApiAddedEventData,\n ApiManagementGatewayApiRemovedEventData,\n HealthcareDicomImageUpdatedEventData,\n} from \"./generated/models\";\n\nimport { CloudEvent, EventGridEvent } from \"./models\";\n\n/**\n * The Event Types for all System Events. These may be used with `isSystemEvent` to determine if an\n * event is a system event of a given type.\n */\nexport type KnownSystemEventTypes = keyof SystemEventNameToEventData;\n\n/**\n * A mapping of event type names to event data type interfaces.\n */\nexport interface SystemEventNameToEventData {\n /** An interface for the event data of a \"Microsoft.ApiManagement.UserCreated\" event. */\n \"Microsoft.ApiManagement.UserCreated\": ApiManagementUserCreatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.UserUpdated\" event. */\n \"Microsoft.ApiManagement.UserUpdated\": ApiManagementUserUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.UserDeleted\" event. */\n \"Microsoft.ApiManagement.UserDeleted\": ApiManagementUserDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.SubscriptionCreated\" event. */\n \"Microsoft.ApiManagement.SubscriptionCreated\": ApiManagementSubscriptionCreatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.SubscriptionUpdated\" event. */\n \"Microsoft.ApiManagement.SubscriptionUpdated\": ApiManagementSubscriptionUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.SubscriptionDeleted\" event. */\n \"Microsoft.ApiManagement.SubscriptionDeleted\": ApiManagementSubscriptionDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.ProductCreated\" event. */\n \"Microsoft.ApiManagement.ProductCreated\": ApiManagementProductCreatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.ProductUpdated\" event. */\n \"Microsoft.ApiManagement.ProductUpdated\": ApiManagementProductUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.ProductDeleted\" event. */\n \"Microsoft.ApiManagement.ProductDeleted\": ApiManagementProductDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.APICreated\" event. */\n \"Microsoft.ApiManagement.APICreated\": ApiManagementApiCreatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.APIUpdated\" event. */\n \"Microsoft.ApiManagement.APIUpdated\": ApiManagementApiUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.APIDeleted\" event. */\n \"Microsoft.ApiManagement.APIDeleted\": ApiManagementApiDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.APIReleaseCreated\" event. */\n \"Microsoft.ApiManagement.APIReleaseCreated\": ApiManagementApiReleaseCreatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.APIReleaseUpdated\" event. */\n \"Microsoft.ApiManagement.APIReleaseUpdated\": ApiManagementApiReleaseUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.APIReleaseDeleted\" event. */\n \"Microsoft.ApiManagement.APIReleaseDeleted\": ApiManagementApiReleaseDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatMessageReceived\" event. */\n \"Microsoft.Communication.ChatMessageReceived\": AcsChatMessageReceivedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatMessageReceivedInThread\" event. */\n \"Microsoft.Communication.ChatMessageReceivedInThread\": AcsChatMessageReceivedInThreadEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatMessageEdited\" event. */\n \"Microsoft.Communication.ChatMessageEdited\": AcsChatMessageEditedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatMessageEditedInThread\" event. */\n \"Microsoft.Communication.ChatMessageEditedInThread\": AcsChatMessageEditedInThreadEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatMessageDeleted\" event. */\n \"Microsoft.Communication.ChatMessageDeleted\": AcsChatMessageDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatMessageDeletedInThread\" event. */\n \"Microsoft.Communication.ChatMessageDeletedInThread\": AcsChatMessageDeletedInThreadEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatThreadCreatedWithUser\" event. */\n \"Microsoft.Communication.ChatThreadCreatedWithUser\": AcsChatThreadCreatedWithUserEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatThreadWithUserDeleted\" event. */\n \"Microsoft.Communication.ChatThreadWithUserDeleted\": AcsChatThreadWithUserDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatThreadPropertiesUpdatedPerUser\" event. */\n \"Microsoft.Communication.ChatThreadPropertiesUpdatedPerUser\": AcsChatThreadPropertiesUpdatedPerUserEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatThreadParticipantAdded\" event. */\n \"Microsoft.Communication.ChatThreadParticipantAdded\": AcsChatParticipantAddedToThreadEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatParticipantAddedToThreadWithUser\" event. */\n \"Microsoft.Communication.ChatParticipantAddedToThreadWithUser\": AcsChatParticipantAddedToThreadWithUserEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatThreadParticipantRemoved\" event. */\n \"Microsoft.Communication.ChatThreadParticipantRemoved\": AcsChatParticipantRemovedFromThreadEventData;\n /** An interface for the event data of a \"Microsoft.Communication.ChatParticipantRemovedFromThreadWithUser\" event. */\n \"Microsoft.Communication.ChatParticipantRemovedFromThreadWithUser\": AcsChatParticipantRemovedFromThreadWithUserEventData;\n /** An interface for the event data of a \"Microsoft.Communication.RecordingFileStatusUpdated\" event. */\n \"Microsoft.Communication.RecordingFileStatusUpdated\": AcsRecordingFileStatusUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.SMSDeliveryReportReceived\" event. */\n \"Microsoft.Communication.SMSDeliveryReportReceived\": AcsSmsDeliveryReportReceivedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.SMSReceived\" event. */\n \"Microsoft.Communication.SMSReceived\": AcsSmsReceivedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.UserDisconnected\" event. */\n \"Microsoft.Communication.UserDisconnected\": AcsUserDisconnectedEventData;\n /** An interface for the event data of a \"Microsoft.ContainerService.NewKubernetesVersionAvailable\" event. */\n \"Microsoft.ContainerService.NewKubernetesVersionAvailable\": ContainerServiceNewKubernetesVersionAvailableEventData;\n /** An interface for the event data of a \"Microsoft.AppConfiguration.KeyValueDeleted\" event. */\n \"Microsoft.AppConfiguration.KeyValueDeleted\": AppConfigurationKeyValueDeletedEventData;\n /** An interface for the event data of a \"Microsoft.AppConfiguration.KeyValueModified\" event. */\n \"Microsoft.AppConfiguration.KeyValueModified\": AppConfigurationKeyValueModifiedEventData;\n /** An interface for the event data of a \"Microsoft.ContainerRegistry.ImagePushed\" event. */\n \"Microsoft.ContainerRegistry.ImagePushed\": ContainerRegistryImagePushedEventData;\n /** An interface for the event data of a \"Microsoft.ContainerRegistry.ImageDeleted\" event. */\n \"Microsoft.ContainerRegistry.ImageDeleted\": ContainerRegistryImageDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ContainerRegistry.ChartDeleted\" event. */\n \"Microsoft.ContainerRegistry.ChartDeleted\": ContainerRegistryChartDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ContainerRegistry.ChartPushed\" event. */\n \"Microsoft.ContainerRegistry.ChartPushed\": ContainerRegistryChartPushedEventData;\n /** An interface for the event data of a \"Microsoft.Devices.DeviceCreated\" event. */\n \"Microsoft.Devices.DeviceCreated\": IotHubDeviceCreatedEventData;\n /** An interface for the event data of a \"Microsoft.Devices.DeviceDeleted\" event. */\n \"Microsoft.Devices.DeviceDeleted\": IotHubDeviceDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Devices.DeviceConnected\" event. */\n \"Microsoft.Devices.DeviceConnected\": IotHubDeviceConnectedEventData;\n /** An interface for the event data of a \"Microsoft.Devices.DeviceDisconnected\" event. */\n \"Microsoft.Devices.DeviceDisconnected\": IotHubDeviceDisconnectedEventData;\n /** An interface for the event data of a \"Microsoft.Devices.DeviceTelemetry\" event. */\n \"Microsoft.Devices.DeviceTelemetry\": IotHubDeviceTelemetryEventData;\n /** An interface for the event data of a \"Microsoft.EventGrid.SubscriptionValidationEvent\" event. */\n \"Microsoft.EventGrid.SubscriptionValidationEvent\": SubscriptionValidationEventData;\n /** An interface for the event data of a \"Microsoft.EventGrid.SubscriptionDeletedEvent\" event. */\n \"Microsoft.EventGrid.SubscriptionDeletedEvent\": SubscriptionDeletedEventData;\n /** An interface for the event data of a \"Microsoft.EventHub.CaptureFileCreated\" event. */\n \"Microsoft.EventHub.CaptureFileCreated\": EventHubCaptureFileCreatedEventData;\n /** An interface for the event data of a \"Microsoft.HealthcareApis.DicomImageCreated\" event. */\n \"Microsoft.HealthcareApis.DicomImageCreated\": HealthcareDicomImageCreatedEventData;\n /** An interface for the event data of a \"Microsoft.HealthcareApis.DicomImageDeleted\" event. */\n \"Microsoft.HealthcareApis.DicomImageDeleted\": HealthcareDicomImageDeletedEventData;\n /** An interface for the event data of a \"Microsoft.HealthcareApis.FhirResourceCreated\" event. */\n \"Microsoft.HealthcareApis.FhirResourceCreated\": HealthcareFhirResourceCreatedEventData;\n /** An interface for the event data of a \"Microsoft.HealthcareApis.FhirUpdatedCreated\" event. */\n \"Microsoft.HealthcareApis.FhirUpdatedCreated\": HealthcareFhirResourceUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.HealthcareApis.FhirDeletedCreated\" event. */\n \"Microsoft.HealthcareApis.FhirDeletedCreated\": HealthcareFhirResourceDeletedEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.CertificateNewVersionCreated\" event. */\n \"Microsoft.KeyVault.CertificateNewVersionCreated\": KeyVaultCertificateNewVersionCreatedEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.CertificateNearExpiry\" event. */\n \"Microsoft.KeyVault.CertificateNearExpiry\": KeyVaultCertificateNearExpiryEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.CertificateExpired\" event. */\n \"Microsoft.KeyVault.CertificateExpired\": KeyVaultCertificateExpiredEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.KeyNewVersionCreated\" event. */\n \"Microsoft.KeyVault.KeyNewVersionCreated\": KeyVaultKeyNewVersionCreatedEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.KeyNearExpiry\" event. */\n \"Microsoft.KeyVault.KeyNearExpiry\": KeyVaultKeyNearExpiryEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.KeyExpired\" event. */\n \"Microsoft.KeyVault.KeyExpired\": KeyVaultKeyExpiredEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.SecretNewVersionCreated\" event. */\n \"Microsoft.KeyVault.SecretNewVersionCreated\": KeyVaultSecretNewVersionCreatedEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.SecretNearExpiry\" event. */\n \"Microsoft.KeyVault.SecretNearExpiry\": KeyVaultSecretNearExpiryEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.SecretExpired\" event. */\n \"Microsoft.KeyVault.SecretExpired\": KeyVaultSecretExpiredEventData;\n /** An interface for the event data of a \"Microsoft.KeyVault.VaultAccessPolicyChanged\" event. */\n \"Microsoft.KeyVault.VaultAccessPolicyChanged\": KeyVaultAccessPolicyChangedEventData;\n /** An interface for the event data of a \"Microsoft.MachineLearningServices.DatasetDriftDetected\" event. */\n \"Microsoft.MachineLearningServices.DatasetDriftDetected\": MachineLearningServicesDatasetDriftDetectedEventData;\n /** An interface for the event data of a \"Microsoft.MachineLearningServices.ModelDeployed\" event. */\n \"Microsoft.MachineLearningServices.ModelDeployed\": MachineLearningServicesModelDeployedEventData;\n /** An interface for the event data of a \"Microsoft.MachineLearningServices.ModelRegistered\" event. */\n \"Microsoft.MachineLearningServices.ModelRegistered\": MachineLearningServicesModelRegisteredEventData;\n /** An interface for the event data of a \"Microsoft.MachineLearningServices.RunCompleted\" event. */\n \"Microsoft.MachineLearningServices.RunCompleted\": MachineLearningServicesRunCompletedEventData;\n /** An interface for the event data of a \"Microsoft.MachineLearningServices.RunStatusChanged\" event. */\n \"Microsoft.MachineLearningServices.RunStatusChanged\": MachineLearningServicesRunStatusChangedEventData;\n /** An interface for the event data of a \"Microsoft.Maps.GeofenceEntered\" event. */\n \"Microsoft.Maps.GeofenceEntered\": MapsGeofenceEnteredEventData;\n /** An interface for the event data of a \"Microsoft.Maps.GeofenceExited\" event. */\n \"Microsoft.Maps.GeofenceExited\": MapsGeofenceExitedEventData;\n /** An interface for the event data of a \"Microsoft.Maps.GeofenceResult\" event. */\n \"Microsoft.Maps.GeofenceResult\": MapsGeofenceResultEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobStateChange\" event. */\n \"Microsoft.Media.JobStateChange\": MediaJobStateChangeEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobOutputStateChange\" event. */\n \"Microsoft.Media.JobOutputStateChange\": MediaJobOutputStateChangeEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobScheduled\" event. */\n \"Microsoft.Media.JobScheduled\": MediaJobScheduledEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobProcessing\" event. */\n \"Microsoft.Media.JobProcessing\": MediaJobProcessingEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobCanceling\" event. */\n \"Microsoft.Media.JobCanceling\": MediaJobCancelingEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobFinished\" event. */\n \"Microsoft.Media.JobFinished\": MediaJobFinishedEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobCanceled\" event. */\n \"Microsoft.Media.JobCanceled\": MediaJobCanceledEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobErrored\" event. */\n \"Microsoft.Media.JobErrored\": MediaJobErroredEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobOutputCanceled\" event. */\n \"Microsoft.Media.JobOutputCanceled\": MediaJobOutputCanceledEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobOutputCanceling\" event. */\n \"Microsoft.Media.JobOutputCanceling\": MediaJobOutputCancelingEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobOutputErrored\" event. */\n \"Microsoft.Media.JobOutputErrored\": MediaJobOutputErroredEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobOutputFinished\" event. */\n \"Microsoft.Media.JobOutputFinished\": MediaJobOutputFinishedEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobOutputProcessing\" event. */\n \"Microsoft.Media.JobOutputProcessing\": MediaJobOutputProcessingEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobOutputScheduled\" event. */\n \"Microsoft.Media.JobOutputScheduled\": MediaJobOutputScheduledEventData;\n /** An interface for the event data of a \"Microsoft.Media.JobOutputProgress\" event. */\n \"Microsoft.Media.JobOutputProgress\": MediaJobOutputProgressEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventEncoderConnected\" event. */\n \"Microsoft.Media.LiveEventEncoderConnected\": MediaLiveEventEncoderConnectedEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventChannelArchiveHeartbeat\" event. */\n \"Microsoft.Media.LiveEventChannelArchiveHeartbeat\": MediaLiveEventChannelArchiveHeartbeatEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventConnectionRejected\" event. */\n \"Microsoft.Media.LiveEventConnectionRejected\": MediaLiveEventConnectionRejectedEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventEncoderDisconnected\" event. */\n \"Microsoft.Media.LiveEventEncoderDisconnected\": MediaLiveEventEncoderDisconnectedEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventIncomingStreamReceived\" event. */\n \"Microsoft.Media.LiveEventIncomingStreamReceived\": MediaLiveEventIncomingStreamReceivedEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventIncomingStreamsOutOfSync\" event. */\n \"Microsoft.Media.LiveEventIncomingStreamsOutOfSync\": MediaLiveEventIncomingStreamsOutOfSyncEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventIncomingVideoStreamsOutOfSync\" event. */\n \"Microsoft.Media.LiveEventIncomingVideoStreamsOutOfSync\": MediaLiveEventIncomingVideoStreamsOutOfSyncEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventIncomingDataChunkDropped\" event. */\n \"Microsoft.Media.LiveEventIncomingDataChunkDropped\": MediaLiveEventIncomingDataChunkDroppedEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventIngestHeartbeat\" event. */\n \"Microsoft.Media.LiveEventIngestHeartbeat\": MediaLiveEventIngestHeartbeatEventData;\n /** An interface for the event data of a \"Microsoft.Media.LiveEventTrackDiscontinuityDetected\" event. */\n \"Microsoft.Media.LiveEventTrackDiscontinuityDetected\": MediaLiveEventTrackDiscontinuityDetectedEventData;\n /** An interface for the event data of a \"Microsoft.PolicyInsights.PolicyStateChanged\" event. */\n \"Microsoft.PolicyInsights.PolicyStateChanged \": PolicyInsightsPolicyStateChangedEventData;\n /** An interface for the event data of a \" Microsoft.PolicyInsights.PolicyStateCreated\" event. */\n \"Microsoft.PolicyInsights.PolicyStateCreated\": PolicyInsightsPolicyStateCreatedEventData;\n /** An interface for the event data of a \"Microsoft.PolicyInsights.PolicyStateDeleted\" event. */\n \"Microsoft.PolicyInsights.PolicyStateDeleted\": PolicyInsightsPolicyStateDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceDeleteSuccess\" event. */\n \"Microsoft.Resources.ResourceWriteSuccess\": ResourceWriteSuccessEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceWriteFailure\" event. */\n \"Microsoft.Resources.ResourceWriteFailure\": ResourceWriteFailureEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceWriteCancel\" event. */\n \"Microsoft.Resources.ResourceWriteCancel\": ResourceWriteCancelEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceDeleteSuccess\" event. */\n \"Microsoft.Resources.ResourceDeleteSuccess\": ResourceDeleteSuccessEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceDeleteFailure\" event. */\n \"Microsoft.Resources.ResourceDeleteFailure\": ResourceDeleteFailureEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceDeleteCancel\" event. */\n \"Microsoft.Resources.ResourceDeleteCancel\": ResourceDeleteCancelEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceActionSuccess\" event. */\n \"Microsoft.Resources.ResourceActionSuccess\": ResourceActionSuccessEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceActionFailure\" event. */\n \"Microsoft.Resources.ResourceActionFailure\": ResourceActionFailureEventData;\n /** An interface for the event data of a \"Microsoft.Resources.ResourceActionCancel\" event. */\n \"Microsoft.Resources.ResourceActionCancel\": ResourceActionCancelEventData;\n /** An interface for the event data of a \"Microsoft.ServiceBus.ActiveMessagesAvailableWithNoListeners\" event. */\n \"Microsoft.ServiceBus.ActiveMessagesAvailableWithNoListeners\": ServiceBusActiveMessagesAvailableWithNoListenersEventData;\n /** An interface for the event data of a \"Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListeners\" event. */\n \"Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListeners\": ServiceBusDeadletterMessagesAvailableWithNoListenersEventData;\n /** An interface for the event data of a \"Microsoft.Storage.AsyncOperationInitiated\" event. */\n \"Microsoft.Storage.AsyncOperationInitiated\": StorageAsyncOperationInitiatedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.BlobCreated\" event. */\n \"Microsoft.Storage.BlobCreated\": StorageBlobCreatedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.BlobDeleted\" event. */\n \"Microsoft.Storage.BlobDeleted\": StorageBlobDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.BlobInventoryPolicyCompleted\" event. */\n \"Microsoft.Storage.BlobInventoryPolicyCompleted\": StorageBlobInventoryPolicyCompletedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.BlobTierChanged\" event. */\n \"Microsoft.Storage.BlobTierChanged\": StorageBlobTierChangedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.BlobRenamed\" event. */\n \"Microsoft.Storage.BlobRenamed\": StorageBlobRenamedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.DirectoryCreated\" event. */\n \"Microsoft.Storage.DirectoryCreated\": StorageDirectoryCreatedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.DirectoryDeleted\" event. */\n \"Microsoft.Storage.DirectoryDeleted\": StorageDirectoryDeletedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.DirectoryRenamed\" event. */\n \"Microsoft.Storage.DirectoryRenamed\": StorageDirectoryRenamedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.LifecyclePolicyCompleted\" event. */\n \"Microsoft.Storage.LifecyclePolicyCompleted\": StorageLifecyclePolicyCompletedEventData;\n /** An interface for the event data of a \"Microsoft.Web.AppUpdated\" event. */\n \"Microsoft.Web.AppUpdated\": WebAppUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.Web.BackupOperationStarted\" event. */\n \"Microsoft.Web.BackupOperationStarted\": WebBackupOperationStartedEventData;\n /** An interface for the event data of a \"Microsoft.Web.BackupOperationCompleted\" event. */\n \"Microsoft.Web.BackupOperationCompleted\": WebBackupOperationCompletedEventData;\n /** An interface for the event data of a \"Microsoft.Web.BackupOperationFailed\" event. */\n \"Microsoft.Web.BackupOperationFailed\": WebBackupOperationFailedEventData;\n /** An interface for the event data of a \"Microsoft.Web.RestoreOperationStarted\" event. */\n \"Microsoft.Web.RestoreOperationStarted\": WebRestoreOperationStartedEventData;\n /** An interface for the event data of a \"Microsoft.Web.RestoreOperationCompleted\" event. */\n \"Microsoft.Web.RestoreOperationCompleted\": WebRestoreOperationCompletedEventData;\n /** An interface for the event data of a \"Microsoft.Web.RestoreOperationFailed\" event. */\n \"Microsoft.Web.RestoreOperationFailed\": WebRestoreOperationFailedEventData;\n /** An interface for the event data of a \"Microsoft.Web.SlotSwapStarted\" event. */\n \"Microsoft.Web.SlotSwapStarted\": WebSlotSwapStartedEventData;\n /** An interface for the event data of a \"Microsoft.Web.SlotSwapCompleted\" event. */\n \"Microsoft.Web.SlotSwapCompleted\": WebSlotSwapCompletedEventData;\n /** An interface for the event data of a \"Microsoft.Web.SlotSwapFailed\" event. */\n \"Microsoft.Web.SlotSwapFailed\": WebSlotSwapFailedEventData;\n /** An interface for the event data of a \"Microsoft.Web.SlotSwapWithPreviewStarted\" event. */\n \"Microsoft.Web.SlotSwapWithPreviewStarted\": WebSlotSwapWithPreviewStartedEventData;\n /** An interface for the event data of a \"Microsoft.Web.SlotSwapWithPreviewCancelled\" event. */\n \"Microsoft.Web.SlotSwapWithPreviewCancelled\": WebSlotSwapWithPreviewCancelledEventData;\n /** An interface for the event data of a \"Microsoft.Web.AppServicePlanUpdated\" event. */\n \"Microsoft.Web.AppServicePlanUpdated\": WebAppServicePlanUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.StorageTaskQueued\" event. */\n \"Microsoft.Storage.StorageTaskQueued\": StorageTaskQueuedEventData;\n /** An interface for the event data of a \"Microsoft.Storage.StorageTaskCompleted\" event. */\n \"Microsoft.Storage.StorageTaskCompleted\": StorageTaskCompletedEventData;\n /** An interface for the event data of a \"Microsoft.DataBox.CopyStarted\" event. */\n \"Microsoft.DataBox.CopyStarted\": DataBoxCopyStartedEventData;\n /** An interface for the event data of a \"Microsoft.DataBox.CopyCompleted\" event. */\n \"Microsoft.DataBox.CopyCompleted\": DataBoxCopyCompletedEventData;\n /** An interface for the event data of a \"Microsoft.DataBox.OrderCompleted\" event. */\n \"Microsoft.DataBox.OrderCompleted\": DataBoxOrderCompletedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.IncomingCall\" event. */\n \"Microsoft.Communication.IncomingCall\": AcsIncomingCallEventData;\n /** An interface for the event data of a \"Microsoft.Communication.EmailDeliveryReportReceived\" event. */\n \"Microsoft.Communication.EmailDeliveryReportReceived\": AcsEmailDeliveryReportReceivedEventData;\n /** An interface for the event data of a \"Microsoft.Communication.EmailEngagementTrackingReportReceived\" event. */\n \"Microsoft.Communication.EmailEngagementTrackingReportReceived\": AcsEmailEngagementTrackingReportReceivedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayCreated\" event. */\n \"Microsoft.ApiManagement.GatewayCreated\": ApiManagementGatewayCreatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayUpdated\" event. */\n \"Microsoft.ApiManagement.GatewayUpdated\": ApiManagementGatewayUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayDeleted\" event. */\n \"Microsoft.ApiManagement.GatewayDeleted\": ApiManagementGatewayDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayHostnameConfigurationCreated\" event. */\n \"Microsoft.ApiManagement.GatewayHostnameConfigurationCreated\": ApiManagementGatewayHostnameConfigurationCreatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayHostnameConfigurationUpdated\" event. */\n \"Microsoft.ApiManagement.GatewayHostnameConfigurationUpdated\": ApiManagementGatewayHostnameConfigurationUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayHostnameConfigurationDeleted\" event. */\n \"Microsoft.ApiManagement.GatewayHostnameConfigurationDeleted\": ApiManagementGatewayHostnameConfigurationDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayCertificateAuthorityCreated\" event. */\n \"Microsoft.ApiManagement.GatewayCertificateAuthorityCreated\": ApiManagementGatewayCertificateAuthorityCreatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayCertificateAuthorityUpdated\" event. */\n \"Microsoft.ApiManagement.GatewayCertificateAuthorityUpdated\": ApiManagementGatewayCertificateAuthorityUpdatedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayCertificateAuthorityDeleted\" event. */\n \"Microsoft.ApiManagement.GatewayCertificateAuthorityDeleted\": ApiManagementGatewayCertificateAuthorityDeletedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayAPIAdded\" event. */\n \"Microsoft.ApiManagement.GatewayAPIAdded\": ApiManagementGatewayApiAddedEventData;\n /** An interface for the event data of a \"Microsoft.ApiManagement.GatewayAPIRemoved\" event. */\n \"Microsoft.ApiManagement.GatewayAPIRemoved\": ApiManagementGatewayApiRemovedEventData;\n /** An interface for the event data of a \"Microsoft.HealthcareApis.DicomImageUpdated\" event. */\n \"Microsoft.HealthcareApis.DicomImageUpdated\": HealthcareDicomImageUpdatedEventData;\n}\n\n/**\n * isCloudEventLike returns \"true\" when the event is a CloudEvent\n *\n * @param o - Either an EventGrid our CloudEvent event.\n */\nfunction isCloudEventLike(\n o: EventGridEvent<unknown> | CloudEvent<unknown>\n): o is CloudEvent<unknown> {\n return (o as any).source !== undefined;\n}\n\n/**\n * iSystemEvent returns \"true\" when a given event is a system event of a given type. When using\n * TypeScript, this function acts as a custom type guard and allows the TypeScript compiler to\n * identify the underlying data\n *\n * @param eventType - The type of system event to check for, e.g., \"Microsoft.AppConfiguration.KeyValueDeleted\"\n * @param event - The event to test.\n */\nexport function isSystemEvent<T extends KnownSystemEventTypes>(\n eventType: T,\n event: EventGridEvent<unknown>\n): event is EventGridEvent<SystemEventNameToEventData[T]>;\n\n/**\n * iSystemEvent returns \"true\" when a given event is a system event of a given type. When using\n * TypeScript, this function acts as a custom type guard and allows the TypeScript compiler to\n * identify the underlying data\n *\n * @param eventType - The type of system event to check for, e.g., \"Microsoft.AppConfiguration.KeyValueDeleted\"\n * @param event - The event to test.\n */\nexport function isSystemEvent<T extends KnownSystemEventTypes>(\n eventType: T,\n event: CloudEvent<unknown>\n): event is CloudEvent<SystemEventNameToEventData[T]>;\n\nexport function isSystemEvent<T extends KnownSystemEventTypes>(\n eventType: T,\n event: EventGridEvent<unknown> | CloudEvent<unknown>\n): event is\n | EventGridEvent<SystemEventNameToEventData[T]>\n | CloudEvent<SystemEventNameToEventData[T]> {\n if (isCloudEventLike(event)) {\n return event.type === eventType;\n } else {\n return event.eventType === eventType;\n }\n}\n"]}
|
package/package.json
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
"sdk-type": "client",
|
4
4
|
"author": "Microsoft Corporation",
|
5
5
|
"description": "An isomorphic client library for the Azure Event Grid service.",
|
6
|
-
"version": "4.11.1
|
6
|
+
"version": "4.11.1",
|
7
7
|
"keywords": [
|
8
8
|
"node",
|
9
9
|
"azure",
|
@@ -100,10 +100,10 @@
|
|
100
100
|
"uuid": "^8.3.0"
|
101
101
|
},
|
102
102
|
"devDependencies": {
|
103
|
-
"@azure/dev-tool": "
|
104
|
-
"@azure/eslint-plugin-azure-sdk": "
|
103
|
+
"@azure/dev-tool": "^1.0.0",
|
104
|
+
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
|
105
105
|
"@azure/service-bus": "^7.0.0",
|
106
|
-
"@azure/test-utils": "
|
106
|
+
"@azure/test-utils": "^1.0.0",
|
107
107
|
"@azure-tools/test-recorder": "^3.0.0",
|
108
108
|
"@microsoft/api-extractor": "^7.31.1",
|
109
109
|
"@types/chai": "^4.1.6",
|
package/types/eventgrid.d.ts
CHANGED
@@ -204,6 +204,88 @@ export declare type AcsChatThreadWithUserDeletedEventData = AcsChatThreadEventBa
|
|
204
204
|
deleteTime: string;
|
205
205
|
};
|
206
206
|
|
207
|
+
/** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.EmailDeliveryReportReceived event. */
|
208
|
+
export declare interface AcsEmailDeliveryReportReceivedEventData {
|
209
|
+
/** The Sender Email Address */
|
210
|
+
sender: string;
|
211
|
+
/** The recipient Email Address */
|
212
|
+
recipient: string;
|
213
|
+
/** The Id of the email been sent */
|
214
|
+
messageId: string;
|
215
|
+
/** The status of the email. Any value other than Delivered is considered failed. */
|
216
|
+
status: AcsEmailDeliveryReportStatus;
|
217
|
+
/** Detailed information about the status if any */
|
218
|
+
deliveryStatusDetails: AcsEmailDeliveryReportStatusDetails;
|
219
|
+
/** The time at which the email delivery report received timestamp */
|
220
|
+
deliveryAttemptTimestamp: string;
|
221
|
+
}
|
222
|
+
|
223
|
+
/**
|
224
|
+
* Defines values for AcsEmailDeliveryReportStatus. \
|
225
|
+
* {@link KnownAcsEmailDeliveryReportStatus} can be used interchangeably with AcsEmailDeliveryReportStatus,
|
226
|
+
* this enum contains the known values that the service supports.
|
227
|
+
* ### Known values supported by the service
|
228
|
+
* **Bounced**: Hard bounce detected while sending the email \
|
229
|
+
* **Delivered**: The email was delivered \
|
230
|
+
* **Failed**: The email failed to be delivered \
|
231
|
+
* **FilteredSpam**: The message was identified spam and was rejected or blocked (not quarantined). \
|
232
|
+
* **Quarantined**: The message was quarantined (as spam, bulk mail, or phishing). For more information, see Quarantined email messages in EOP (EXCHANGE ONLINE PROTECTION). \
|
233
|
+
* **Suppressed**: The email was suppressed
|
234
|
+
*/
|
235
|
+
export declare type AcsEmailDeliveryReportStatus = string;
|
236
|
+
|
237
|
+
/** Detailed information about the status if any */
|
238
|
+
export declare interface AcsEmailDeliveryReportStatusDetails {
|
239
|
+
/** Detailed status message */
|
240
|
+
statusMessage: string;
|
241
|
+
}
|
242
|
+
|
243
|
+
/** Schema of the Data property of an EventGridEvent for a Microsoft.Communication.EmailEngagementTrackingReportReceived event. */
|
244
|
+
export declare interface AcsEmailEngagementTrackingReportReceivedEventData {
|
245
|
+
/** The Sender Email Address */
|
246
|
+
sender: string;
|
247
|
+
/** The Id of the email that has been sent */
|
248
|
+
messageId: string;
|
249
|
+
/** The time at which the user interacted with the email */
|
250
|
+
userActionTimestamp: string;
|
251
|
+
/** The context of the type of engagement user had with email */
|
252
|
+
engagementContext: string;
|
253
|
+
/** The user agent interacting with the email */
|
254
|
+
userAgent: string;
|
255
|
+
/** The type of engagement user have with email */
|
256
|
+
engagement: AcsUserEngagement;
|
257
|
+
}
|
258
|
+
|
259
|
+
/** Custom Context of Incoming Call */
|
260
|
+
export declare interface AcsIncomingCallCustomContext {
|
261
|
+
/** Sip Headers for incoming call */
|
262
|
+
sipHeaders: {
|
263
|
+
[propertyName: string]: string;
|
264
|
+
};
|
265
|
+
/** Voip Headers for incoming call */
|
266
|
+
voipHeaders: {
|
267
|
+
[propertyName: string]: string;
|
268
|
+
};
|
269
|
+
}
|
270
|
+
|
271
|
+
/** Schema of the Data property of an EventGridEvent for an Microsoft.Communication.IncomingCall event */
|
272
|
+
export declare interface AcsIncomingCallEventData {
|
273
|
+
/** The communication identifier of the target user. */
|
274
|
+
toCommunicationIdentifier: CommunicationIdentifierModel;
|
275
|
+
/** The communication identifier of the user who initiated the call. */
|
276
|
+
fromCommunicationIdentifier: CommunicationIdentifierModel;
|
277
|
+
/** The Id of the server call */
|
278
|
+
serverCallId: string;
|
279
|
+
/** Display name of caller. */
|
280
|
+
callerDisplayName: string;
|
281
|
+
/** Custom Context of Incoming Call */
|
282
|
+
customContext: AcsIncomingCallCustomContext;
|
283
|
+
/** Signed incoming call context. */
|
284
|
+
incomingCallContext: string;
|
285
|
+
/** CorrelationId (CallId). */
|
286
|
+
correlationId: string;
|
287
|
+
}
|
288
|
+
|
207
289
|
/** Schema for all properties of Recording Chunk Information. */
|
208
290
|
export declare interface AcsRecordingChunkInfo {
|
209
291
|
/** The documentId of the recording chunk */
|
@@ -292,6 +374,16 @@ export declare interface AcsUserDisconnectedEventData {
|
|
292
374
|
userCommunicationIdentifier: CommunicationIdentifierModel;
|
293
375
|
}
|
294
376
|
|
377
|
+
/**
|
378
|
+
* Defines values for AcsUserEngagement. \
|
379
|
+
* {@link KnownAcsUserEngagement} can be used interchangeably with AcsUserEngagement,
|
380
|
+
* this enum contains the known values that the service supports.
|
381
|
+
* ### Known values supported by the service
|
382
|
+
* **view** \
|
383
|
+
* **click**
|
384
|
+
*/
|
385
|
+
export declare type AcsUserEngagement = string;
|
386
|
+
|
295
387
|
/** Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.APICreated event. */
|
296
388
|
export declare interface ApiManagementApiCreatedEventData {
|
297
389
|
/** 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/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>` */
|
@@ -328,6 +420,72 @@ export declare interface ApiManagementApiUpdatedEventData {
|
|
328
420
|
resourceUri: string;
|
329
421
|
}
|
330
422
|
|
423
|
+
/** Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.GatewayAPIAdded event. */
|
424
|
+
export declare interface ApiManagementGatewayApiAddedEventData {
|
425
|
+
/** 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/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/gateways/<GatewayName>/apis/<ResourceName>` */
|
426
|
+
resourceUri: string;
|
427
|
+
}
|
428
|
+
|
429
|
+
/** Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.GatewayAPIRemoved event. */
|
430
|
+
export declare interface ApiManagementGatewayApiRemovedEventData {
|
431
|
+
/** 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/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/gateways/<GatewayName>/apis/<ResourceName>` */
|
432
|
+
resourceUri: string;
|
433
|
+
}
|
434
|
+
|
435
|
+
/** Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.GatewayCertificateAuthorityCreated event. */
|
436
|
+
export declare interface ApiManagementGatewayCertificateAuthorityCreatedEventData {
|
437
|
+
/** 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/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/gateways/<GatewayName>/certificateAuthorities/<ResourceName>` */
|
438
|
+
resourceUri: string;
|
439
|
+
}
|
440
|
+
|
441
|
+
/** Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.GatewayCertificateAuthorityDeleted event. */
|
442
|
+
export declare interface ApiManagementGatewayCertificateAuthorityDeletedEventData {
|
443
|
+
/** 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/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/gateways/<GatewayName>/certificateAuthorities/<ResourceName>` */
|
444
|
+
resourceUri: string;
|
445
|
+
}
|
446
|
+
|
447
|
+
/** Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.GatewayCertificateAuthorityUpdated event. */
|
448
|
+
export declare interface ApiManagementGatewayCertificateAuthorityUpdatedEventData {
|
449
|
+
/** 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/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/gateways/<GatewayName>/certificateAuthorities/<ResourceName>` */
|
450
|
+
resourceUri: string;
|
451
|
+
}
|
452
|
+
|
453
|
+
/** Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.GatewayCreated event. */
|
454
|
+
export declare interface ApiManagementGatewayCreatedEventData {
|
455
|
+
/** 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/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/gateways/<ResourceName>` */
|
456
|
+
resourceUri: string;
|
457
|
+
}
|
458
|
+
|
459
|
+
/** Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.GatewayDeleted event. */
|
460
|
+
export declare interface ApiManagementGatewayDeletedEventData {
|
461
|
+
/** 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/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/gateways/<ResourceName>` */
|
462
|
+
resourceUri: string;
|
463
|
+
}
|
464
|
+
|
465
|
+
/** Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.GatewayHostnameConfigurationCreated event. */
|
466
|
+
export declare interface ApiManagementGatewayHostnameConfigurationCreatedEventData {
|
467
|
+
/** 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/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/gateways/<GatewayName>/hostnameConfigurations/<ResourceName>` */
|
468
|
+
resourceUri: string;
|
469
|
+
}
|
470
|
+
|
471
|
+
/** Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.GatewayHostnameConfigurationDeleted event. */
|
472
|
+
export declare interface ApiManagementGatewayHostnameConfigurationDeletedEventData {
|
473
|
+
/** 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/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/gateways/<GatewayName>/hostnameConfigurations/<ResourceName>` */
|
474
|
+
resourceUri: string;
|
475
|
+
}
|
476
|
+
|
477
|
+
/** Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.GatewayHostnameConfigurationUpdated event. */
|
478
|
+
export declare interface ApiManagementGatewayHostnameConfigurationUpdatedEventData {
|
479
|
+
/** 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/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/gateways/<GatewayName>/hostnameConfigurations/<ResourceName>` */
|
480
|
+
resourceUri: string;
|
481
|
+
}
|
482
|
+
|
483
|
+
/** Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.GatewayUpdated event. */
|
484
|
+
export declare interface ApiManagementGatewayUpdatedEventData {
|
485
|
+
/** 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/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/gateways/<ResourceName>` */
|
486
|
+
resourceUri: string;
|
487
|
+
}
|
488
|
+
|
331
489
|
/** Schema of the Data property of an EventGridEvent for a Microsoft.ApiManagement.ProductCreated event. */
|
332
490
|
export declare interface ApiManagementProductCreatedEventData {
|
333
491
|
/** 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/<SubscriptionID>/resourceGroups/<ResourceGroup>/Microsoft.ApiManagement/service/<ServiceName>/<ResourceType>/<ResourceName>` */
|
@@ -673,6 +831,47 @@ export declare interface ContainerServiceNewKubernetesVersionAvailableEventData
|
|
673
831
|
latestPreviewKubernetesVersion: string;
|
674
832
|
}
|
675
833
|
|
834
|
+
/** Schema of the Data property of an EventGridEvent for a Microsoft.DataBox.CopyCompleted event. */
|
835
|
+
export declare interface DataBoxCopyCompletedEventData {
|
836
|
+
/** Serial Number of the device associated with the event. The list is comma separated if more than one serial number is associated. */
|
837
|
+
serialNumber: string;
|
838
|
+
/** Name of the current Stage */
|
839
|
+
stageName: DataBoxStageName;
|
840
|
+
/** The time at which the stage happened. */
|
841
|
+
stageTime: string;
|
842
|
+
}
|
843
|
+
|
844
|
+
/** Schema of the Data property of an EventGridEvent for a Microsoft.DataBox.CopyStarted event. */
|
845
|
+
export declare interface DataBoxCopyStartedEventData {
|
846
|
+
/** Serial Number of the device associated with the event. The list is comma separated if more than one serial number is associated. */
|
847
|
+
serialNumber: string;
|
848
|
+
/** Name of the current Stage */
|
849
|
+
stageName: DataBoxStageName;
|
850
|
+
/** The time at which the stage happened. */
|
851
|
+
stageTime: string;
|
852
|
+
}
|
853
|
+
|
854
|
+
/** Schema of the Data property of an EventGridEvent for a Microsoft.DataBox.OrderCompleted event. */
|
855
|
+
export declare interface DataBoxOrderCompletedEventData {
|
856
|
+
/** Serial Number of the device associated with the event. The list is comma separated if more than one serial number is associated. */
|
857
|
+
serialNumber: string;
|
858
|
+
/** Name of the current Stage */
|
859
|
+
stageName: DataBoxStageName;
|
860
|
+
/** The time at which the stage happened. */
|
861
|
+
stageTime: string;
|
862
|
+
}
|
863
|
+
|
864
|
+
/**
|
865
|
+
* Defines values for DataBoxStageName. \
|
866
|
+
* {@link KnownDataBoxStageName} can be used interchangeably with DataBoxStageName,
|
867
|
+
* this enum contains the known values that the service supports.
|
868
|
+
* ### Known values supported by the service
|
869
|
+
* **CopyStarted**: Copy has started \
|
870
|
+
* **CopyCompleted**: Copy has completed \
|
871
|
+
* **OrderCompleted**: Order has been completed
|
872
|
+
*/
|
873
|
+
export declare type DataBoxStageName = string;
|
874
|
+
|
676
875
|
/** Schema of the Data property of an EventGridEvent for a device connection state event (DeviceConnected, DeviceDisconnected). */
|
677
876
|
export declare interface DeviceConnectionStateEvent {
|
678
877
|
/** 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: - : . + % _ # * ? ! ( ) , = @ ; $ '. */
|
@@ -942,6 +1141,8 @@ export declare interface GenerateSharedAccessSignatureOptions {
|
|
942
1141
|
|
943
1142
|
/** Schema of the Data property of an EventGridEvent for a Microsoft.HealthcareApis.DicomImageCreated event. */
|
944
1143
|
export declare interface HealthcareDicomImageCreatedEventData {
|
1144
|
+
/** Data partition name */
|
1145
|
+
partitionName: string;
|
945
1146
|
/** Unique identifier for the Study */
|
946
1147
|
imageStudyInstanceUid: string;
|
947
1148
|
/** Unique identifier for the Series */
|
@@ -956,6 +1157,8 @@ export declare interface HealthcareDicomImageCreatedEventData {
|
|
956
1157
|
|
957
1158
|
/** Schema of the Data property of an EventGridEvent for a Microsoft.HealthcareApis.DicomImageDeleted event. */
|
958
1159
|
export declare interface HealthcareDicomImageDeletedEventData {
|
1160
|
+
/** Data partition name */
|
1161
|
+
partitionName: string;
|
959
1162
|
/** Unique identifier for the Study */
|
960
1163
|
imageStudyInstanceUid: string;
|
961
1164
|
/** Unique identifier for the Series */
|
@@ -968,6 +1171,22 @@ export declare interface HealthcareDicomImageDeletedEventData {
|
|
968
1171
|
sequenceNumber: number;
|
969
1172
|
}
|
970
1173
|
|
1174
|
+
/** Schema of the Data property of an EventGridEvent for a Microsoft.HealthcareApis.DicomImageUpdated event. */
|
1175
|
+
export declare interface HealthcareDicomImageUpdatedEventData {
|
1176
|
+
/** Data partition name */
|
1177
|
+
partitionName: string;
|
1178
|
+
/** Unique identifier for the Study */
|
1179
|
+
imageStudyInstanceUid: string;
|
1180
|
+
/** Unique identifier for the Series */
|
1181
|
+
imageSeriesInstanceUid: string;
|
1182
|
+
/** Unique identifier for the DICOM Image */
|
1183
|
+
imageSopInstanceUid: string;
|
1184
|
+
/** Domain name of the DICOM account for this image. */
|
1185
|
+
serviceHostName: string;
|
1186
|
+
/** Sequence number of the DICOM Service within Azure Health Data Services. It is unique for every image creation, updation and deletion within the service. */
|
1187
|
+
sequenceNumber: number;
|
1188
|
+
}
|
1189
|
+
|
971
1190
|
/** Schema of the Data property of an EventGridEvent for a Microsoft.HealthcareApis.FhirResourceCreated event. */
|
972
1191
|
export declare interface HealthcareFhirResourceCreatedEventData {
|
973
1192
|
/** Type of HL7 FHIR resource. */
|
@@ -2849,6 +3068,38 @@ export declare interface StorageLifecyclePolicyCompletedEventData {
|
|
2849
3068
|
tierToArchiveSummary: StorageLifecyclePolicyActionSummaryDetail;
|
2850
3069
|
}
|
2851
3070
|
|
3071
|
+
/** Schema of the Data property of an EventGridEvent for an Microsoft.Storage.StorageTaskCompleted event. */
|
3072
|
+
export declare interface StorageTaskCompletedEventData {
|
3073
|
+
/** The status for a storage task. */
|
3074
|
+
status: StorageTaskCompletedStatus;
|
3075
|
+
/** The time at which a storage task was completed. */
|
3076
|
+
completedDateTime: string;
|
3077
|
+
/** The execution id for a storage task. */
|
3078
|
+
taskExecutionId: string;
|
3079
|
+
/** The task name for a storage task. */
|
3080
|
+
taskName: string;
|
3081
|
+
/** The summary report blob url for a storage task */
|
3082
|
+
summaryReportBlobUrl: string;
|
3083
|
+
}
|
3084
|
+
|
3085
|
+
/**
|
3086
|
+
* Defines values for StorageTaskCompletedStatus. \
|
3087
|
+
* {@link KnownStorageTaskCompletedStatus} can be used interchangeably with StorageTaskCompletedStatus,
|
3088
|
+
* this enum contains the known values that the service supports.
|
3089
|
+
* ### Known values supported by the service
|
3090
|
+
* **Succeeded** \
|
3091
|
+
* **Failed**
|
3092
|
+
*/
|
3093
|
+
export declare type StorageTaskCompletedStatus = string;
|
3094
|
+
|
3095
|
+
/** Schema of the Data property of an EventGridEvent for an Microsoft.Storage.StorageTaskQueued event. */
|
3096
|
+
export declare interface StorageTaskQueuedEventData {
|
3097
|
+
/** The time at which a storage task was queued. */
|
3098
|
+
queuedDateTime: string;
|
3099
|
+
/** The execution id for a storage task. */
|
3100
|
+
taskExecutionId: string;
|
3101
|
+
}
|
3102
|
+
|
2852
3103
|
/** Schema of the Data property of an EventGridEvent for a Microsoft.EventGrid.SubscriptionDeletedEvent event. */
|
2853
3104
|
export declare interface SubscriptionDeletedEventData {
|
2854
3105
|
/**
|
@@ -3140,6 +3391,46 @@ export declare interface SystemEventNameToEventData {
|
|
3140
3391
|
"Microsoft.Web.SlotSwapWithPreviewCancelled": WebSlotSwapWithPreviewCancelledEventData;
|
3141
3392
|
/** An interface for the event data of a "Microsoft.Web.AppServicePlanUpdated" event. */
|
3142
3393
|
"Microsoft.Web.AppServicePlanUpdated": WebAppServicePlanUpdatedEventData;
|
3394
|
+
/** An interface for the event data of a "Microsoft.Storage.StorageTaskQueued" event. */
|
3395
|
+
"Microsoft.Storage.StorageTaskQueued": StorageTaskQueuedEventData;
|
3396
|
+
/** An interface for the event data of a "Microsoft.Storage.StorageTaskCompleted" event. */
|
3397
|
+
"Microsoft.Storage.StorageTaskCompleted": StorageTaskCompletedEventData;
|
3398
|
+
/** An interface for the event data of a "Microsoft.DataBox.CopyStarted" event. */
|
3399
|
+
"Microsoft.DataBox.CopyStarted": DataBoxCopyStartedEventData;
|
3400
|
+
/** An interface for the event data of a "Microsoft.DataBox.CopyCompleted" event. */
|
3401
|
+
"Microsoft.DataBox.CopyCompleted": DataBoxCopyCompletedEventData;
|
3402
|
+
/** An interface for the event data of a "Microsoft.DataBox.OrderCompleted" event. */
|
3403
|
+
"Microsoft.DataBox.OrderCompleted": DataBoxOrderCompletedEventData;
|
3404
|
+
/** An interface for the event data of a "Microsoft.Communication.IncomingCall" event. */
|
3405
|
+
"Microsoft.Communication.IncomingCall": AcsIncomingCallEventData;
|
3406
|
+
/** An interface for the event data of a "Microsoft.Communication.EmailDeliveryReportReceived" event. */
|
3407
|
+
"Microsoft.Communication.EmailDeliveryReportReceived": AcsEmailDeliveryReportReceivedEventData;
|
3408
|
+
/** An interface for the event data of a "Microsoft.Communication.EmailEngagementTrackingReportReceived" event. */
|
3409
|
+
"Microsoft.Communication.EmailEngagementTrackingReportReceived": AcsEmailEngagementTrackingReportReceivedEventData;
|
3410
|
+
/** An interface for the event data of a "Microsoft.ApiManagement.GatewayCreated" event. */
|
3411
|
+
"Microsoft.ApiManagement.GatewayCreated": ApiManagementGatewayCreatedEventData;
|
3412
|
+
/** An interface for the event data of a "Microsoft.ApiManagement.GatewayUpdated" event. */
|
3413
|
+
"Microsoft.ApiManagement.GatewayUpdated": ApiManagementGatewayUpdatedEventData;
|
3414
|
+
/** An interface for the event data of a "Microsoft.ApiManagement.GatewayDeleted" event. */
|
3415
|
+
"Microsoft.ApiManagement.GatewayDeleted": ApiManagementGatewayDeletedEventData;
|
3416
|
+
/** An interface for the event data of a "Microsoft.ApiManagement.GatewayHostnameConfigurationCreated" event. */
|
3417
|
+
"Microsoft.ApiManagement.GatewayHostnameConfigurationCreated": ApiManagementGatewayHostnameConfigurationCreatedEventData;
|
3418
|
+
/** An interface for the event data of a "Microsoft.ApiManagement.GatewayHostnameConfigurationUpdated" event. */
|
3419
|
+
"Microsoft.ApiManagement.GatewayHostnameConfigurationUpdated": ApiManagementGatewayHostnameConfigurationUpdatedEventData;
|
3420
|
+
/** An interface for the event data of a "Microsoft.ApiManagement.GatewayHostnameConfigurationDeleted" event. */
|
3421
|
+
"Microsoft.ApiManagement.GatewayHostnameConfigurationDeleted": ApiManagementGatewayHostnameConfigurationDeletedEventData;
|
3422
|
+
/** An interface for the event data of a "Microsoft.ApiManagement.GatewayCertificateAuthorityCreated" event. */
|
3423
|
+
"Microsoft.ApiManagement.GatewayCertificateAuthorityCreated": ApiManagementGatewayCertificateAuthorityCreatedEventData;
|
3424
|
+
/** An interface for the event data of a "Microsoft.ApiManagement.GatewayCertificateAuthorityUpdated" event. */
|
3425
|
+
"Microsoft.ApiManagement.GatewayCertificateAuthorityUpdated": ApiManagementGatewayCertificateAuthorityUpdatedEventData;
|
3426
|
+
/** An interface for the event data of a "Microsoft.ApiManagement.GatewayCertificateAuthorityDeleted" event. */
|
3427
|
+
"Microsoft.ApiManagement.GatewayCertificateAuthorityDeleted": ApiManagementGatewayCertificateAuthorityDeletedEventData;
|
3428
|
+
/** An interface for the event data of a "Microsoft.ApiManagement.GatewayAPIAdded" event. */
|
3429
|
+
"Microsoft.ApiManagement.GatewayAPIAdded": ApiManagementGatewayApiAddedEventData;
|
3430
|
+
/** An interface for the event data of a "Microsoft.ApiManagement.GatewayAPIRemoved" event. */
|
3431
|
+
"Microsoft.ApiManagement.GatewayAPIRemoved": ApiManagementGatewayApiRemovedEventData;
|
3432
|
+
/** An interface for the event data of a "Microsoft.HealthcareApis.DicomImageUpdated" event. */
|
3433
|
+
"Microsoft.HealthcareApis.DicomImageUpdated": HealthcareDicomImageUpdatedEventData;
|
3143
3434
|
}
|
3144
3435
|
|
3145
3436
|
/** Schema of the Data property of an EventGridEvent for a Microsoft.Web.AppServicePlanUpdated event. */
|