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
Static value TCP for Inbound |
static final
Inbound |
UDP
Static value UDP for Inbound |
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
Static value TCP for InboundSecurityRulesProtocol.
UDP
public static final InboundSecurityRulesProtocol UDP
Static value UDP for InboundSecurityRulesProtocol.
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
Gets known InboundSecurityRulesProtocol values.
Returns:
Applies to
Azure SDK for Java