PublicNetworkAccess Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. search. models. PublicNetworkAccess
- com.
- com.
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
Public |
DISABLED
The search service is not accessible from traffic originating from the public internet. |
|
static final
Public |
ENABLED
The search service is accessible from traffic originating from the public internet. |
|
static final
Public |
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 Public |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Public |
fromString(String name)
Creates or finds a Public |
|
static
Collection<Public |
values()
Gets known Public |
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
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:
Returns:
values
public static Collection<PublicNetworkAccess> values()
Gets known PublicNetworkAccess values.
Returns: