EffectiveSecurityRuleProtocol Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. network. models. EffectiveSecurityRuleProtocol
- com.
- com.
public final class EffectiveSecurityRuleProtocol
extends ExpandableStringEnum<EffectiveSecurityRuleProtocol>
The network protocol this rule applies to.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Effective |
ALL
All. |
|
static final
Effective |
TCP
Tcp. |
|
static final
Effective |
UDP
Udp. |
Constructor Summary
| Constructor | Description |
|---|---|
| EffectiveSecurityRuleProtocol() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Effective |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Effective |
fromString(String name)
Creates or finds a Effective |
|
static
Collection<Effective |
values()
Gets known Effective |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ALL
public static final EffectiveSecurityRuleProtocol ALL
All.
TCP
public static final EffectiveSecurityRuleProtocol TCP
Tcp.
UDP
public static final EffectiveSecurityRuleProtocol UDP
Udp.
Constructor Details
EffectiveSecurityRuleProtocol
@Deprecated
public EffectiveSecurityRuleProtocol()
Deprecated
Creates a new instance of EffectiveSecurityRuleProtocol value.
Method Details
fromString
public static EffectiveSecurityRuleProtocol fromString(String name)
Creates or finds a EffectiveSecurityRuleProtocol from its string representation.
Parameters:
Returns:
values
public static Collection<EffectiveSecurityRuleProtocol> values()
Gets known EffectiveSecurityRuleProtocol values.
Returns: