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

com.azure.resourcemanager.elasticsan.models.AutoScalePolicyEnforcement Maven / Gradle / Ivy

Go to download

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

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

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

/**
 * Enable or Disable scale up setting on Elastic San Appliance.
 */
public final class AutoScalePolicyEnforcement extends ExpandableStringEnum {
    /**
     * Static value None for AutoScalePolicyEnforcement.
     */
    public static final AutoScalePolicyEnforcement NONE = fromString("None");

    /**
     * Static value Enabled for AutoScalePolicyEnforcement.
     */
    public static final AutoScalePolicyEnforcement ENABLED = fromString("Enabled");

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

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

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

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy