AzureFirewallNetworkRuleProtocol Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. network. models. AzureFirewallNetworkRuleProtocol
- com.
- com.
public final class AzureFirewallNetworkRuleProtocol
extends ExpandableStringEnum<AzureFirewallNetworkRuleProtocol>
The protocol of a Network Rule resource.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Azure |
ANY
Any. |
|
static final
Azure |
ICMP
ICMP. |
|
static final
Azure |
TCP
TCP. |
|
static final
Azure |
UDP
UDP. |
Constructor Summary
| Constructor | Description |
|---|---|
| AzureFirewallNetworkRuleProtocol() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Azure |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Azure |
fromString(String name)
Creates or finds a Azure |
|
static
Collection<Azure |
values()
Gets known Azure |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
ANY
public static final AzureFirewallNetworkRuleProtocol ANY
Any.
ICMP
public static final AzureFirewallNetworkRuleProtocol ICMP
ICMP.
TCP
public static final AzureFirewallNetworkRuleProtocol TCP
TCP.
UDP
public static final AzureFirewallNetworkRuleProtocol UDP
UDP.
Constructor Details
AzureFirewallNetworkRuleProtocol
@Deprecated
public AzureFirewallNetworkRuleProtocol()
Deprecated
Creates a new instance of AzureFirewallNetworkRuleProtocol value.
Method Details
fromString
public static AzureFirewallNetworkRuleProtocol fromString(String name)
Creates or finds a AzureFirewallNetworkRuleProtocol from its string representation.
Parameters:
Returns:
values
public static Collection<AzureFirewallNetworkRuleProtocol> values()
Gets known AzureFirewallNetworkRuleProtocol values.
Returns: