PublicNetworkAccess Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. eventhubs. models. PublicNetworkAccess
- com.
- com.
public final class PublicNetworkAccess
extends ExpandableStringEnum<PublicNetworkAccess>
This determines if traffic is allowed over public network. By default it is enabled.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Public |
DISABLED
Static value Disabled for Public |
static final
Public |
ENABLED
Static value Enabled for Public |
static final
Public |
SECURED_BY_PERIMETER
Static value Secured |
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
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
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
Gets known PublicNetworkAccess values.
Returns:
Applies to
Azure SDK for Java