PublicNetworkAccess Class

public final class PublicNetworkAccess
extends ExpandableStringEnum<PublicNetworkAccess>

This value can be set to 'Enabled' to avoid breaking changes on existing customer resources and templates. If set to 'Disabled', traffic over public interface is not allowed, and private endpoint connections would be the exclusive access method.

Field Summary

Modifier and Type Field and Description
static final PublicNetworkAccess DISABLED

The search service is not accessible from traffic originating from the public internet.

static final PublicNetworkAccess ENABLED

The search service is accessible from traffic originating from the public internet.

static final PublicNetworkAccess SECURED_BY_PERIMETER

The network security perimeter configuration rules allow or disallow public network access to the resource.

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

The search service is not accessible from traffic originating from the public internet. Access is only permitted over approved private endpoint connections.

ENABLED

public static final PublicNetworkAccess ENABLED

The search service is accessible from traffic originating from the public internet.

SECURED_BY_PERIMETER

public static final PublicNetworkAccess SECURED_BY_PERIMETER

The network security perimeter configuration rules allow or disallow public network access to the resource. Requires an associated network security perimeter.

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<PublicNetworkAccess> values()

Gets known PublicNetworkAccess values.

Returns:

known PublicNetworkAccess values.

Applies to