NetworkAction Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. iotcentral. models. NetworkAction
- com.
- com.
public final class NetworkAction
extends ExpandableStringEnum<NetworkAction>
Whether to allow or deny network traffic.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Network |
ALLOW
Static value Allow for Network |
|
static final
Network |
DENY
Static value Deny for Network |
Constructor Summary
| Constructor | Description |
|---|---|
| NetworkAction() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Network |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Network |
fromString(String name)
Creates or finds a Network |
|
static
Collection<Network |
values()
Gets known Network |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ALLOW
public static final NetworkAction ALLOW
Static value Allow for NetworkAction.
DENY
public static final NetworkAction DENY
Static value Deny for NetworkAction.
Constructor Details
NetworkAction
@Deprecated
public NetworkAction()
Deprecated
Creates a new instance of NetworkAction value.
Method Details
fromString
public static NetworkAction fromString(String name)
Creates or finds a NetworkAction from its string representation.
Parameters:
Returns:
values
public static Collection<NetworkAction> values()
Gets known NetworkAction values.
Returns: