InboundSecurityRulesProtocol Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. network. models. InboundSecurityRulesProtocol
- com.
- com.
public final class InboundSecurityRulesProtocol
extends ExpandableStringEnum<InboundSecurityRulesProtocol>
Protocol. This should be either TCP or UDP.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Inbound |
TCP
TCP. |
|
static final
Inbound |
UDP
UDP. |
Constructor Summary
| Constructor | Description |
|---|---|
| InboundSecurityRulesProtocol() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Inbound |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Inbound |
fromString(String name)
Creates or finds a Inbound |
|
static
Collection<Inbound |
values()
Gets known Inbound |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
TCP
public static final InboundSecurityRulesProtocol TCP
TCP.
UDP
public static final InboundSecurityRulesProtocol UDP
UDP.
Constructor Details
InboundSecurityRulesProtocol
@Deprecated
public InboundSecurityRulesProtocol()
Deprecated
Creates a new instance of InboundSecurityRulesProtocol value.
Method Details
fromString
public static InboundSecurityRulesProtocol fromString(String name)
Creates or finds a InboundSecurityRulesProtocol from its string representation.
Parameters:
Returns:
values
public static Collection<InboundSecurityRulesProtocol> values()
Gets known InboundSecurityRulesProtocol values.
Returns: