# pylint: disable=too-many-lines
# 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


class AcceptanceMode(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The mode of acceptance for an agreement."""

    OTHER = "Other"
    """Other."""
    CLICK_TO_ACCEPT = "ClickToAccept"
    """ClickToAccept."""
    E_SIGN_EMBEDDED = "ESignEmbedded"
    """ESignEmbedded."""
    E_SIGN_OFFLINE = "ESignOffline"
    """ESignOffline."""
    IMPLICIT = "Implicit"
    """Implicit."""
    OFFLINE = "Offline"
    """Offline."""
    PHYSICAL_SIGN = "PhysicalSign"
    """PhysicalSign."""


class AccessDecision(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Access Decision, specifies access is allowed or not."""

    OTHER = "Other"
    """Other."""
    ALLOWED = "Allowed"
    """Allowed."""
    NOT_ALLOWED = "NotAllowed"
    """NotAllowed."""


class AccountStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The current status of the billing account."""

    OTHER = "Other"
    """Other."""
    ACTIVE = "Active"
    """Active."""
    UNDER_REVIEW = "UnderReview"
    """UnderReview."""
    DISABLED = "Disabled"
    """Disabled."""
    DELETED = "Deleted"
    """Deleted."""
    EXTENDED = "Extended"
    """Extended."""
    PENDING = "Pending"
    """Pending."""
    NEW = "New"
    """New."""
    EXPIRED = "Expired"
    """Expired."""
    TERMINATED = "Terminated"
    """Terminated."""
    TRANSFERRED = "Transferred"
    """Transferred."""


class AccountSubType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The tier of the account."""

    OTHER = "Other"
    """Other."""
    NONE = "None"
    """None."""
    INDIVIDUAL = "Individual"
    """Individual."""
    PROFESSIONAL = "Professional"
    """Professional."""
    ENTERPRISE = "Enterprise"
    """Enterprise."""


class AccountType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The type of customer."""

    OTHER = "Other"
    """Other."""
    ENTERPRISE = "Enterprise"
    """Enterprise."""
    INDIVIDUAL = "Individual"
    """Individual."""
    PARTNER = "Partner"
    """Partner."""
    RESELLER = "Reseller"
    """Reseller."""
    CLASSIC_PARTNER = "ClassicPartner"
    """ClassicPartner."""
    INTERNAL = "Internal"
    """Internal."""
    TENANT = "Tenant"
    """Tenant."""
    BUSINESS = "Business"
    """Business."""


class AddressValidationStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Status of the address validation."""

    OTHER = "Other"
    """Other."""
    VALID = "Valid"
    """Valid."""
    INVALID = "Invalid"
    """Invalid."""


class AgreementType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The type of agreement."""

    OTHER = "Other"
    """Other."""
    MICROSOFT_CUSTOMER_AGREEMENT = "MicrosoftCustomerAgreement"
    """MicrosoftCustomerAgreement."""
    ENTERPRISE_AGREEMENT = "EnterpriseAgreement"
    """EnterpriseAgreement."""
    MICROSOFT_ONLINE_SERVICES_PROGRAM = "MicrosoftOnlineServicesProgram"
    """MicrosoftOnlineServicesProgram."""
    MICROSOFT_PARTNER_AGREEMENT = "MicrosoftPartnerAgreement"
    """MicrosoftPartnerAgreement."""


class AppliedScopeType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Type of the Applied Scope."""

    SINGLE = "Single"
    """Single."""
    SHARED = "Shared"
    """Shared."""
    MANAGEMENT_GROUP = "ManagementGroup"
    """ManagementGroup."""


class AutoRenew(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Indicates whether auto renewal is turned on or off for a product."""

    OFF = "Off"
    """Off."""
    ON = "On"
    """On."""


class BillingAccountStatusReasonCode(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Reason for the specified billing account status."""

    OTHER = "Other"
    """Other."""
    UNUSUAL_ACTIVITY = "UnusualActivity"
    """UnusualActivity."""
    MANUALLY_TERMINATED = "ManuallyTerminated"
    """ManuallyTerminated."""
    EXPIRED = "Expired"
    """Expired."""
    TRANSFERRED = "Transferred"
    """Transferred."""
    TERMINATE_PROCESSING = "TerminateProcessing"
    """TerminateProcessing."""


class BillingManagementTenantState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The state determines whether users from the associated tenant can be assigned roles for
    commerce activities like viewing and downloading invoices, managing payments, and making
    purchases.
    """

    OTHER = "Other"
    """Other."""
    NOT_ALLOWED = "NotAllowed"
    """NotAllowed."""
    ACTIVE = "Active"
    """Active."""
    REVOKED = "Revoked"
    """Revoked."""


class BillingPlan(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Represents the billing plan in ISO 8601 format. Required only for monthly purchases."""

    P1_M = "P1M"
    """P1M."""


class BillingProfileStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The status of the billing profile."""

    OTHER = "Other"
    """Other."""
    ACTIVE = "Active"
    """Active."""
    DISABLED = "Disabled"
    """Disabled."""
    WARNED = "Warned"
    """Warned."""
    DELETED = "Deleted"
    """Deleted."""
    UNDER_REVIEW = "UnderReview"
    """UnderReview."""


class BillingProfileStatusReasonCode(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Reason for the specified billing profile status."""

    OTHER = "Other"
    """Other."""
    PAST_DUE = "PastDue"
    """PastDue."""
    UNUSUAL_ACTIVITY = "UnusualActivity"
    """UnusualActivity."""
    SPENDING_LIMIT_REACHED = "SpendingLimitReached"
    """SpendingLimitReached."""
    SPENDING_LIMIT_EXPIRED = "SpendingLimitExpired"
    """SpendingLimitExpired."""


class BillingRelationshipType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Identifies the billing relationships represented by a billing account or billing profile. The
    billing relationship may be between Microsoft, the customer, and/or a third-party.
    """

    OTHER = "Other"
    """Other."""
    DIRECT = "Direct"
    """Direct."""
    INDIRECT_CUSTOMER = "IndirectCustomer"
    """IndirectCustomer."""
    INDIRECT_PARTNER = "IndirectPartner"
    """IndirectPartner."""
    CSP_PARTNER = "CSPPartner"
    """CSPPartner."""
    CSP_CUSTOMER = "CSPCustomer"
    """CSPCustomer."""


class BillingRequestStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Status of billing request."""

    OTHER = "Other"
    """Other."""
    PENDING = "Pending"
    """Pending."""
    APPROVED = "Approved"
    """Approved."""
    DECLINED = "Declined"
    """Declined."""
    CANCELLED = "Cancelled"
    """Cancelled."""
    COMPLETED = "Completed"
    """Completed."""
    EXPIRED = "Expired"
    """Expired."""


class BillingRequestType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Type of billing request."""

    OTHER = "Other"
    """Other."""
    INVOICE_ACCESS = "InvoiceAccess"
    """InvoiceAccess."""
    PROVISIONING_ACCESS = "ProvisioningAccess"
    """ProvisioningAccess."""
    ROLE_ASSIGNMENT = "RoleAssignment"
    """RoleAssignment."""
    UPDATE_BILLING_POLICY = "UpdateBillingPolicy"
    """UpdateBillingPolicy."""


class BillingSubscriptionOperationStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The status of an operation on the subscription. When None, there is no ongoing operation. When
    LockedForUpdate, write operations will be blocked on the Billing Subscription. Other is the
    default value and you may need to refer to the latest API version for more details.
    """

    OTHER = "Other"
    """Other."""
    NONE = "None"
    """None."""
    LOCKED_FOR_UPDATE = "LockedForUpdate"
    """LockedForUpdate."""


class BillingSubscriptionStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The subscription status."""

    OTHER = "Other"
    """Other."""
    UNKNOWN = "Unknown"
    """Unknown."""
    ACTIVE = "Active"
    """Active."""
    DISABLED = "Disabled"
    """Disabled."""
    DELETED = "Deleted"
    """Deleted."""
    WARNED = "Warned"
    """Warned."""
    EXPIRING = "Expiring"
    """Expiring."""
    EXPIRED = "Expired"
    """Expired."""
    AUTO_RENEW = "AutoRenew"
    """AutoRenew."""
    CANCELLED = "Cancelled"
    """Cancelled."""
    SUSPENDED = "Suspended"
    """Suspended."""
    FAILED = "Failed"
    """Failed."""


class Cancellation(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The policy override for the subscription indicates whether the self-serve cancellation or seat
    reduction is allowed.
    """

    NOT_ALLOWED = "NotAllowed"
    """NotAllowed."""
    ALLOWED = "Allowed"
    """Allowed."""


class CancellationReason(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Cancellation reason."""

    OTHER = "Other"
    """Other."""
    COMPROMISE = "Compromise"
    """Compromise."""
    DISPUTE = "Dispute"
    """Dispute."""


class Category(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The category of the agreement."""

    OTHER = "Other"
    """Other."""
    AFFILIATE_PURCHASE_TERMS = "AffiliatePurchaseTerms"
    """AffiliatePurchaseTerms."""
    INDIRECT_FOR_GOVERNMENT_AGREEMENT = "IndirectForGovernmentAgreement"
    """IndirectForGovernmentAgreement."""
    MICROSOFT_CUSTOMER_AGREEMENT = "MicrosoftCustomerAgreement"
    """MicrosoftCustomerAgreement."""
    MICROSOFT_PARTNER_AGREEMENT = "MicrosoftPartnerAgreement"
    """MicrosoftPartnerAgreement."""
    UK_CLOUD_COMPUTE_FRAMEWORK = "UKCloudComputeFramework"
    """UKCloudComputeFramework."""


class CommitmentGrain(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Commitment grain."""

    HOURLY = "Hourly"
    """Hourly."""


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."""


class CreditType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The credit type of the transaction. Applies only to credited transactions."""

    OTHER = "Other"
    """Other."""
    AZURE_FREE_CREDIT = "AzureFreeCredit"
    """AzureFreeCredit."""
    AZURE_CREDIT_OFFER = "AzureCreditOffer"
    """AzureCreditOffer."""
    SERVICE_INTERRUPTION = "ServiceInterruption"
    """ServiceInterruption."""
    REFUND = "Refund"
    """Refund."""


class CustomerStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Identifies the status of an customer. This is an upcoming property that will be populated in
    the future.
    """

    OTHER = "Other"
    """Other."""
    ACTIVE = "Active"
    """Active."""
    PENDING = "Pending"
    """Pending."""
    DISABLED = "Disabled"
    """Disabled."""
    WARNED = "Warned"
    """Warned."""
    DELETED = "Deleted"
    """Deleted."""
    UNDER_REVIEW = "UnderReview"
    """UnderReview."""


class DeleteBillingProfileEligibilityCode(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Code of the delete invoice section eligibility response."""

    NONE = "None"
    """None."""
    ACTIVE_CREDITS = "ActiveCredits"
    """ActiveCredits."""
    ACTIVE_CREDIT_CARD = "ActiveCreditCard"
    """ActiveCreditCard."""
    LAST_BILLING_PROFILE = "LastBillingProfile"
    """LastBillingProfile."""
    NOT_SUPPORTED = "NotSupported"
    """NotSupported."""
    OUTSTANDING_CHARGES = "OutstandingCharges"
    """OutstandingCharges."""
    PENDING_CHARGES = "PendingCharges"
    """PendingCharges."""
    RESERVED_INSTANCES = "ReservedInstances"
    """ReservedInstances."""
    ACTIVE_BILLING_SUBSCRIPTIONS = "ActiveBillingSubscriptions"
    """ActiveBillingSubscriptions."""


class DeleteBillingProfileEligibilityStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Status describing if billing profile is eligible to be deleted."""

    ALLOWED = "Allowed"
    """Allowed."""
    NOT_ALLOWED = "NotAllowed"
    """NotAllowed."""


class DeleteInvoiceSectionEligibilityCode(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Code for the delete invoice section validation."""

    OTHER = "Other"
    """Other."""
    LAST_INVOICE_SECTION = "LastInvoiceSection"
    """LastInvoiceSection."""
    ACTIVE_AZURE_PLANS = "ActiveAzurePlans"
    """ActiveAzurePlans."""
    RESERVED_INSTANCES = "ReservedInstances"
    """ReservedInstances."""
    ACTIVE_BILLING_SUBSCRIPTIONS = "ActiveBillingSubscriptions"
    """ActiveBillingSubscriptions."""


class DeleteInvoiceSectionEligibilityStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Status describing if invoice section is eligible to be deleted."""

    ALLOWED = "Allowed"
    """Allowed."""
    NOT_ALLOWED = "NotAllowed"
    """NotAllowed."""


class DocumentSource(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The source of the document. ENF for Brazil and DRS for rest of the world."""

    OTHER = "Other"
    """Other."""
    DRS = "DRS"
    """DRS."""
    ENF = "ENF"
    """ENF."""


class EligibleProductType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Type of the products that can be transferred."""

    DEV_TEST_AZURE_SUBSCRIPTION = "DevTestAzureSubscription"
    """DevTestAzureSubscription."""
    STANDARD_AZURE_SUBSCRIPTION = "StandardAzureSubscription"
    """StandardAzureSubscription."""
    AZURE_RESERVATION = "AzureReservation"
    """AzureReservation."""


class EnrollmentAccountOwnerViewCharges(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The policy that controls whether account owner can view charges."""

    OTHER = "Other"
    """Other."""
    ALLOWED = "Allowed"
    """Allowed."""
    DISABLED = "Disabled"
    """Disabled."""
    NOT_ALLOWED = "NotAllowed"
    """NotAllowed."""


class EnrollmentAuthLevelState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The state showing the enrollment auth level."""

    OTHER = "Other"
    """Other."""
    MICROSOFT_ACCOUNT_ONLY = "MicrosoftAccountOnly"
    """MicrosoftAccountOnly."""
    MIXED_ACCOUNT = "MixedAccount"
    """MixedAccount."""
    ORGANIZATIONAL_ACCOUNT_CROSS_TENANT = "OrganizationalAccountCrossTenant"
    """OrganizationalAccountCrossTenant."""
    ORGANIZATIONAL_ACCOUNT_ONLY = "OrganizationalAccountOnly"
    """OrganizationalAccountOnly."""


class EnrollmentDepartmentAdminViewCharges(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The policy that controls whether department admin can view charges."""

    OTHER = "Other"
    """Other."""
    ALLOWED = "Allowed"
    """Allowed."""
    DISABLED = "Disabled"
    """Disabled."""
    NOT_ALLOWED = "NotAllowed"
    """NotAllowed."""


class ExtendedTermOption(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The billing account extension opted by the company."""

    OTHER = "Other"
    """Other."""
    OPTED_IN = "Opted-In"
    """Opted-In."""
    OPTED_OUT = "Opted-Out"
    """Opted-Out."""


class FailedPaymentReason(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The reason that the payment failed."""

    OTHER = "Other"
    """Other."""
    BANK_DECLINED = "BankDeclined"
    """BankDeclined."""
    CARD_EXPIRED = "CardExpired"
    """CardExpired."""
    INCORRECT_CARD_DETAILS = "IncorrectCardDetails"
    """IncorrectCardDetails."""


class InitiatorCustomerType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The type of customer of the transfer initiator."""

    PARTNER = "Partner"
    """Partner."""
    EA = "EA"
    """EA."""


class InstanceFlexibility(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Turning this on will apply the reservation discount to other VMs in the same VM size group.
    Only specify for VirtualMachines reserved resource type.
    """

    ON = "On"
    """On."""
    OFF = "Off"
    """Off."""


class InvoiceDocumentType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The type of the document."""

    OTHER = "Other"
    """Other."""
    INVOICE = "Invoice"
    """Invoice."""
    VOID_NOTE = "VoidNote"
    """VoidNote."""
    TAX_RECEIPT = "TaxReceipt"
    """TaxReceipt."""
    CREDIT_NOTE = "CreditNote"
    """CreditNote."""
    SUMMARY = "Summary"
    """Summary."""
    TRANSACTIONS = "Transactions"
    """Transactions."""


class InvoiceSectionLabelManagementPolicy(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The policy that controls invoice section label management at invoice section scope. This is
    allowed by default.
    """

    OTHER = "Other"
    """Other."""
    ALLOWED = "Allowed"
    """Allowed."""
    NOT_ALLOWED = "NotAllowed"
    """NotAllowed."""


class InvoiceSectionState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Identifies the status of an invoice section."""

    OTHER = "Other"
    """Other."""
    ACTIVE = "Active"
    """Active."""
    DELETED = "Deleted"
    """Deleted."""
    DISABLED = "Disabled"
    """Disabled."""
    UNDER_REVIEW = "UnderReview"
    """UnderReview."""
    WARNED = "Warned"
    """Warned."""
    RESTRICTED = "Restricted"
    """Restricted."""


class InvoiceSectionStateReasonCode(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Reason for the specified invoice section status."""

    OTHER = "Other"
    """Other."""
    PAST_DUE = "PastDue"
    """PastDue."""
    UNUSUAL_ACTIVITY = "UnusualActivity"
    """UnusualActivity."""
    SPENDING_LIMIT_REACHED = "SpendingLimitReached"
    """SpendingLimitReached."""
    SPENDING_LIMIT_EXPIRED = "SpendingLimitExpired"
    """SpendingLimitExpired."""


class InvoiceStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The current status of the invoice."""

    OTHER = "Other"
    """Other."""
    DUE = "Due"
    """Due."""
    OVER_DUE = "OverDue"
    """OverDue."""
    PAID = "Paid"
    """Paid."""
    VOID = "Void"
    """Void."""
    LOCKED = "Locked"
    """Locked."""


class InvoiceType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Invoice type."""

    OTHER = "Other"
    """Other."""
    AZURE_SERVICES = "AzureServices"
    """AzureServices."""
    AZURE_MARKETPLACE = "AzureMarketplace"
    """AzureMarketplace."""
    AZURE_SUPPORT = "AzureSupport"
    """AzureSupport."""


class MarketplacePurchasesPolicy(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The policy that controls whether Azure marketplace purchases are allowed."""

    OTHER = "Other"
    """Other."""
    ALL_ALLOWED = "AllAllowed"
    """AllAllowed."""
    DISABLED = "Disabled"
    """Disabled."""
    NOT_ALLOWED = "NotAllowed"
    """NotAllowed."""
    ONLY_FREE_ALLOWED = "OnlyFreeAllowed"
    """OnlyFreeAllowed."""


class MarkupStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Markup status of enrollment, applicable only for indirect enrollments."""

    OTHER = "Other"
    """Other."""
    DISABLED = "Disabled"
    """Disabled."""
    PREVIEW = "Preview"
    """Preview."""
    PUBLISHED = "Published"
    """Published."""
    LOCKED = "Locked"
    """Locked."""


class MoveValidationErrorCode(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Error code for the product transfer validation."""

    OTHER = "Other"
    """Other."""
    BILLING_ACCOUNT_INACTIVE = "BillingAccountInactive"
    """BillingAccountInactive."""
    DESTINATION_BILLING_PROFILE_INACTIVE = "DestinationBillingProfileInactive"
    """DestinationBillingProfileInactive."""
    DESTINATION_BILLING_PROFILE_NOT_FOUND = "DestinationBillingProfileNotFound"
    """DestinationBillingProfileNotFound."""
    DESTINATION_BILLING_PROFILE_PAST_DUE = "DestinationBillingProfilePastDue"
    """DestinationBillingProfilePastDue."""
    DESTINATION_INVOICE_SECTION_INACTIVE = "DestinationInvoiceSectionInactive"
    """DestinationInvoiceSectionInactive."""
    DESTINATION_INVOICE_SECTION_NOT_FOUND = "DestinationInvoiceSectionNotFound"
    """DestinationInvoiceSectionNotFound."""
    INSUFFICIENT_PERMISSION_ON_DESTINATION = "InsufficientPermissionOnDestination"
    """InsufficientPermissionOnDestination."""
    INSUFFICIENT_PERMISSION_ON_SOURCE = "InsufficientPermissionOnSource"
    """InsufficientPermissionOnSource."""
    INVALID_DESTINATION = "InvalidDestination"
    """InvalidDestination."""
    INVALID_SOURCE = "InvalidSource"
    """InvalidSource."""
    MARKETPLACE_NOT_ENABLED_ON_DESTINATION = "MarketplaceNotEnabledOnDestination"
    """MarketplaceNotEnabledOnDestination."""
    PRODUCT_INACTIVE = "ProductInactive"
    """ProductInactive."""
    PRODUCT_NOT_FOUND = "ProductNotFound"
    """ProductNotFound."""
    PRODUCT_TYPE_NOT_SUPPORTED = "ProductTypeNotSupported"
    """ProductTypeNotSupported."""
    SOURCE_BILLING_PROFILE_PAST_DUE = "SourceBillingProfilePastDue"
    """SourceBillingProfilePastDue."""
    SOURCE_INVOICE_SECTION_INACTIVE = "SourceInvoiceSectionInactive"
    """SourceInvoiceSectionInactive."""


class PaymentMethodFamily(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Payment on Account type."""

    OTHER = "Other"
    """Other."""
    NONE = "None"
    """None."""
    CREDIT_CARD = "CreditCard"
    """CreditCard."""
    CREDITS = "Credits"
    """Credits."""
    CHECK_WIRE = "CheckWire"
    """CheckWire."""
    E_WALLET = "EWallet"
    """EWallet."""
    TASK_ORDER = "TaskOrder"
    """TaskOrder."""
    DIRECT_DEBIT = "DirectDebit"
    """DirectDebit."""


class PaymentMethodStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Status of the payment method."""

    ACTIVE = "active"
    """active."""
    INACTIVE = "inactive"
    """inactive."""


class PaymentStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Describes whether the payment is completed, failed, pending, cancelled or scheduled in the
    future.
    """

    SUCCEEDED = "Succeeded"
    """Succeeded."""
    FAILED = "Failed"
    """Failed."""
    SCHEDULED = "Scheduled"
    """Scheduled."""
    CANCELLED = "Cancelled"
    """Cancelled."""
    COMPLETED = "Completed"
    """Completed."""
    PENDING = "Pending"
    """Pending."""


class PaymentTermsEligibilityCode(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Indicates the reason for the ineligibility of the payment terms."""

    OTHER = "Other"
    """Other."""
    OVERLAPPING_PAYMENT_TERMS = "OverlappingPaymentTerms"
    """OverlappingPaymentTerms."""
    INVALID_DATE_FORMAT = "InvalidDateFormat"
    """InvalidDateFormat."""
    INVALID_DATE_RANGE = "InvalidDateRange"
    """InvalidDateRange."""
    INACTIVE_BILLING_ACCOUNT = "InactiveBillingAccount"
    """InactiveBillingAccount."""
    INVALID_BILLING_ACCOUNT_TYPE = "InvalidBillingAccountType"
    """InvalidBillingAccountType."""
    NULL_OR_EMPTY_PAYMENT_TERMS = "NullOrEmptyPaymentTerms"
    """NullOrEmptyPaymentTerms."""
    BILLING_ACCOUNT_NOT_FOUND = "BillingAccountNotFound"
    """BillingAccountNotFound."""
    INELIGIBLE_BILLING_ACCOUNT_STATUS = "IneligibleBillingAccountStatus"
    """IneligibleBillingAccountStatus."""
    INVALID_TERMS = "InvalidTerms"
    """InvalidTerms."""


class PaymentTermsEligibilityStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Indicates the eligibility status of the payment terms."""

    OTHER = "Other"
    """Other."""
    VALID = "Valid"
    """Valid."""
    INVALID = "Invalid"
    """Invalid."""


class PolicyType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The type of the policy."""

    OTHER = "Other"
    """Other."""
    USER_CONTROLLED = "UserControlled"
    """UserControlled."""
    SYSTEM_CONTROLLED = "SystemControlled"
    """SystemControlled."""


class PrincipalType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The type of a role Assignment."""

    UNKNOWN = "Unknown"
    """Unknown."""
    NONE = "None"
    """None."""
    USER = "User"
    """User."""
    GROUP = "Group"
    """Group."""
    DIRECTORY_ROLE = "DirectoryRole"
    """DirectoryRole."""
    SERVICE_PRINCIPAL = "ServicePrincipal"
    """ServicePrincipal."""
    EVERYONE = "Everyone"
    """Everyone."""


class ProductStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The status of the product."""

    OTHER = "Other"
    """Other."""
    ACTIVE = "Active"
    """Active."""
    DISABLED = "Disabled"
    """Disabled."""
    DELETED = "Deleted"
    """Deleted."""
    PAST_DUE = "PastDue"
    """PastDue."""
    EXPIRING = "Expiring"
    """Expiring."""
    EXPIRED = "Expired"
    """Expired."""
    AUTO_RENEW = "AutoRenew"
    """AutoRenew."""
    CANCELED = "Canceled"
    """Canceled."""
    SUSPENDED = "Suspended"
    """Suspended."""


class ProductTransferStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The status of a transfer."""

    NOT_STARTED = "NotStarted"
    """NotStarted."""
    IN_PROGRESS = "InProgress"
    """InProgress."""
    COMPLETED = "Completed"
    """Completed."""
    FAILED = "Failed"
    """Failed."""


class ProductType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The type of product that is transferred."""

    AZURE_SUBSCRIPTION = "AzureSubscription"
    """AzureSubscription."""
    AZURE_RESERVATION = "AzureReservation"
    """AzureReservation."""
    DEPARTMENT = "Department"
    """Department."""
    SAVINGS_PLAN = "SavingsPlan"
    """SavingsPlan."""
    SAAS = "SAAS"
    """SAAS."""


class ProvisioningState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The provisioning state of the resource during a long-running operation."""

    SUCCEEDED = "Succeeded"
    """Succeeded."""
    CANCELED = "Canceled"
    """Canceled."""
    FAILED = "Failed"
    """Failed."""
    NEW = "New"
    """New."""
    PENDING = "Pending"
    """Pending."""
    PROVISIONING = "Provisioning"
    """Provisioning."""
    PENDING_BILLING = "PendingBilling"
    """PendingBilling."""
    CONFIRMED_BILLING = "ConfirmedBilling"
    """ConfirmedBilling."""
    CREATING = "Creating"
    """Creating."""
    CREATED = "Created"
    """Created."""
    EXPIRED = "Expired"
    """Expired."""


class ProvisioningTenantState(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The state determines whether subscriptions and licenses can be provisioned in the associated
    tenant. It can be set to 'Pending' to initiate a billing request.
    """

    OTHER = "Other"
    """Other."""
    NOT_REQUESTED = "NotRequested"
    """NotRequested."""
    ACTIVE = "Active"
    """Active."""
    PENDING = "Pending"
    """Pending."""
    BILLING_REQUEST_EXPIRED = "BillingRequestExpired"
    """BillingRequestExpired."""
    BILLING_REQUEST_DECLINED = "BillingRequestDeclined"
    """BillingRequestDeclined."""
    REVOKED = "Revoked"
    """Revoked."""


class RefundReasonCode(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The reason for refund."""

    OTHER = "Other"
    """Other."""
    ACCIDENTAL_CONVERSION = "AccidentalConversion"
    """AccidentalConversion."""
    UNCLEAR_PRICING = "UnclearPricing"
    """UnclearPricing."""
    ACCIDENTAL_PURCHASE = "AccidentalPurchase"
    """AccidentalPurchase."""
    FORGOT_TO_CANCEL = "ForgotToCancel"
    """ForgotToCancel."""
    UNCLEAR_DOCUMENTATION = "UnclearDocumentation"
    """UnclearDocumentation."""


class RefundStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The status of refund request."""

    OTHER = "Other"
    """Other."""
    PENDING = "Pending"
    """Pending."""
    APPROVED = "Approved"
    """Approved."""
    DECLINED = "Declined"
    """Declined."""
    CANCELLED = "Cancelled"
    """Cancelled."""
    COMPLETED = "Completed"
    """Completed."""
    EXPIRED = "Expired"
    """Expired."""


class ReservationBillingPlan(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Represent the billing plans."""

    UPFRONT = "Upfront"
    """Upfront."""
    MONTHLY = "Monthly"
    """Monthly."""


class ReservationPurchasesPolicy(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The policy that controls whether Azure reservation purchases are allowed."""

    OTHER = "Other"
    """Other."""
    ALLOWED = "Allowed"
    """Allowed."""
    DISABLED = "Disabled"
    """Disabled."""
    NOT_ALLOWED = "NotAllowed"
    """NotAllowed."""


class ReservationStatusCode(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The status of the reservation."""

    NONE = "None"
    """None."""
    PENDING = "Pending"
    """Pending."""
    PROCESSING = "Processing"
    """Processing."""
    ACTIVE = "Active"
    """Active."""
    PURCHASE_ERROR = "PurchaseError"
    """PurchaseError."""
    PAYMENT_INSTRUMENT_ERROR = "PaymentInstrumentError"
    """PaymentInstrumentError."""
    SPLIT = "Split"
    """Split."""
    MERGED = "Merged"
    """Merged."""
    EXPIRED = "Expired"
    """Expired."""
    SUCCEEDED = "Succeeded"
    """Succeeded."""
    CAPACITY_ERROR = "CapacityError"
    """CapacityError."""
    CAPACITY_RESTRICTED = "CapacityRestricted"
    """CapacityRestricted."""
    EXCHANGED = "Exchanged"
    """Exchanged."""
    UNKNOWN_ERROR = "UnknownError"
    """UnknownError."""
    RISK_CHECK_FAILED = "RiskCheckFailed"
    """RiskCheckFailed."""
    CREDIT_LINE_CHECK_FAILED = "CreditLineCheckFailed"
    """CreditLineCheckFailed."""
    WARNING = "Warning"
    """Warning."""
    NO_BENEFIT_DUE_TO_SUBSCRIPTION_TRANSFER = "NoBenefitDueToSubscriptionTransfer"
    """NoBenefitDueToSubscriptionTransfer."""
    NO_BENEFIT_DUE_TO_SUBSCRIPTION_DELETION = "NoBenefitDueToSubscriptionDeletion"
    """NoBenefitDueToSubscriptionDeletion."""
    NO_BENEFIT = "NoBenefit"
    """NoBenefit."""


class SavingsPlanPurchasesPolicy(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The policy that controls whether users with Azure savings plan purchase are allowed."""

    OTHER = "Other"
    """Other."""
    ALLOWED = "Allowed"
    """Allowed."""
    DISABLED = "Disabled"
    """Disabled."""
    NOT_ALLOWED = "NotAllowed"
    """NotAllowed."""


class SavingsPlanTerm(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Represents the Savings plan term in ISO 8601 format."""

    P1_Y = "P1Y"
    """P1Y."""
    P3_Y = "P3Y"
    """P3Y."""
    P5_Y = "P5Y"
    """P5Y."""


class ServiceDefinedResourceName(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Type of ServiceDefinedResourceName."""

    DEFAULT = "default"
    """default."""


class SpecialTaxationType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Identifies the type of tax calculation used for the invoice. The field is applicable only to
    invoices with special tax calculation logic.
    """

    SUBTOTAL_LEVEL = "SubtotalLevel"
    """SubtotalLevel."""
    INVOICE_LEVEL = "InvoiceLevel"
    """InvoiceLevel."""


class SpendingLimit(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The billing profile spending limit."""

    OFF = "Off"
    """Off."""
    ON = "On"
    """On."""


class SpendingLimitStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The status of current spending limit."""

    OTHER = "Other"
    """Other."""
    NONE = "None"
    """None."""
    ACTIVE = "Active"
    """Active."""
    EXPIRED = "Expired"
    """Expired."""
    LIMIT_REACHED = "LimitReached"
    """LimitReached."""
    LIMIT_REMOVED = "LimitRemoved"
    """LimitRemoved."""


class SpendingLimitType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The type of spending limit."""

    OTHER = "Other"
    """Other."""
    NONE = "None"
    """None."""
    FREE_ACCOUNT = "FreeAccount"
    """FreeAccount."""
    SANDBOX = "Sandbox"
    """Sandbox."""
    AZURE_FOR_STUDENTS = "AzureForStudents"
    """AzureForStudents."""
    ACADEMIC_SPONSORSHIP = "AcademicSponsorship"
    """AcademicSponsorship."""
    AZURE_CONSUMPTION_CREDIT = "AzureConsumptionCredit"
    """AzureConsumptionCredit."""
    AZURE_PASS_SPONSORSHIP = "AzurePassSponsorship"
    """AzurePassSponsorship."""
    MPN_SPONSORSHIP = "MpnSponsorship"
    """MpnSponsorship."""
    MSDN = "MSDN"
    """MSDN."""
    NON_PROFIT_SPONSORSHIP = "NonProfitSponsorship"
    """NonProfitSponsorship."""
    SPONSORSHIP = "Sponsorship"
    """Sponsorship."""
    STARTUP_SPONSORSHIP = "StartupSponsorship"
    """StartupSponsorship."""
    AZURE_FOR_STUDENTS_STARTER = "AzureForStudentsStarter"
    """AzureForStudentsStarter."""
    VISUAL_STUDIO = "VisualStudio"
    """VisualStudio."""


class SubscriptionBillingType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The type of billing subscription."""

    NONE = "None"
    """None."""
    BENEFIT = "Benefit"
    """Benefit."""
    FREE = "Free"
    """Free."""
    PAID = "Paid"
    """Paid."""
    PRE_PAID = "PrePaid"
    """PrePaid."""


class SubscriptionEnrollmentAccountStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The current enrollment account status of the subscription. This field is available only for the
    Enterprise Agreement Type.
    """

    ACTIVE = "Active"
    """Active."""
    CANCELLED = "Cancelled"
    """Cancelled."""
    EXPIRED = "Expired"
    """Expired."""
    DELETED = "Deleted"
    """Deleted."""
    TRANSFERRED_OUT = "TransferredOut"
    """TransferredOut."""
    TRANSFERRING = "Transferring"
    """Transferring."""
    INACTIVE = "Inactive"
    """Inactive."""


class SubscriptionStatusReason(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The suspension reason for a subscription. This field is not available for Enterprise Agreement
    billing accounts.
    """

    NONE = "None"
    """None."""
    CANCELLED = "Cancelled"
    """Cancelled."""
    PAST_DUE = "PastDue"
    """PastDue."""
    SUSPICIOUS_ACTIVITY = "SuspiciousActivity"
    """SuspiciousActivity."""
    OTHER = "Other"
    """Other."""
    TRANSFERRED = "Transferred"
    """Transferred."""
    POLICY_VIOLATION = "PolicyViolation"
    """PolicyViolation."""
    SPENDING_LIMIT_REACHED = "SpendingLimitReached"
    """SpendingLimitReached."""
    EXPIRED = "Expired"
    """Expired."""


class SubscriptionTransferValidationErrorCode(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Error code of the transfer validation response."""

    OTHER = "Other"
    """Other."""
    BILLING_ACCOUNT_INACTIVE = "BillingAccountInactive"
    """BillingAccountInactive."""
    DESTINATION_BILLING_PROFILE_INACTIVE = "DestinationBillingProfileInactive"
    """DestinationBillingProfileInactive."""
    DESTINATION_BILLING_PROFILE_NOT_FOUND = "DestinationBillingProfileNotFound"
    """DestinationBillingProfileNotFound."""
    DESTINATION_BILLING_PROFILE_PAST_DUE = "DestinationBillingProfilePastDue"
    """DestinationBillingProfilePastDue."""
    DESTINATION_INVOICE_SECTION_INACTIVE = "DestinationInvoiceSectionInactive"
    """DestinationInvoiceSectionInactive."""
    DESTINATION_INVOICE_SECTION_NOT_FOUND = "DestinationInvoiceSectionNotFound"
    """DestinationInvoiceSectionNotFound."""
    INSUFFICIENT_PERMISSION_ON_DESTINATION = "InsufficientPermissionOnDestination"
    """InsufficientPermissionOnDestination."""
    INSUFFICIENT_PERMISSION_ON_SOURCE = "InsufficientPermissionOnSource"
    """InsufficientPermissionOnSource."""
    INVALID_DESTINATION = "InvalidDestination"
    """InvalidDestination."""
    INVALID_SOURCE = "InvalidSource"
    """InvalidSource."""
    MARKETPLACE_NOT_ENABLED_ON_DESTINATION = "MarketplaceNotEnabledOnDestination"
    """MarketplaceNotEnabledOnDestination."""
    PRODUCT_INACTIVE = "ProductInactive"
    """ProductInactive."""
    PRODUCT_NOT_FOUND = "ProductNotFound"
    """ProductNotFound."""
    PRODUCT_TYPE_NOT_SUPPORTED = "ProductTypeNotSupported"
    """ProductTypeNotSupported."""
    SOURCE_BILLING_PROFILE_PAST_DUE = "SourceBillingProfilePastDue"
    """SourceBillingProfilePastDue."""
    SOURCE_INVOICE_SECTION_INACTIVE = "SourceInvoiceSectionInactive"
    """SourceInvoiceSectionInactive."""
    ACCOUNT_IS_LOCKED = "AccountIsLocked"
    """AccountIsLocked."""
    ASSET_HAS_CAP = "AssetHasCap"
    """AssetHasCap."""
    ASSET_NOT_ACTIVE = "AssetNotActive"
    """AssetNotActive."""
    BILLING_PROFILE_PAST_DUE = "BillingProfilePastDue"
    """BillingProfilePastDue."""
    CROSS_BILLING_ACCOUNT_NOT_ALLOWED = "CrossBillingAccountNotAllowed"
    """CrossBillingAccountNotAllowed."""
    NO_ACTIVE_AZURE_PLAN = "NoActiveAzurePlan"
    """NoActiveAzurePlan."""
    NONE = "None"
    """None."""
    SUBSCRIPTION_NOT_ACTIVE = "SubscriptionNotActive"
    """SubscriptionNotActive."""
    SUBSCRIPTION_HAS_RESERVATIONS = "SubscriptionHasReservations"
    """SubscriptionHasReservations."""
    SUBSCRIPTION_TYPE_NOT_SUPPORTED = "SubscriptionTypeNotSupported"
    """SubscriptionTypeNotSupported."""
    INVOICE_SECTION_IS_RESTRICTED = "InvoiceSectionIsRestricted"
    """InvoiceSectionIsRestricted."""


class SubscriptionWorkloadType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The Azure workload type of the subscription."""

    NONE = "None"
    """None."""
    PRODUCTION = "Production"
    """Production."""
    DEV_TEST = "DevTest"
    """DevTest."""
    INTERNAL = "Internal"
    """Internal."""


class SupportedAccountType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The supported account types."""

    NONE = "None"
    """None."""
    PARTNER = "Partner"
    """Partner."""
    INDIVIDUAL = "Individual"
    """Individual."""
    ENTERPRISE = "Enterprise"
    """Enterprise."""


class SupportLevel(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The support level offer associated with an enrollment."""

    OTHER = "Other"
    """Other."""
    STANDARD = "Standard"
    """Standard."""
    PRO_DIRECT = "Pro-Direct"
    """Pro-Direct."""
    DEVELOPER = "Developer"
    """Developer."""


class TaxIdentifierStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The status of the tax identifier."""

    OTHER = "Other"
    """Other."""
    VALID = "Valid"
    """Valid."""
    INVALID = "Invalid"
    """Invalid."""


class TaxIdentifierType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The type of the tax identifier."""

    OTHER = "Other"
    """Other."""
    BRAZIL_CCM_ID = "BrazilCcmId"
    """BrazilCcmId."""
    BRAZIL_CNPJ_ID = "BrazilCnpjId"
    """BrazilCnpjId."""
    BRAZIL_CPF_ID = "BrazilCpfId"
    """BrazilCpfId."""
    CANADIAN_FEDERAL_EXEMPT = "CanadianFederalExempt"
    """CanadianFederalExempt."""
    CANADIAN_PROVINCE_EXEMPT = "CanadianProvinceExempt"
    """CanadianProvinceExempt."""
    EXTERNAL_TAXATION = "ExternalTaxation"
    """ExternalTaxation."""
    INDIA_FEDERAL_TAN_ID = "IndiaFederalTanId"
    """IndiaFederalTanId."""
    INDIA_FEDERAL_SERVICE_TAX_ID = "IndiaFederalServiceTaxId"
    """IndiaFederalServiceTaxId."""
    INDIA_PAN_ID = "IndiaPanId"
    """IndiaPanId."""
    INDIA_STATE_CST_ID = "IndiaStateCstId"
    """IndiaStateCstId."""
    INDIA_STATE_GST_IN_ID = "IndiaStateGstINId"
    """IndiaStateGstINId."""
    INDIA_STATE_VAT_ID = "IndiaStateVatId"
    """IndiaStateVatId."""
    INTL_EXEMPT = "IntlExempt"
    """IntlExempt."""
    US_EXEMPT = "USExempt"
    """USExempt."""
    VAT_ID = "VatId"
    """VatId."""
    LOVE_CODE = "LoveCode"
    """LoveCode."""
    MOBILE_BAR_CODE = "MobileBarCode"
    """MobileBarCode."""
    NATIONAL_IDENTIFICATION_NUMBER = "NationalIdentificationNumber"
    """NationalIdentificationNumber."""
    PUBLIC_SECTOR_ID = "PublicSectorId"
    """PublicSectorId."""


class TransactionKind(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Type of the transaction, billed or unbilled."""

    OTHER = "Other"
    """Other."""
    ALL = "All"
    """All."""
    RESERVATION = "Reservation"
    """Reservation."""


class TransactionType(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """Type of TransactionType."""

    OTHER = "Other"
    """Other."""
    BILLED = "Billed"
    """Billed."""
    UNBILLED = "Unbilled"
    """Unbilled."""


class TransferStatus(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The status of a transfer."""

    EXPIRED = "Expired"
    """Expired."""
    PENDING = "Pending"
    """Pending."""
    IN_PROGRESS = "InProgress"
    """InProgress."""
    COMPLETED = "Completed"
    """Completed."""
    COMPLETED_WITH_ERRORS = "CompletedWithErrors"
    """CompletedWithErrors."""
    FAILED = "Failed"
    """Failed."""
    CANCELED = "Canceled"
    """Canceled."""
    DECLINED = "Declined"
    """Declined."""


class ViewChargesPolicy(str, Enum, metaclass=CaseInsensitiveEnumMeta):
    """The policy that controls whether the users in customer's organization can view charges at
    pay-as-you-go prices.
    """

    OTHER = "Other"
    """Other."""
    ALLOWED = "Allowed"
    """Allowed."""
    NOT_ALLOWED = "NotAllowed"
    """NotAllowed."""
