NetworkRuleBypassOptions Class

public final class NetworkRuleBypassOptions
extends ExpandableStringEnum<NetworkRuleBypassOptions>

Whether to allow trusted Azure services to access a network restricted registry.

Field Summary

Modifier and Type Field and Description
static final NetworkRuleBypassOptions AZURE_SERVICES

Static value AzureServices for NetworkRuleBypassOptions.

static final NetworkRuleBypassOptions NONE

Static value None for NetworkRuleBypassOptions.

Constructor Summary

Constructor Description
NetworkRuleBypassOptions()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of NetworkRuleBypassOptions value.

Method Summary

Modifier and Type Method and Description
static NetworkRuleBypassOptions fromString(String name)

Creates or finds a NetworkRuleBypassOptions from its string representation.

static Collection<NetworkRuleBypassOptions> values()

Gets known NetworkRuleBypassOptions values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AZURE_SERVICES

public static final NetworkRuleBypassOptions AZURE_SERVICES

Static value AzureServices for NetworkRuleBypassOptions.

NONE

public static final NetworkRuleBypassOptions NONE

Static value None for NetworkRuleBypassOptions.

Constructor Details

NetworkRuleBypassOptions

@Deprecated
public NetworkRuleBypassOptions()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of NetworkRuleBypassOptions value.

Method Details

fromString

public static NetworkRuleBypassOptions fromString(String name)

Creates or finds a NetworkRuleBypassOptions from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding NetworkRuleBypassOptions.

values

public static Collection values()

Gets known NetworkRuleBypassOptions values.

Returns:

known NetworkRuleBypassOptions values.

Applies to