# 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) Python 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 ActionType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Extensible enum. Indicates the action type. "Internal" refers to actions that are for internal
only APIs.
"""
INTERNAL = "Internal"
"""Actions are for internal-only APIs."""
[docs]
class CreatedByType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The kind of entity that created the resource."""
USER = "User"
"""The entity was created by a user."""
APPLICATION = "Application"
"""The entity was created by an application."""
MANAGED_IDENTITY = "ManagedIdentity"
"""The entity was created by a managed identity."""
KEY = "Key"
"""The entity was created by a key."""
[docs]
class ManagedServiceIdentityType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Type of managed service identity (where both SystemAssigned and UserAssigned types are
allowed).
"""
NONE = "None"
"""No managed identity."""
SYSTEM_ASSIGNED = "SystemAssigned"
"""System assigned managed identity."""
USER_ASSIGNED = "UserAssigned"
"""User assigned managed identity."""
SYSTEM_ASSIGNED_USER_ASSIGNED = "SystemAssigned,UserAssigned"
"""System and user assigned managed identity."""
[docs]
class Origin(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit
logs UX. Default value is "user,system".
"""
USER = "user"
"""Indicates the operation is initiated by a user."""
SYSTEM = "system"
"""Indicates the operation is initiated by a system."""
USER_SYSTEM = "user,system"
"""Indicates the operation is initiated by a user or system."""
[docs]
class PrivateEndpointConnectionProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The current provisioning state."""
SUCCEEDED = "Succeeded"
"""Connection has been provisioned"""
CREATING = "Creating"
"""Connection is being created"""
DELETING = "Deleting"
"""Connection is being deleted"""
FAILED = "Failed"
"""Connection provisioning has failed"""
[docs]
class PrivateEndpointServiceConnectionStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The private endpoint connection status."""
PENDING = "Pending"
"""Connectionaiting for approval or rejection"""
APPROVED = "Approved"
"""Connection approved"""
REJECTED = "Rejected"
"""Connection Rejected"""
[docs]
class ProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The status of the current operation."""
SUCCEEDED = "Succeeded"
"""Resource has been created."""
FAILED = "Failed"
"""Resource creation failed."""
CANCELED = "Canceled"
"""Resource creation was canceled."""
PROVISIONING = "Provisioning"
"""The resource is being provisioned."""
UPDATING = "Updating"
"""The resource is being updated."""
DELETING = "Deleting"
"""The resource is being deleted."""
ACCEPTED = "Accepted"
"""The resource provisioning request has been accepted."""
[docs]
class PublicNetworkAccess(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""State of the public network access."""
ENABLED = "Enabled"
"""The public network access is enabled"""
DISABLED = "Disabled"
"""The public network access is disabled"""