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

com.azure.resourcemanager.avs.models.PlacementPolicyState Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure SDK for Avs Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Azure VMware Solution API. Package tag package-2023-09-01.

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.avs.models;

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

/**
 * Placement Policy state.
 */
public final class PlacementPolicyState extends ExpandableStringEnum {
    /**
     * Static value Enabled for PlacementPolicyState.
     */
    public static final PlacementPolicyState ENABLED = fromString("Enabled");

    /**
     * Static value Disabled for PlacementPolicyState.
     */
    public static final PlacementPolicyState DISABLED = fromString("Disabled");

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy