@@ -14,7 +14,8 @@ class SystemEventNames(str, Enum):
14
14
Azure Event Grid. To check the list of recognizable system topics,
15
15
visit https://docs.microsoft.com/azure/event-grid/system-topics.
16
16
"""
17
- # these names below are for backward compat only - refrain from using them.
17
+ # These names at the top are 'corrected' aliases of duplicate values that appear below, which are
18
+ # deprecated but maintained for backwards compatibility.
18
19
AcsChatMemberAddedToThreadWithUserEventName = 'Microsoft.Communication.ChatMemberAddedToThreadWithUser'
19
20
20
21
ResourceWriteFailureEventName = 'Microsoft.Resources.ResourceWriteFailure'
@@ -53,13 +54,7 @@ class SystemEventNames(str, Enum):
53
54
54
55
IoTHubDeviceCreatedEventName = 'Microsoft.Devices.DeviceCreated'
55
56
56
- KeyVaultAccessPolicyChangedEventName = 'Microsoft.KeyVault.VaultAccessPolicyChanged'
57
-
58
- SubscriptionDeletedEventName = 'Microsoft.EventGrid.SubscriptionDeletedEvent'
59
-
60
- SubscriptionValidationEventName = 'Microsoft.EventGrid.SubscriptionValidationEvent'
61
-
62
- # backward compat names end here.
57
+ # Aliases end here
63
58
AcsChatMessageDeletedEventName = 'Microsoft.Communication.ChatMessageDeleted'
64
59
65
60
AcsChatMessageDeletedInThreadEventName = 'Microsoft.Communication.ChatMessageDeletedInThread'
@@ -312,6 +307,10 @@ class SystemEventNames(str, Enum):
312
307
313
308
StorageLifecyclePolicyCompletedEventName = 'Microsoft.Storage.LifecyclePolicyCompleted'
314
309
310
+ SubscriptionDeletedEventName = 'Microsoft.EventGrid.SubscriptionDeletedEvent'
311
+
312
+ SubscriptionValidationEventName = 'Microsoft.EventGrid.SubscriptionValidationEvent'
313
+
315
314
WebAppServicePlanUpdatedEventName = 'Microsoft.Web.AppServicePlanUpdated'
316
315
317
316
WebAppUpdatedEventName = 'Microsoft.Web.AppUpdated'
@@ -338,9 +337,10 @@ class SystemEventNames(str, Enum):
338
337
339
338
WebSlotSwapWithPreviewStartedEventName = 'Microsoft.Web.SlotSwapWithPreviewStarted'
340
339
341
- # servicebus alias
342
- ServiceBusDeadletterMessagesAvailableWithNoListenerEventName = 'Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListeners'
343
-
344
340
ContainerRegistryArtifactEventName = 'Microsoft.AppConfiguration.KeyValueModified'
345
341
342
+ KeyVaultAccessPolicyChangedEventName = 'Microsoft.KeyVault.VaultAccessPolicyChanged'
343
+
346
344
ContainerRegistryEventName = 'Microsoft.ContainerRegistry.ChartPushed'
345
+
346
+ ServiceBusDeadletterMessagesAvailableWithNoListenerEventName = 'Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListeners'
0 commit comments