text: # 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, EnumMeta
  from six import with_metaclass
  
  class _CaseInsensitiveEnumMeta(EnumMeta):
      def __getitem__(self, name):
          return super().__getitem__(name.upper())
  
      def __getattr__(cls, name):
          """Return the enum member matching `name`
          We use __getattr__ instead of descriptors or inserting into the enum
          class' __dict__ in order to support `name` and `value` being both
          properties for enum members (which live in the class' __dict__) and
          enum members themselves.
          """
          try:
              return cls._member_map_[name.upper()]
          except KeyError:
              raise AttributeError(name)
  
  
  class CreatedByType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
      """The type of identity that created the resource.
      """
  
      USER = "User"
      APPLICATION = "Application"
      MANAGED_IDENTITY = "ManagedIdentity"
      KEY = "Key"
  
  class KnownDataCollectionEndpointProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
      """The resource provisioning state. This property is READ-ONLY.
      """
  
      CREATING = "Creating"
      UPDATING = "Updating"
      DELETING = "Deleting"
      SUCCEEDED = "Succeeded"
      FAILED = "Failed"
  
  class KnownDataCollectionEndpointResourceKind(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
      """The kind of the resource.
      """
  
      LINUX = "Linux"
      WINDOWS = "Windows"
  
  class KnownDataCollectionRuleAssociationProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
      """The resource provisioning state.
      """
  
      CREATING = "Creating"
      UPDATING = "Updating"
      DELETING = "Deleting"
      SUCCEEDED = "Succeeded"
      FAILED = "Failed"
  
  class KnownDataCollectionRuleProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
      """The resource provisioning state.
      """
  
      CREATING = "Creating"
      UPDATING = "Updating"
      DELETING = "Deleting"
      SUCCEEDED = "Succeeded"
      FAILED = "Failed"
  
  class KnownDataCollectionRuleResourceKind(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
      """The kind of the resource.
      """
  
      LINUX = "Linux"
      WINDOWS = "Windows"
  
  class KnownDataFlowStreams(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
  
      MICROSOFT_EVENT = "Microsoft-Event"
      MICROSOFT_INSIGHTS_METRICS = "Microsoft-InsightsMetrics"
      MICROSOFT_PERF = "Microsoft-Perf"
      MICROSOFT_SYSLOG = "Microsoft-Syslog"
      MICROSOFT_WINDOWS_EVENT = "Microsoft-WindowsEvent"
  
  class KnownExtensionDataSourceStreams(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
  
      MICROSOFT_EVENT = "Microsoft-Event"
      MICROSOFT_INSIGHTS_METRICS = "Microsoft-InsightsMetrics"
      MICROSOFT_PERF = "Microsoft-Perf"
      MICROSOFT_SYSLOG = "Microsoft-Syslog"
      MICROSOFT_WINDOWS_EVENT = "Microsoft-WindowsEvent"
  
  class KnownPerfCounterDataSourceStreams(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
  
      MICROSOFT_PERF = "Microsoft-Perf"
      MICROSOFT_INSIGHTS_METRICS = "Microsoft-InsightsMetrics"
  
  class KnownPublicNetworkAccessOptions(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
      """The configuration to set whether network access from public internet to the endpoints are
      allowed.
      """
  
      ENABLED = "Enabled"
      DISABLED = "Disabled"
  
  class KnownSyslogDataSourceFacilityNames(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
  
      AUTH = "auth"
      AUTHPRIV = "authpriv"
      CRON = "cron"
      DAEMON = "daemon"
      KERN = "kern"
      LPR = "lpr"
      MAIL = "mail"
      MARK = "mark"
      NEWS = "news"
      SYSLOG = "syslog"
      USER = "user"
      UUCP = "uucp"
      LOCAL0 = "local0"
      LOCAL1 = "local1"
      LOCAL2 = "local2"
      LOCAL3 = "local3"
      LOCAL4 = "local4"
      LOCAL5 = "local5"
      LOCAL6 = "local6"
      LOCAL7 = "local7"
      ASTERISK = "*"
  
  class KnownSyslogDataSourceLogLevels(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
  
      DEBUG = "Debug"
      INFO = "Info"
      NOTICE = "Notice"
      WARNING = "Warning"
      ERROR = "Error"
      CRITICAL = "Critical"
      ALERT = "Alert"
      EMERGENCY = "Emergency"
      ASTERISK = "*"
  
  class KnownSyslogDataSourceStreams(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
  
      MICROSOFT_SYSLOG = "Microsoft-Syslog"
  
  class KnownWindowsEventLogDataSourceStreams(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
  
      MICROSOFT_WINDOWS_EVENT = "Microsoft-WindowsEvent"
      MICROSOFT_EVENT = "Microsoft-Event"
  