// 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 com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/** VM Group status. */
public final class VMGroupStatusEnum extends ExpandableStringEnum<VMGroupStatusEnum> {
    /** Static value SUCCESS for VMGroupStatusEnum. */
    public static final VMGroupStatusEnum SUCCESS = fromString("SUCCESS");

    /** Static value FAILURE for VMGroupStatusEnum. */
    public static final VMGroupStatusEnum FAILURE = fromString("FAILURE");

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

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

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