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

com.azure.resourcemanager.storage.models.Bypass Maven / Gradle / Ivy

There is a newer version: 2.44.0
Show 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.storage.models;

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

/**
 * Specifies whether traffic is bypassed for Logging/Metrics/AzureServices. Possible values are any combination of
 * Logging|Metrics|AzureServices (For example, "Logging, Metrics"), or None to bypass none of those traffics.
 */
public final class Bypass extends ExpandableStringEnum {
    /**
     * Static value None for Bypass.
     */
    public static final Bypass NONE = fromString("None");

    /**
     * Static value Logging for Bypass.
     */
    public static final Bypass LOGGING = fromString("Logging");

    /**
     * Static value Metrics for Bypass.
     */
    public static final Bypass METRICS = fromString("Metrics");

    /**
     * Static value AzureServices for Bypass.
     */
    public static final Bypass AZURE_SERVICES = fromString("AzureServices");

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy