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

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

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 license assignment state (Assigned or NotAssigned).
 */
public final class LicenseAssignmentState extends ExpandableStringEnum {
    /**
     * Static value Assigned for LicenseAssignmentState.
     */
    public static final LicenseAssignmentState ASSIGNED = fromString("Assigned");

    /**
     * Static value NotAssigned for LicenseAssignmentState.
     */
    public static final LicenseAssignmentState NOT_ASSIGNED = fromString("NotAssigned");

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy