# 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 AsyncOperationState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
    """The async operation state.
    """

    IN_PROGRESS = "InProgress"
    SUCCEEDED = "Succeeded"
    FAILED = "Failed"

class DaysOfWeek(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):

    MONDAY = "Monday"
    TUESDAY = "Tuesday"
    WEDNESDAY = "Wednesday"
    THURSDAY = "Thursday"
    FRIDAY = "Friday"
    SATURDAY = "Saturday"
    SUNDAY = "Sunday"

class FilterMode(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
    """The filtering mode. Effectively this can enabling or disabling the VM sizes in a particular
    set.
    """

    EXCLUDE = "Exclude"
    INCLUDE = "Include"

class HDInsightClusterProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
    """The provisioning state, which only appears in the response.
    """

    IN_PROGRESS = "InProgress"
    FAILED = "Failed"
    SUCCEEDED = "Succeeded"
    CANCELED = "Canceled"
    DELETING = "Deleting"

class JsonWebKeyEncryptionAlgorithm(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
    """Algorithm identifier for encryption, default RSA-OAEP.
    """

    RSA_OAEP = "RSA-OAEP"
    RSA_OAEP256 = "RSA-OAEP-256"
    RSA1_5 = "RSA1_5"

class OSType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
    """The type of operating system.
    """

    WINDOWS = "Windows"
    LINUX = "Linux"

class PrivateLink(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
    """Indicates whether or not private link is enabled.
    """

    DISABLED = "Disabled"
    ENABLED = "Enabled"

class ResourceIdentityType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
    """The type of identity used for the cluster. The type 'SystemAssigned, UserAssigned' includes
    both an implicitly created identity and a set of user assigned identities.
    """

    SYSTEM_ASSIGNED = "SystemAssigned"
    USER_ASSIGNED = "UserAssigned"
    SYSTEM_ASSIGNED_USER_ASSIGNED = "SystemAssigned, UserAssigned"
    NONE = "None"

class ResourceProviderConnection(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
    """The direction for the resource provider connection.
    """

    INBOUND = "Inbound"
    OUTBOUND = "Outbound"

class RoleName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):

    WORKERNODE = "workernode"

class Tier(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)):
    """The cluster tier.
    """

    STANDARD = "Standard"
    PREMIUM = "Premium"
