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

com.azure.resourcemanager.hybridcompute.models.LicenseStatus 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-07.

There is a newer version: 1.1.0-beta.1
Show 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 com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/**
 * The license status.
 */
public final class LicenseStatus extends ExpandableStringEnum {
    /**
     * Static value Unlicensed for LicenseStatus.
     */
    public static final LicenseStatus UNLICENSED = fromString("Unlicensed");

    /**
     * Static value Licensed for LicenseStatus.
     */
    public static final LicenseStatus LICENSED = fromString("Licensed");

    /**
     * Static value OOBGrace for LicenseStatus.
     */
    public static final LicenseStatus OOBGRACE = fromString("OOBGrace");

    /**
     * Static value OOTGrace for LicenseStatus.
     */
    public static final LicenseStatus OOTGRACE = fromString("OOTGrace");

    /**
     * Static value NonGenuineGrace for LicenseStatus.
     */
    public static final LicenseStatus NON_GENUINE_GRACE = fromString("NonGenuineGrace");

    /**
     * Static value Notification for LicenseStatus.
     */
    public static final LicenseStatus NOTIFICATION = fromString("Notification");

    /**
     * Static value ExtendedGrace for LicenseStatus.
     */
    public static final LicenseStatus EXTENDED_GRACE = fromString("ExtendedGrace");

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy