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

package com.azure.resourcemanager.network.models;

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

/** Configuration Deployment Type. */
public final class ConfigurationType extends ExpandableStringEnum<ConfigurationType> {
    /** Static value SecurityAdmin for ConfigurationType. */
    public static final ConfigurationType SECURITY_ADMIN = fromString("SecurityAdmin");

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

    /**
     * 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);
    }
}
