|
| 1 | +############################################################################# |
| 2 | +####These files are used to extract the enums - update this list as necessary |
| 3 | +############################################################################# |
| 4 | +files = [ |
| 5 | + |
| 6 | + "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/eventgrid/data-plane/Microsoft.Communication/stable/2018-01-01/AzureCommunicationServices.json", |
| 7 | + "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/eventgrid/data-plane/Microsoft.ApiManagement/stable/2018-01-01/APIManagement.json", |
| 8 | + "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/eventgrid/data-plane/Microsoft.AppConfiguration/stable/2018-01-01/AppConfiguration.json", |
| 9 | + "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/eventgrid/data-plane/Microsoft.ContainerRegistry/stable/2018-01-01/ContainerRegistry.json", |
| 10 | + "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/eventgrid/data-plane/Microsoft.ContainerService/stable/2018-01-01/ContainerService.json", |
| 11 | + "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/eventgrid/data-plane/Microsoft.EventHub/stable/2018-01-01/EventHub.json", |
| 12 | + "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/eventgrid/data-plane/Microsoft.Devices/stable/2018-01-01/IotHub.json", |
| 13 | + "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/eventgrid/data-plane/Microsoft.KeyVault/stable/2018-01-01/KeyVault.json", |
| 14 | + "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/eventgrid/data-plane/Microsoft.MachineLearningServices/stable/2018-01-01/MachineLearningServices.json", |
| 15 | + "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/eventgrid/data-plane/Microsoft.Media/stable/2018-01-01/MediaServices.json", |
| 16 | + "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/eventgrid/data-plane/Microsoft.Maps/stable/2018-01-01/Maps.json", |
| 17 | + "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/eventgrid/data-plane/Microsoft.PolicyInsights/stable/2018-01-01/PolicyInsights.json", |
| 18 | + "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/eventgrid/data-plane/Microsoft.Cache/stable/2018-01-01/RedisCache.json", |
| 19 | + "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/eventgrid/data-plane/Microsoft.Resources/stable/2018-01-01/Resources.json", |
| 20 | + "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/eventgrid/data-plane/Microsoft.ServiceBus/stable/2018-01-01/ServiceBus.json", |
| 21 | + "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/eventgrid/data-plane/Microsoft.SignalRService/stable/2018-01-01/SignalRService.json", |
| 22 | + "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/eventgrid/data-plane/Microsoft.Storage/stable/2018-01-01/Storage.json", |
| 23 | + "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/eventgrid/data-plane/Microsoft.Web/stable/2018-01-01/Web.json", |
| 24 | + ] |
| 25 | + |
| 26 | + |
| 27 | +####################################################### |
| 28 | +### Used for backward compatibility. Don't change this |
| 29 | +####################################################### |
| 30 | +backward_compat = { |
| 31 | + 'AcsChatMemberAddedToThreadWithUserEventName': "Microsoft.Communication.ChatMemberAddedToThreadWithUser", |
| 32 | + 'ResourceWriteFailureEventName': "Microsoft.Resources.ResourceWriteFailure", |
| 33 | + 'IoTHubDeviceDeletedEventName': "Microsoft.Devices.DeviceDeleted", |
| 34 | + 'IoTHubDeviceDisconnectedEventName': "Microsoft.Devices.DeviceDisconnected", |
| 35 | + 'ResourceDeleteFailureEventName': "Microsoft.Resources.ResourceDeleteFailure", |
| 36 | + 'ResourceDeleteCancelEventName': "Microsoft.Resources.ResourceDeleteCancel", |
| 37 | + 'AcsChatThreadParticipantAddedEventName': "Microsoft.Communication.ChatThreadParticipantAdded", |
| 38 | + 'ResourceDeleteSuccessEventName': "Microsoft.Resources.ResourceDeleteSuccess", |
| 39 | + 'EventGridSubscriptionValidationEventName': "Microsoft.EventGrid.SubscriptionValidationEvent", |
| 40 | + 'ResourceWriteSuccessEventName': "Microsoft.Resources.ResourceWriteSuccess", |
| 41 | + 'ResourceActionSuccessEventName': "Microsoft.Resources.ResourceActionSuccess", |
| 42 | + 'ResourceWriteCancelEventName': "Microsoft.Resources.ResourceWriteCancel", |
| 43 | + 'ResourceActionFailureEventName': "Microsoft.Resources.ResourceActionFailure", |
| 44 | + 'AcsChatMemberRemovedFromThreadWithUserEventName': "Microsoft.Communication.ChatMemberRemovedFromThreadWithUser", |
| 45 | + 'IoTHubDeviceConnectedEventName': "Microsoft.Devices.DeviceConnected", |
| 46 | + 'EventGridSubscriptionDeletedEventName': "Microsoft.EventGrid.SubscriptionDeletedEvent", |
| 47 | + 'AcsChatThreadParticipantRemovedEventName': "Microsoft.Communication.ChatThreadParticipantRemoved", |
| 48 | + 'ResourceActionCancelEventName': "Microsoft.Resources.ResourceActionCancel", |
| 49 | + 'IoTHubDeviceCreatedEventName': "Microsoft.Devices.DeviceCreated", |
| 50 | + 'ContainerRegistryArtifactEventName': 'Microsoft.AppConfiguration.KeyValueModified', |
| 51 | + 'KeyVaultAccessPolicyChangedEventName': 'Microsoft.KeyVault.VaultAccessPolicyChanged', |
| 52 | + 'ContainerRegistryEventName': 'Microsoft.ContainerRegistry.ChartPushed', |
| 53 | + 'SubscriptionDeletedEventName': 'Microsoft.EventGrid.SubscriptionDeletedEvent', |
| 54 | + 'SubscriptionValidationEventName': 'Microsoft.EventGrid.SubscriptionValidationEvent', |
| 55 | + 'ServiceBusDeadletterMessagesAvailableWithNoListenerEventName': 'Microsoft.ServiceBus.DeadletterMessagesAvailableWithNoListeners' |
| 56 | +} |
| 57 | + |
| 58 | +EXCEPTIONS = ['ContainerRegistryArtifactEventData', 'ContainerRegistryEventData'] |
0 commit comments