azext_iot/sdk/deviceupdate/controlplane/models/_device_update_enums.py (57 lines of code) (raw):
# 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
class ActionType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
"""
INTERNAL = "Internal"
class AuthenticationType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Authentication Type.
"""
KEY_BASED = "KeyBased"
class CheckNameAvailabilityReason(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The reason why the given name is not available.
"""
INVALID = "Invalid"
ALREADY_EXISTS = "AlreadyExists"
class CreatedByType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The type of identity that created the resource.
"""
USER = "User"
APPLICATION = "Application"
MANAGED_IDENTITY = "ManagedIdentity"
KEY = "Key"
class GroupIdProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The provisioning state of private link group ID.
"""
SUCCEEDED = "Succeeded"
FAILED = "Failed"
CANCELED = "Canceled"
class ManagedServiceIdentityType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Type of managed service identity (where both SystemAssigned and UserAssigned types are
allowed).
"""
NONE = "None"
SYSTEM_ASSIGNED = "SystemAssigned"
USER_ASSIGNED = "UserAssigned"
SYSTEM_ASSIGNED_USER_ASSIGNED = "SystemAssigned,UserAssigned"
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"
SYSTEM = "system"
USER_SYSTEM = "user,system"
class PrivateEndpointConnectionProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The current provisioning state.
"""
SUCCEEDED = "Succeeded"
CREATING = "Creating"
DELETING = "Deleting"
FAILED = "Failed"
class PrivateEndpointConnectionProxyProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The current provisioning state.
"""
SUCCEEDED = "Succeeded"
CREATING = "Creating"
DELETING = "Deleting"
FAILED = "Failed"
class PrivateEndpointServiceConnectionStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""The private endpoint connection status.
"""
PENDING = "Pending"
APPROVED = "Approved"
REJECTED = "Rejected"
class ProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Provisioning state.
"""
SUCCEEDED = "Succeeded"
DELETED = "Deleted"
FAILED = "Failed"
CANCELED = "Canceled"
ACCEPTED = "Accepted"
CREATING = "Creating"
class PublicNetworkAccess(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Whether or not public network access is allowed for the account.
"""
ENABLED = "Enabled"
DISABLED = "Disabled"
class Role(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Whether the location is primary or failover.
"""
PRIMARY = "Primary"
FAILOVER = "Failover"
class SKU(str, Enum, metaclass=CaseInsensitiveEnumMeta):
"""Device Update Sku.
"""
FREE = "Free"
STANDARD = "Standard"