Source code for azure.mgmt.eventgrid.models._event_grid_management_client_enums

# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
# --------------------------------------------------------------------------

from enum import Enum
from azure.core import CaseInsensitiveEnumMeta


[docs]class AdvancedFilterOperatorType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The operator type used for filtering, e.g., NumberIn, StringContains, BoolEquals and others.""" NUMBER_IN = "NumberIn" NUMBER_NOT_IN = "NumberNotIn" NUMBER_LESS_THAN = "NumberLessThan" NUMBER_GREATER_THAN = "NumberGreaterThan" NUMBER_LESS_THAN_OR_EQUALS = "NumberLessThanOrEquals" NUMBER_GREATER_THAN_OR_EQUALS = "NumberGreaterThanOrEquals" BOOL_EQUALS = "BoolEquals" STRING_IN = "StringIn" STRING_NOT_IN = "StringNotIn" STRING_BEGINS_WITH = "StringBeginsWith" STRING_ENDS_WITH = "StringEndsWith" STRING_CONTAINS = "StringContains" NUMBER_IN_RANGE = "NumberInRange" NUMBER_NOT_IN_RANGE = "NumberNotInRange" STRING_NOT_BEGINS_WITH = "StringNotBeginsWith" STRING_NOT_ENDS_WITH = "StringNotEndsWith" STRING_NOT_CONTAINS = "StringNotContains" IS_NULL_OR_UNDEFINED = "IsNullOrUndefined" IS_NOT_NULL = "IsNotNull"
[docs]class ChannelProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Provisioning state of the channel.""" CREATING = "Creating" UPDATING = "Updating" DELETING = "Deleting" SUCCEEDED = "Succeeded" CANCELED = "Canceled" FAILED = "Failed" IDLE_DUE_TO_MIRRORED_PARTNER_TOPIC_DELETION = "IdleDueToMirroredPartnerTopicDeletion"
[docs]class ChannelType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The type of the event channel which represents the direction flow of events.""" PARTNER_TOPIC = "PartnerTopic"
[docs]class CreatedByType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The type of identity that created the resource.""" USER = "User" APPLICATION = "Application" MANAGED_IDENTITY = "ManagedIdentity" KEY = "Key"
[docs]class DataResidencyBoundary(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Data Residency Boundary of the resource.""" WITHIN_GEOPAIR = "WithinGeopair" WITHIN_REGION = "WithinRegion"
[docs]class DeadLetterEndPointType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Type of the endpoint for the dead letter destination.""" STORAGE_BLOB = "StorageBlob"
[docs]class DeliveryAttributeMappingType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Type of the delivery attribute or header name.""" STATIC = "Static" DYNAMIC = "Dynamic"
[docs]class DomainProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Provisioning state of the Event Grid Domain Resource.""" CREATING = "Creating" UPDATING = "Updating" DELETING = "Deleting" SUCCEEDED = "Succeeded" CANCELED = "Canceled" FAILED = "Failed"
[docs]class DomainTopicProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Provisioning state of the domain topic.""" CREATING = "Creating" UPDATING = "Updating" DELETING = "Deleting" SUCCEEDED = "Succeeded" CANCELED = "Canceled" FAILED = "Failed"
[docs]class EndpointType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Type of the endpoint for the event subscription destination.""" WEB_HOOK = "WebHook" EVENT_HUB = "EventHub" STORAGE_QUEUE = "StorageQueue" HYBRID_CONNECTION = "HybridConnection" SERVICE_BUS_QUEUE = "ServiceBusQueue" SERVICE_BUS_TOPIC = "ServiceBusTopic" AZURE_FUNCTION = "AzureFunction"
[docs]class EventDefinitionKind(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The kind of event type used.""" INLINE = "Inline"
[docs]class EventDeliverySchema(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The event delivery schema for the event subscription.""" EVENT_GRID_SCHEMA = "EventGridSchema" CUSTOM_INPUT_SCHEMA = "CustomInputSchema" CLOUD_EVENT_SCHEMA_V1_0 = "CloudEventSchemaV1_0"
[docs]class EventSubscriptionIdentityType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identity. """ SYSTEM_ASSIGNED = "SystemAssigned" USER_ASSIGNED = "UserAssigned"
[docs]class EventSubscriptionProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Provisioning state of the event subscription.""" CREATING = "Creating" UPDATING = "Updating" DELETING = "Deleting" SUCCEEDED = "Succeeded" CANCELED = "Canceled" FAILED = "Failed" AWAITING_MANUAL_ACTION = "AwaitingManualAction"
[docs]class IdentityType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identity. """ NONE = "None" SYSTEM_ASSIGNED = "SystemAssigned" USER_ASSIGNED = "UserAssigned" SYSTEM_ASSIGNED_USER_ASSIGNED = "SystemAssigned, UserAssigned"
[docs]class InputSchema(str, Enum, metaclass=CaseInsensitiveEnumMeta): """This determines the format that Event Grid should expect for incoming events published to the Event Grid Domain Resource. """ EVENT_GRID_SCHEMA = "EventGridSchema" CUSTOM_EVENT_SCHEMA = "CustomEventSchema" CLOUD_EVENT_SCHEMA_V1_0 = "CloudEventSchemaV1_0"
[docs]class InputSchemaMappingType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Type of the custom mapping.""" JSON = "Json"
[docs]class IpActionType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Action to perform based on the match or no match of the IpMask.""" ALLOW = "Allow"
[docs]class PartnerConfigurationProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Provisioning state of the partner configuration.""" CREATING = "Creating" UPDATING = "Updating" DELETING = "Deleting" SUCCEEDED = "Succeeded" CANCELED = "Canceled" FAILED = "Failed"
[docs]class PartnerNamespaceProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Provisioning state of the partner namespace.""" CREATING = "Creating" UPDATING = "Updating" DELETING = "Deleting" SUCCEEDED = "Succeeded" CANCELED = "Canceled" FAILED = "Failed"
[docs]class PartnerRegistrationProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Provisioning state of the partner registration.""" CREATING = "Creating" UPDATING = "Updating" DELETING = "Deleting" SUCCEEDED = "Succeeded" CANCELED = "Canceled" FAILED = "Failed"
[docs]class PartnerTopicActivationState(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Activation state of the partner topic.""" NEVER_ACTIVATED = "NeverActivated" ACTIVATED = "Activated" DEACTIVATED = "Deactivated"
[docs]class PartnerTopicProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Provisioning state of the partner topic.""" CREATING = "Creating" UPDATING = "Updating" DELETING = "Deleting" SUCCEEDED = "Succeeded" CANCELED = "Canceled" FAILED = "Failed" IDLE_DUE_TO_MIRRORED_CHANNEL_RESOURCE_DELETION = "IdleDueToMirroredChannelResourceDeletion"
[docs]class PartnerTopicRoutingMode(str, Enum, metaclass=CaseInsensitiveEnumMeta): """This determines if events published to this partner namespace should use the source attribute in the event payload or use the channel name in the header when matching to the partner topic. If none is specified, source attribute routing will be used to match the partner topic. """ SOURCE_EVENT_ATTRIBUTE = "SourceEventAttribute" CHANNEL_NAME_HEADER = "ChannelNameHeader"
[docs]class PersistedConnectionStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Status of the connection.""" PENDING = "Pending" APPROVED = "Approved" REJECTED = "Rejected" DISCONNECTED = "Disconnected"
[docs]class PrivateEndpointConnectionsParentType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """PrivateEndpointConnectionsParentType.""" TOPICS = "topics" DOMAINS = "domains" PARTNER_NAMESPACES = "partnerNamespaces"
[docs]class PublicNetworkAccess(str, Enum, metaclass=CaseInsensitiveEnumMeta): """This determines if traffic is allowed over public network. By default it is enabled. You can further restrict to specific IPs by configuring :code:`<seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.DomainProperties.InboundIpRules" />`. """ ENABLED = "Enabled" DISABLED = "Disabled"
[docs]class ReadinessState(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The readiness state of the corresponding partner topic.""" NEVER_ACTIVATED = "NeverActivated" ACTIVATED = "Activated"
[docs]class ResourceProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Provisioning state of the Private Endpoint Connection.""" CREATING = "Creating" UPDATING = "Updating" DELETING = "Deleting" SUCCEEDED = "Succeeded" CANCELED = "Canceled" FAILED = "Failed"
[docs]class ResourceRegionType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Region type of the resource.""" REGIONAL_RESOURCE = "RegionalResource" GLOBAL_RESOURCE = "GlobalResource"
[docs]class TopicProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Provisioning state of the topic.""" CREATING = "Creating" UPDATING = "Updating" DELETING = "Deleting" SUCCEEDED = "Succeeded" CANCELED = "Canceled" FAILED = "Failed"
[docs]class TopicTypeProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Provisioning state of the topic type.""" CREATING = "Creating" UPDATING = "Updating" DELETING = "Deleting" SUCCEEDED = "Succeeded" CANCELED = "Canceled" FAILED = "Failed"
[docs]class TopicTypeSourceScope(str, Enum, metaclass=CaseInsensitiveEnumMeta): """TopicTypeSourceScope.""" RESOURCE = "Resource" RESOURCE_GROUP = "ResourceGroup" AZURE_SUBSCRIPTION = "AzureSubscription" MANAGEMENT_GROUP = "ManagementGroup"
[docs]class VerifiedPartnerProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): """Provisioning state of the verified partner.""" CREATING = "Creating" UPDATING = "Updating" DELETING = "Deleting" SUCCEEDED = "Succeeded" CANCELED = "Canceled" FAILED = "Failed"