SecurityRuleProtocol Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. network. models. SecurityRuleProtocol
- com.
- com.
public final class SecurityRuleProtocol
extends ExpandableStringEnum<SecurityRuleProtocol>
Network protocol this rule applies to.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Security |
AH
Static value Ah for Security |
static final
Security |
ASTERISK
Static value * for Security |
static final
Security |
ESP
Static value Esp for Security |
static final
Security |
ICMP
Static value Icmp for Security |
static final
Security |
TCP
Static value Tcp for Security |
static final
Security |
UDP
Static value Udp for Security |
Constructor Summary
Constructor | Description |
---|---|
SecurityRuleProtocol() |
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
AH
public static final SecurityRuleProtocol AH
Static value Ah for SecurityRuleProtocol.
ASTERISK
public static final SecurityRuleProtocol ASTERISK
Static value * for SecurityRuleProtocol.
ESP
public static final SecurityRuleProtocol ESP
Static value Esp for SecurityRuleProtocol.
ICMP
public static final SecurityRuleProtocol ICMP
Static value Icmp for SecurityRuleProtocol.
TCP
public static final SecurityRuleProtocol TCP
Static value Tcp for SecurityRuleProtocol.
UDP
public static final SecurityRuleProtocol UDP
Static value Udp for SecurityRuleProtocol.
Constructor Details
SecurityRuleProtocol
@Deprecated
public SecurityRuleProtocol()
Deprecated
Creates a new instance of SecurityRuleProtocol value.
Method Details
fromString
public static SecurityRuleProtocol fromString(String name)
Creates or finds a SecurityRuleProtocol from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known SecurityRuleProtocol values.
Returns:
Applies to
Azure SDK for Java