# 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 six import with_metaclass
from azure.core import CaseInsensitiveEnumMeta


class Action(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
    """The action of virtual network rule.
    """

    ALLOW = "Allow"

class ActionsRequired(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
    """A message indicating if changes on the service provider require any updates on the consumer.
    """

    NONE = "None"
    RECREATE = "Recreate"

class ActivationStatus(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
    """The activation status of the connected registry.
    """

    ACTIVE = "Active"
    INACTIVE = "Inactive"

class AuditLogStatus(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
    """Indicates whether audit logs are enabled on the connected registry.
    """

    ENABLED = "Enabled"
    DISABLED = "Disabled"

class CertificateType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
    """The type of certificate location.
    """

    LOCAL_DIRECTORY = "LocalDirectory"

class ConnectedRegistryMode(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
    """The mode of the connected registry resource that indicates the permissions of the registry.
    """

    REGISTRY = "Registry"
    MIRROR = "Mirror"

class ConnectionState(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
    """The current connection state of the connected registry.
    """

    ONLINE = "Online"
    OFFLINE = "Offline"
    SYNCING = "Syncing"
    UNHEALTHY = "Unhealthy"

class ConnectionStatus(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
    """The private link service connection status.
    """

    APPROVED = "Approved"
    PENDING = "Pending"
    REJECTED = "Rejected"
    DISCONNECTED = "Disconnected"

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 DefaultAction(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
    """The default action of allow or deny when no other rules match.
    """

    ALLOW = "Allow"
    DENY = "Deny"

class EncryptionStatus(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
    """Indicates whether or not the encryption is enabled for container registry.
    """

    ENABLED = "enabled"
    DISABLED = "disabled"

class ExportPolicyStatus(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
    """The value that indicates whether the policy is enabled or not.
    """

    ENABLED = "enabled"
    DISABLED = "disabled"

class ImportMode(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
    """When Force, any existing target tags will be overwritten. When NoForce, any existing target
    tags will fail the operation before any copying begins.
    """

    NO_FORCE = "NoForce"
    FORCE = "Force"

class LastModifiedByType(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
    """The type of identity that last modified the resource.
    """

    USER = "User"
    APPLICATION = "Application"
    MANAGED_IDENTITY = "ManagedIdentity"
    KEY = "Key"

class LogLevel(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
    """The verbosity of logs persisted on the connected registry.
    """

    DEBUG = "Debug"
    INFORMATION = "Information"
    WARNING = "Warning"
    ERROR = "Error"
    NONE = "None"

class NetworkRuleBypassOptions(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
    """Whether to allow trusted Azure services to access a network restricted registry.
    """

    AZURE_SERVICES = "AzureServices"
    NONE = "None"

class PasswordName(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):
    """The password name.
    """

    PASSWORD = "password"
    PASSWORD2 = "password2"

class PipelineOptions(with_metaclass(CaseInsensitiveEnumMeta, str, Enum)):

    OVERWRITE_TAGS = "OverwriteTags"
    OVERWRITE_BLOBS = "OverwriteBlobs"