All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.billing.models.BillingManagementTenantState Maven / Gradle / Ivy

// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.billing.models;

import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;

/**
 * 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.
 */
public final class BillingManagementTenantState extends ExpandableStringEnum {
    /**
     * Static value Other for BillingManagementTenantState.
     */
    public static final BillingManagementTenantState OTHER = fromString("Other");

    /**
     * Static value NotAllowed for BillingManagementTenantState.
     */
    public static final BillingManagementTenantState NOT_ALLOWED = fromString("NotAllowed");

    /**
     * Static value Active for BillingManagementTenantState.
     */
    public static final BillingManagementTenantState ACTIVE = fromString("Active");

    /**
     * Static value Revoked for BillingManagementTenantState.
     */
    public static final BillingManagementTenantState REVOKED = fromString("Revoked");

    /**
     * Creates a new instance of BillingManagementTenantState value.
     * 
     * @deprecated Use the {@link #fromString(String)} factory method.
     */
    @Deprecated
    public BillingManagementTenantState() {
    }

    /**
     * Creates or finds a BillingManagementTenantState from its string representation.
     * 
     * @param name a name to look for.
     * @return the corresponding BillingManagementTenantState.
     */
    public static BillingManagementTenantState fromString(String name) {
        return fromString(name, BillingManagementTenantState.class);
    }

    /**
     * Gets known BillingManagementTenantState values.
     * 
     * @return known BillingManagementTenantState values.
     */
    public static Collection values() {
        return values(BillingManagementTenantState.class);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy