SecurityRuleDirection Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. network. models. SecurityRuleDirection
- com.
- com.
public final class SecurityRuleDirection
extends ExpandableStringEnum<SecurityRuleDirection>
The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Security |
INBOUND
Static value Inbound for Security |
static final
Security |
OUTBOUND
Static value Outbound for Security |
Constructor Summary
Constructor | Description |
---|---|
SecurityRuleDirection() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Security |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Security |
fromString(String name)
Creates or finds a Security |
static
Collection<Security |
values()
Gets known Security |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
INBOUND
public static final SecurityRuleDirection INBOUND
Static value Inbound for SecurityRuleDirection.
OUTBOUND
public static final SecurityRuleDirection OUTBOUND
Static value Outbound for SecurityRuleDirection.
Constructor Details
SecurityRuleDirection
@Deprecated
public SecurityRuleDirection()
Deprecated
Creates a new instance of SecurityRuleDirection value.
Method Details
fromString
public static SecurityRuleDirection fromString(String name)
Creates or finds a SecurityRuleDirection from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known SecurityRuleDirection values.
Returns:
Applies to
Azure SDK for Java