AzureFirewallNetworkRule Class

  • java.lang.Object
    • com.microsoft.azure.management.network.AzureFirewallNetworkRule

public class AzureFirewallNetworkRule

Properties of the network rule.

Constructor Summary

Constructor Description
AzureFirewallNetworkRule()

Method Summary

Modifier and Type Method and Description
java.lang.String description()

Get description of the rule.

java.util.List<java.lang.String> destinationAddresses()

Get list of destination IP addresses.

java.util.List<java.lang.String> destinationFqdns()

Get list of destination FQDNs.

java.util.List<java.lang.String> destinationIpGroups()

Get list of destination IpGroups for this rule.

java.util.List<java.lang.String> destinationPorts()

Get list of destination ports.

java.lang.String name()

Get name of the network rule.

java.util.List<AzureFirewallNetworkRuleProtocol> protocols()

Get array of AzureFirewallNetworkRuleProtocols.

java.util.List<java.lang.String> sourceAddresses()

Get list of source IP addresses for this rule.

java.util.List<java.lang.String> sourceIpGroups()

Get list of source IpGroups for this rule.

AzureFirewallNetworkRule withDescription(String description)

Set description of the rule.

AzureFirewallNetworkRule withDestinationAddresses(List<String> destinationAddresses)

Set list of destination IP addresses.

AzureFirewallNetworkRule withDestinationFqdns(List<String> destinationFqdns)

Set list of destination FQDNs.

AzureFirewallNetworkRule withDestinationIpGroups(List<String> destinationIpGroups)

Set list of destination IpGroups for this rule.

AzureFirewallNetworkRule withDestinationPorts(List<String> destinationPorts)

Set list of destination ports.

AzureFirewallNetworkRule withName(String name)

Set name of the network rule.

AzureFirewallNetworkRule withProtocols(List<AzureFirewallNetworkRuleProtocol> protocols)

Set array of AzureFirewallNetworkRuleProtocols.

AzureFirewallNetworkRule withSourceAddresses(List<String> sourceAddresses)

Set list of source IP addresses for this rule.

AzureFirewallNetworkRule withSourceIpGroups(List<String> sourceIpGroups)

Set list of source IpGroups for this rule.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

AzureFirewallNetworkRule

public AzureFirewallNetworkRule()

Method Details

description

public String description()

Get description of the rule.

Returns:

the description value

destinationAddresses

public List destinationAddresses()

Get list of destination IP addresses.

Returns:

the destinationAddresses value

destinationFqdns

public List destinationFqdns()

Get list of destination FQDNs.

Returns:

the destinationFqdns value

destinationIpGroups

public List destinationIpGroups()

Get list of destination IpGroups for this rule.

Returns:

the destinationIpGroups value

destinationPorts

public List destinationPorts()

Get list of destination ports.

Returns:

the destinationPorts value

name

public String name()

Get name of the network rule.

Returns:

the name value

protocols

public List protocols()

Get array of AzureFirewallNetworkRuleProtocols.

Returns:

the protocols value

sourceAddresses

public List sourceAddresses()

Get list of source IP addresses for this rule.

Returns:

the sourceAddresses value

sourceIpGroups

public List sourceIpGroups()

Get list of source IpGroups for this rule.

Returns:

the sourceIpGroups value

withDescription

public AzureFirewallNetworkRule withDescription(String description)

Set description of the rule.

Parameters:

description - the description value to set

Returns:

the AzureFirewallNetworkRule object itself.

withDestinationAddresses

public AzureFirewallNetworkRule withDestinationAddresses(List destinationAddresses)

Set list of destination IP addresses.

Parameters:

destinationAddresses - the destinationAddresses value to set

Returns:

the AzureFirewallNetworkRule object itself.

withDestinationFqdns

public AzureFirewallNetworkRule withDestinationFqdns(List destinationFqdns)

Set list of destination FQDNs.

Parameters:

destinationFqdns - the destinationFqdns value to set

Returns:

the AzureFirewallNetworkRule object itself.

withDestinationIpGroups

public AzureFirewallNetworkRule withDestinationIpGroups(List destinationIpGroups)

Set list of destination IpGroups for this rule.

Parameters:

destinationIpGroups - the destinationIpGroups value to set

Returns:

the AzureFirewallNetworkRule object itself.

withDestinationPorts

public AzureFirewallNetworkRule withDestinationPorts(List destinationPorts)

Set list of destination ports.

Parameters:

destinationPorts - the destinationPorts value to set

Returns:

the AzureFirewallNetworkRule object itself.

withName

public AzureFirewallNetworkRule withName(String name)

Set name of the network rule.

Parameters:

name - the name value to set

Returns:

the AzureFirewallNetworkRule object itself.

withProtocols

public AzureFirewallNetworkRule withProtocols(List protocols)

Set array of AzureFirewallNetworkRuleProtocols.

Parameters:

protocols - the protocols value to set

Returns:

the AzureFirewallNetworkRule object itself.

withSourceAddresses

public AzureFirewallNetworkRule withSourceAddresses(List sourceAddresses)

Set list of source IP addresses for this rule.

Parameters:

sourceAddresses - the sourceAddresses value to set

Returns:

the AzureFirewallNetworkRule object itself.

withSourceIpGroups

public AzureFirewallNetworkRule withSourceIpGroups(List sourceIpGroups)

Set list of source IpGroups for this rule.

Parameters:

sourceIpGroups - the sourceIpGroups value to set

Returns:

the AzureFirewallNetworkRule object itself.

Applies to