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

com.azure.resourcemanager.hybridcompute.models.LicenseState Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for HybridCompute Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. The Hybrid Compute Management Client. Package tag package-preview-2024-05.

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

package com.azure.resourcemanager.hybridcompute.models;

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

/**
 * Describes the state of the license.
 */
public final class LicenseState extends ExpandableStringEnum {
    /**
     * Static value Activated for LicenseState.
     */
    public static final LicenseState ACTIVATED = fromString("Activated");

    /**
     * Static value Deactivated for LicenseState.
     */
    public static final LicenseState DEACTIVATED = fromString("Deactivated");

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy