Source code for azure.mgmt.subscription.models._subscription_client_enums

# 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


[docs]class AcceptOwnership(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The accept ownership state of the resource.""" PENDING = "Pending" COMPLETED = "Completed" EXPIRED = "Expired"
[docs]class CreatedByType(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The type of identity that created the resource.""" USER = "User" APPLICATION = "Application" MANAGED_IDENTITY = "ManagedIdentity" KEY = "Key"
[docs]class Provisioning(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The provisioning state of the resource.""" PENDING = "Pending" ACCEPTED = "Accepted" SUCCEEDED = "Succeeded"
[docs]class ProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The provisioning state of the resource.""" ACCEPTED = "Accepted" SUCCEEDED = "Succeeded" FAILED = "Failed"
[docs]class SpendingLimit(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The subscription spending limit.""" ON = "On" OFF = "Off" CURRENT_PERIOD_OFF = "CurrentPeriodOff"
[docs]class SubscriptionState(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The subscription state. Possible values are Enabled, Warned, PastDue, Disabled, and Deleted.""" ENABLED = "Enabled" WARNED = "Warned" PAST_DUE = "PastDue" DISABLED = "Disabled" DELETED = "Deleted"
[docs]class Workload(str, Enum, metaclass=CaseInsensitiveEnumMeta): """The workload type of the subscription. It can be either Production or DevTest.""" PRODUCTION = "Production" DEV_TEST = "DevTest"