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

com.azure.resourcemanager.servicelinker.models.AuthMode Maven / Gradle / Ivy

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

package com.azure.resourcemanager.servicelinker.models;

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

/**
 * Indicates how to apply the authentication configuration operations.
 */
public final class AuthMode extends ExpandableStringEnum {
    /**
     * Static value optInAllAuth for AuthMode.
     */
    public static final AuthMode OPT_IN_ALL_AUTH = fromString("optInAllAuth");

    /**
     * Static value optOutAllAuth for AuthMode.
     */
    public static final AuthMode OPT_OUT_ALL_AUTH = fromString("optOutAllAuth");

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy