// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.workloads.models;

import com.azure.core.util.ExpandableStringEnum;
import com.fasterxml.jackson.annotation.JsonCreator;
import java.util.Collection;

/** The type of file share config. */
public final class ConfigurationType extends ExpandableStringEnum<ConfigurationType> {
    /** Static value Skip for ConfigurationType. */
    public static final ConfigurationType SKIP = fromString("Skip");

    /** Static value CreateAndMount for ConfigurationType. */
    public static final ConfigurationType CREATE_AND_MOUNT = fromString("CreateAndMount");

    /** Static value Mount for ConfigurationType. */
    public static final ConfigurationType MOUNT = fromString("Mount");

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

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

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