PublicNetworkAccess Class

public final class PublicNetworkAccess
extends ExpandableStringEnum<PublicNetworkAccess>

Allow, disallow, or let Network Security Perimeter configuration to evaluate public network access to Storage Account. Value is optional but if passed in, must be 'Enabled', 'Disabled' or 'SecuredByPerimeter'.

Field Summary

Modifier and Type Field and Description
static final PublicNetworkAccess DISABLED

Static value Disabled for PublicNetworkAccess.

static final PublicNetworkAccess ENABLED

Static value Enabled for PublicNetworkAccess.

static final PublicNetworkAccess SECURED_BY_PERIMETER

Static value SecuredByPerimeter for PublicNetworkAccess.

Constructor Summary

Constructor Description
PublicNetworkAccess()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PublicNetworkAccess value.

Method Summary

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

Creates or finds a PublicNetworkAccess from its string representation.

static Collection<PublicNetworkAccess> values()

Gets known PublicNetworkAccess values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISABLED

public static final PublicNetworkAccess DISABLED

Static value Disabled for PublicNetworkAccess.

ENABLED

public static final PublicNetworkAccess ENABLED

Static value Enabled for PublicNetworkAccess.

SECURED_BY_PERIMETER

public static final PublicNetworkAccess SECURED_BY_PERIMETER

Static value SecuredByPerimeter for PublicNetworkAccess.

Constructor Details

PublicNetworkAccess

@Deprecated
public PublicNetworkAccess()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of PublicNetworkAccess value.

Method Details

fromString

public static PublicNetworkAccess fromString(String name)

Creates or finds a PublicNetworkAccess from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding PublicNetworkAccess.

values

public static Collection values()

Gets known PublicNetworkAccess values.

Returns:

known PublicNetworkAccess values.

Applies to