4
4
# --------------------------------------------------------------------------------------------
5
5
from enum import Enum
6
6
7
+
7
8
class SystemEventNames (str , Enum ):
8
9
"""
9
10
This enum represents the names of the various event types for the system events published to
10
11
Azure Event Grid. To check the list of recognizable system topics,
11
12
visit https://docs.microsoft.com/azure/event-grid/system-topics.
12
13
"""
13
- ACSChatMemberAddedToThreadWithUserEventName = "Microsoft.Communication.ChatMemberAddedToThreadWithUser"
14
- ACSChatMemberRemovedFromThreadWithUserEventName = "Microsoft.Communication.ChatMemberRemovedFromThreadWithUser"
14
+
15
+ ACSChatMemberAddedToThreadWithUserEventName = (
16
+ "Microsoft.Communication.ChatMemberAddedToThreadWithUser"
17
+ )
18
+ ACSChatMemberRemovedFromThreadWithUserEventName = (
19
+ "Microsoft.Communication.ChatMemberRemovedFromThreadWithUser"
20
+ )
15
21
ACSChatMessageDeletedEventName = "Microsoft.Communication.ChatMessageDeleted"
16
22
ACSChatMessageEditedEventName = "Microsoft.Communication.ChatMessageEdited"
17
23
ACSChatMessageReceivedEventName = "Microsoft.Communication.ChatMessageReceived"
18
- ACSChatThreadCreatedWithUserEventName = "Microsoft.Communication.ChatThreadCreatedWithUser"
19
- ACSChatThreadPropertiesUpdatedPerUserEventName = "Microsoft.Communication.ChatThreadPropertiesUpdatedPerUser"
20
- ACSChatThreadWithUserDeletedEventName = "Microsoft.Communication.ChatThreadWithUserDeleted"
21
- ACSSMSDeliveryReportReceivedEventName = "Microsoft.Communication.SMSDeliveryReportReceived"
24
+ ACSChatThreadCreatedWithUserEventName = (
25
+ "Microsoft.Communication.ChatThreadCreatedWithUser"
26
+ )
27
+ ACSChatThreadPropertiesUpdatedPerUserEventName = (
28
+ "Microsoft.Communication.ChatThreadPropertiesUpdatedPerUser"
29
+ )
30
+ ACSChatThreadWithUserDeletedEventName = (
31
+ "Microsoft.Communication.ChatThreadWithUserDeleted"
32
+ )
33
+ ACSSMSDeliveryReportReceivedEventName = (
34
+ "Microsoft.Communication.SMSDeliveryReportReceived"
35
+ )
22
36
ACSSMSReceivedEventName = "Microsoft.Communication.SMSReceived"
23
- AppConfigurationKeyValueDeletedEventName = "Microsoft.AppConfiguration.KeyValueDeleted"
24
- AppConfigurationKeyValueModifiedEventName = "Microsoft.AppConfiguration.KeyValueModified"
37
+ AppConfigurationKeyValueDeletedEventName = (
38
+ "Microsoft.AppConfiguration.KeyValueDeleted"
39
+ )
40
+ AppConfigurationKeyValueModifiedEventName = (
41
+ "Microsoft.AppConfiguration.KeyValueModified"
42
+ )
25
43
ContainerRegistryChartDeletedEventName = "Microsoft.ContainerRegistry.ChartDeleted"
26
44
ContainerRegistryChartPushedEventName = "Microsoft.ContainerRegistry.ChartPushed"
27
45
ContainerRegistryImageDeletedEventName = "Microsoft.ContainerRegistry.ImageDeleted"
28
46
ContainerRegistryImagePushedEventName = "Microsoft.ContainerRegistry.ImagePushed"
29
- EventGridSubscriptionDeletedEventName = "Microsoft.EventGrid.SubscriptionDeletedEvent"
30
- EventGridSubscriptionValidationEventName = "Microsoft.EventGrid.SubscriptionValidationEvent"
47
+ EventGridSubscriptionDeletedEventName = (
48
+ "Microsoft.EventGrid.SubscriptionDeletedEvent"
49
+ )
50
+ EventGridSubscriptionValidationEventName = (
51
+ "Microsoft.EventGrid.SubscriptionValidationEvent"
52
+ )
31
53
EventHubCaptureFileCreatedEventName = "Microsoft.EventHub.CaptureFileCreated"
32
54
IoTHubDeviceConnectedEventName = "Microsoft.Devices.DeviceConnected"
33
55
IoTHubDeviceCreatedEventName = "Microsoft.Devices.DeviceCreated"
@@ -37,18 +59,32 @@ class SystemEventNames(str, Enum):
37
59
KeyVaultAccessPolicyChangedEventName = "Microsoft.KeyVault.VaultAccessPolicyChanged"
38
60
KeyVaultCertificateExpiredEventName = "Microsoft.KeyVault.CertificateExpired"
39
61
KeyVaultCertificateNearExpiryEventName = "Microsoft.KeyVault.CertificateNearExpiry"
40
- KeyVaultCertificateNewVersionCreatedEventName = "Microsoft.KeyVault.CertificateNewVersionCreated"
62
+ KeyVaultCertificateNewVersionCreatedEventName = (
63
+ "Microsoft.KeyVault.CertificateNewVersionCreated"
64
+ )
41
65
KeyVaultKeyExpiredEventName = "Microsoft.KeyVault.KeyExpired"
42
66
KeyVaultKeyNearExpiryEventName = "Microsoft.KeyVault.KeyNearExpiry"
43
67
KeyVaultKeyNewVersionCreatedEventName = "Microsoft.KeyVault.KeyNewVersionCreated"
44
68
KeyVaultSecretExpiredEventName = "Microsoft.KeyVault.SecretExpired"
45
69
KeyVaultSecretNearExpiryEventName = "Microsoft.KeyVault.SecretNearExpiry"
46
- KeyVaultSecretNewVersionCreatedEventName = "Microsoft.KeyVault.SecretNewVersionCreated"
47
- MachineLearningServicesDatasetDriftDetectedEventName = "Microsoft.MachineLearningServices.DatasetDriftDetected"
48
- MachineLearningServicesModelDeployedEventName = "Microsoft.MachineLearningServices.ModelDeployed"
49
- MachineLearningServicesModelRegisteredEventName = "Microsoft.MachineLearningServices.ModelRegistered"
50
- MachineLearningServicesRunCompletedEventName = "Microsoft.MachineLearningServices.RunCompleted"
51
- MachineLearningServicesRunStatusChangedEventName = "Microsoft.MachineLearningServices.RunStatusChanged"
70
+ KeyVaultSecretNewVersionCreatedEventName = (
71
+ "Microsoft.KeyVault.SecretNewVersionCreated"
72
+ )
73
+ MachineLearningServicesDatasetDriftDetectedEventName = (
74
+ "Microsoft.MachineLearningServices.DatasetDriftDetected"
75
+ )
76
+ MachineLearningServicesModelDeployedEventName = (
77
+ "Microsoft.MachineLearningServices.ModelDeployed"
78
+ )
79
+ MachineLearningServicesModelRegisteredEventName = (
80
+ "Microsoft.MachineLearningServices.ModelRegistered"
81
+ )
82
+ MachineLearningServicesRunCompletedEventName = (
83
+ "Microsoft.MachineLearningServices.RunCompleted"
84
+ )
85
+ MachineLearningServicesRunStatusChangedEventName = (
86
+ "Microsoft.MachineLearningServices.RunStatusChanged"
87
+ )
52
88
MapsGeofenceEnteredEventName = "Microsoft.Maps.GeofenceEntered"
53
89
MapsGeofenceExitedEventName = "Microsoft.Maps.GeofenceExited"
54
90
MapsGeofenceResultEventName = "Microsoft.Maps.GeofenceResult"
@@ -67,15 +103,31 @@ class SystemEventNames(str, Enum):
67
103
MediaJobProcessingEventName = "Microsoft.Media.JobProcessing"
68
104
MediaJobScheduledEventName = "Microsoft.Media.JobScheduled"
69
105
MediaJobStateChangeEventName = "Microsoft.Media.JobStateChange"
70
- MediaLiveEventConnectionRejectedEventName = "Microsoft.Media.LiveEventConnectionRejected"
71
- MediaLiveEventEncoderConnectedEventName = "Microsoft.Media.LiveEventEncoderConnected"
72
- MediaLiveEventEncoderDisconnectedEventName = "Microsoft.Media.LiveEventEncoderDisconnected"
73
- MediaLiveEventIncomingDataChunkDroppedEventName = "Microsoft.Media.LiveEventIncomingDataChunkDropped"
74
- MediaLiveEventIncomingStreamReceivedEventName = "Microsoft.Media.LiveEventIncomingStreamReceived"
75
- MediaLiveEventIncomingStreamsOutOfSyncEventName = "Microsoft.Media.LiveEventIncomingStreamsOutOfSync"
76
- MediaLiveEventIncomingVideoStreamsOutOfSyncEventName = "Microsoft.Media.LiveEventIncomingVideoStreamsOutOfSync"
106
+ MediaLiveEventConnectionRejectedEventName = (
107
+ "Microsoft.Media.LiveEventConnectionRejected"
108
+ )
109
+ MediaLiveEventEncoderConnectedEventName = (
110
+ "Microsoft.Media.LiveEventEncoderConnected"
111
+ )
112
+ MediaLiveEventEncoderDisconnectedEventName = (
113
+ "Microsoft.Media.LiveEventEncoderDisconnected"
114
+ )
115
+ MediaLiveEventIncomingDataChunkDroppedEventName = (
116
+ "Microsoft.Media.LiveEventIncomingDataChunkDropped"
117
+ )
118
+ MediaLiveEventIncomingStreamReceivedEventName = (
119
+ "Microsoft.Media.LiveEventIncomingStreamReceived"
120
+ )
121
+ MediaLiveEventIncomingStreamsOutOfSyncEventName = (
122
+ "Microsoft.Media.LiveEventIncomingStreamsOutOfSync"
123
+ )
124
+ MediaLiveEventIncomingVideoStreamsOutOfSyncEventName = (
125
+ "Microsoft.Media.LiveEventIncomingVideoStreamsOutOfSync"
126
+ )
77
127
MediaLiveEventIngestHeartbeatEventName = "Microsoft.Media.LiveEventIngestHeartbeat"
78
- MediaLiveEventTrackDiscontinuityDetectedEventName = "Microsoft.Media.LiveEventTrackDiscontinuityDetected"
128
+ MediaLiveEventTrackDiscontinuityDetectedEventName = (
129
+ "Microsoft.Media.LiveEventTrackDiscontinuityDetected"
130
+ )
79
131
ResourceActionCancelEventName = "Microsoft.Resources.ResourceActionCancel"
80
132
ResourceActionFailureEventName = "Microsoft.Resources.ResourceActionFailure"
81
133
ResourceActionSuccessEventName = "Microsoft.Resources.ResourceActionSuccess"
@@ -85,17 +137,21 @@ class SystemEventNames(str, Enum):
85
137
ResourceWriteCancelEventName = "Microsoft.Resources.ResourceWriteCancel"
86
138
ResourceWriteFailureEventName = "Microsoft.Resources.ResourceWriteFailure"
87
139
ResourceWriteSuccessEventName = "Microsoft.Resources.ResourceWriteSuccess"
88
- ServiceBusActiveMessagesAvailableWithNoListenersEventName = \
89
- "Microsoft.ServiceBus.ActiveMessagesAvailableWithNoListeners"
90
- ServiceBusDeadletterMessagesAvailableWithNoListenerEventName = \
91
- "Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListener"
140
+ ServiceBusActiveMessagesAvailableWithNoListenersEventName = (
141
+ "Microsoft.ServiceBus.ActiveMessagesAvailableWithNoListeners"
142
+ )
143
+ ServiceBusDeadletterMessagesAvailableWithNoListenerEventName = (
144
+ "Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListener"
145
+ )
92
146
StorageBlobCreatedEventName = "Microsoft.Storage.BlobCreated"
93
147
StorageBlobDeletedEventName = "Microsoft.Storage.BlobDeleted"
94
148
StorageBlobRenamedEventName = "Microsoft.Storage.BlobRenamed"
95
149
StorageDirectoryCreatedEventName = "Microsoft.Storage.DirectoryCreated"
96
150
StorageDirectoryDeletedEventName = "Microsoft.Storage.DirectoryDeleted"
97
151
StorageDirectoryRenamedEventName = "Microsoft.Storage.DirectoryRenamed"
98
- StorageLifecyclePolicyCompletedEventName = "Microsoft.Storage.LifecyclePolicyCompleted"
152
+ StorageLifecyclePolicyCompletedEventName = (
153
+ "Microsoft.Storage.LifecyclePolicyCompleted"
154
+ )
99
155
WebAppServicePlanUpdatedEventName = "Microsoft.Web.AppServicePlanUpdated"
100
156
WebAppUpdatedEventName = "Microsoft.Web.AppUpdated"
101
157
WebBackupOperationCompletedEventName = "Microsoft.Web.BackupOperationCompleted"
@@ -107,5 +163,7 @@ class SystemEventNames(str, Enum):
107
163
WebSlotSwapCompletedEventName = "Microsoft.Web.SlotSwapCompleted"
108
164
WebSlotSwapFailedEventName = "Microsoft.Web.SlotSwapFailed"
109
165
WebSlotSwapStartedEventName = "Microsoft.Web.SlotSwapStarted"
110
- WebSlotSwapWithPreviewCancelledEventName = "Microsoft.Web.SlotSwapWithPreviewCancelled"
166
+ WebSlotSwapWithPreviewCancelledEventName = (
167
+ "Microsoft.Web.SlotSwapWithPreviewCancelled"
168
+ )
111
169
WebSlotSwapWithPreviewStartedEventName = "Microsoft.Web.SlotSwapWithPreviewStarted"
0 commit comments