![JAR search and dependency download from the Maven repository](/logo.png)
com.azure.resourcemanager.keyvault.models.NetworkRuleBypassOptions 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.keyvault.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Tells what traffic can bypass network rules. This can be 'AzureServices' or 'None'. If not specified the default is
* 'AzureServices'.
*/
public final class NetworkRuleBypassOptions extends ExpandableStringEnum {
/**
* Static value AzureServices for NetworkRuleBypassOptions.
*/
public static final NetworkRuleBypassOptions AZURE_SERVICES = fromString("AzureServices");
/**
* Static value None for NetworkRuleBypassOptions.
*/
public static final NetworkRuleBypassOptions NONE = fromString("None");
/**
* Creates a new instance of NetworkRuleBypassOptions value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public NetworkRuleBypassOptions() {
}
/**
* Creates or finds a NetworkRuleBypassOptions from its string representation.
*
* @param name a name to look for.
* @return the corresponding NetworkRuleBypassOptions.
*/
public static NetworkRuleBypassOptions fromString(String name) {
return fromString(name, NetworkRuleBypassOptions.class);
}
/**
* Gets known NetworkRuleBypassOptions values.
*
* @return known NetworkRuleBypassOptions values.
*/
public static Collection values() {
return values(NetworkRuleBypassOptions.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy