AzureFirewallNetworkRuleProtocol Class

public final class AzureFirewallNetworkRuleProtocol
extends ExpandableStringEnum<AzureFirewallNetworkRuleProtocol>

The protocol of a Network Rule resource.

Field Summary

Modifier and Type Field and Description
static final AzureFirewallNetworkRuleProtocol ANY

Any.

static final AzureFirewallNetworkRuleProtocol ICMP

ICMP.

static final AzureFirewallNetworkRuleProtocol TCP

TCP.

static final AzureFirewallNetworkRuleProtocol UDP

UDP.

Constructor Summary

Constructor Description
AzureFirewallNetworkRuleProtocol()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of AzureFirewallNetworkRuleProtocol value.

Method Summary

Modifier and Type Method and Description
static AzureFirewallNetworkRuleProtocol fromString(String name)

Creates or finds a AzureFirewallNetworkRuleProtocol from its string representation.

static Collection<AzureFirewallNetworkRuleProtocol> values()

Gets known AzureFirewallNetworkRuleProtocol values.

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

Use the fromString(String name) factory method.

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:

name - a name to look for.

Returns:

the corresponding AzureFirewallNetworkRuleProtocol.

values

public static Collection<AzureFirewallNetworkRuleProtocol> values()

Gets known AzureFirewallNetworkRuleProtocol values.

Returns:

known AzureFirewallNetworkRuleProtocol values.

Applies to