AzureFirewallApplicationRule Class

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

public class AzureFirewallApplicationRule

Properties of an application rule.

Constructor Summary

Constructor Description
AzureFirewallApplicationRule()

Method Summary

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

Get description of the rule.

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

Get list of FQDN Tags for this rule.

java.lang.String name()

Get name of the application rule.

java.util.List<AzureFirewallApplicationRuleProtocol> protocols()

Get array of ApplicationRuleProtocols.

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.

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

Get list of FQDNs for this rule.

AzureFirewallApplicationRule withDescription(String description)

Set description of the rule.

AzureFirewallApplicationRule withFqdnTags(List<String> fqdnTags)

Set list of FQDN Tags for this rule.

AzureFirewallApplicationRule withName(String name)

Set name of the application rule.

AzureFirewallApplicationRule withProtocols(List<AzureFirewallApplicationRuleProtocol> protocols)

Set array of ApplicationRuleProtocols.

AzureFirewallApplicationRule withSourceAddresses(List<String> sourceAddresses)

Set list of source IP addresses for this rule.

AzureFirewallApplicationRule withSourceIpGroups(List<String> sourceIpGroups)

Set list of source IpGroups for this rule.

AzureFirewallApplicationRule withTargetFqdns(List<String> targetFqdns)

Set list of FQDNs 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

AzureFirewallApplicationRule

public AzureFirewallApplicationRule()

Method Details

description

public String description()

Get description of the rule.

Returns:

the description value

fqdnTags

public List fqdnTags()

Get list of FQDN Tags for this rule.

Returns:

the fqdnTags value

name

public String name()

Get name of the application rule.

Returns:

the name value

protocols

public List protocols()

Get array of ApplicationRuleProtocols.

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

targetFqdns

public List targetFqdns()

Get list of FQDNs for this rule.

Returns:

the targetFqdns value

withDescription

public AzureFirewallApplicationRule withDescription(String description)

Set description of the rule.

Parameters:

description - the description value to set

Returns:

the AzureFirewallApplicationRule object itself.

withFqdnTags

public AzureFirewallApplicationRule withFqdnTags(List fqdnTags)

Set list of FQDN Tags for this rule.

Parameters:

fqdnTags - the fqdnTags value to set

Returns:

the AzureFirewallApplicationRule object itself.

withName

public AzureFirewallApplicationRule withName(String name)

Set name of the application rule.

Parameters:

name - the name value to set

Returns:

the AzureFirewallApplicationRule object itself.

withProtocols

public AzureFirewallApplicationRule withProtocols(List protocols)

Set array of ApplicationRuleProtocols.

Parameters:

protocols - the protocols value to set

Returns:

the AzureFirewallApplicationRule object itself.

withSourceAddresses

public AzureFirewallApplicationRule withSourceAddresses(List sourceAddresses)

Set list of source IP addresses for this rule.

Parameters:

sourceAddresses - the sourceAddresses value to set

Returns:

the AzureFirewallApplicationRule object itself.

withSourceIpGroups

public AzureFirewallApplicationRule withSourceIpGroups(List sourceIpGroups)

Set list of source IpGroups for this rule.

Parameters:

sourceIpGroups - the sourceIpGroups value to set

Returns:

the AzureFirewallApplicationRule object itself.

withTargetFqdns

public AzureFirewallApplicationRule withTargetFqdns(List targetFqdns)

Set list of FQDNs for this rule.

Parameters:

targetFqdns - the targetFqdns value to set

Returns:

the AzureFirewallApplicationRule object itself.

Applies to