AzureFirewallNetworkRule Class
- java.
lang. Object - com.
microsoft. azure. management. network. AzureFirewallNetworkRule
- com.
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 Ip |
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<Azure |
protocols()
Get array of Azure |
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 Ip |
Azure |
withDescription(String description)
Set description of the rule. |
Azure |
withDestinationAddresses(List<String> destinationAddresses)
Set list of destination IP addresses. |
Azure |
withDestinationFqdns(List<String> destinationFqdns)
Set list of destination FQDNs. |
Azure |
withDestinationIpGroups(List<String> destinationIpGroups)
Set list of destination Ip |
Azure |
withDestinationPorts(List<String> destinationPorts)
Set list of destination ports. |
Azure |
withName(String name)
Set name of the network rule. |
Azure |
withProtocols(List<AzureFirewallNetworkRuleProtocol> protocols)
Set array of Azure |
Azure |
withSourceAddresses(List<String> sourceAddresses)
Set list of source IP addresses for this rule. |
Azure |
withSourceIpGroups(List<String> sourceIpGroups)
Set list of source Ip |
Methods inherited from java.lang.Object
Constructor Details
AzureFirewallNetworkRule
public AzureFirewallNetworkRule()
Method Details
description
public String description()
Get description of the rule.
Returns:
destinationAddresses
public List
Get list of destination IP addresses.
Returns:
destinationFqdns
public List
Get list of destination FQDNs.
Returns:
destinationIpGroups
public List
Get list of destination IpGroups for this rule.
Returns:
destinationPorts
public List
Get list of destination ports.
Returns:
name
public String name()
Get name of the network rule.
Returns:
protocols
public List
Get array of AzureFirewallNetworkRuleProtocols.
Returns:
sourceAddresses
public List
Get list of source IP addresses for this rule.
Returns:
sourceIpGroups
public List
Get list of source IpGroups for this rule.
Returns:
withDescription
public AzureFirewallNetworkRule withDescription(String description)
Set description of the rule.
Parameters:
Returns:
withDestinationAddresses
public AzureFirewallNetworkRule withDestinationAddresses(List
Set list of destination IP addresses.
Parameters:
Returns:
withDestinationFqdns
public AzureFirewallNetworkRule withDestinationFqdns(List
Set list of destination FQDNs.
Parameters:
Returns:
withDestinationIpGroups
public AzureFirewallNetworkRule withDestinationIpGroups(List
Set list of destination IpGroups for this rule.
Parameters:
Returns:
withDestinationPorts
public AzureFirewallNetworkRule withDestinationPorts(List
Set list of destination ports.
Parameters:
Returns:
withName
public AzureFirewallNetworkRule withName(String name)
Set name of the network rule.
Parameters:
Returns:
withProtocols
public AzureFirewallNetworkRule withProtocols(List
Set array of AzureFirewallNetworkRuleProtocols.
Parameters:
Returns:
withSourceAddresses
public AzureFirewallNetworkRule withSourceAddresses(List
Set list of source IP addresses for this rule.
Parameters:
Returns:
withSourceIpGroups
public AzureFirewallNetworkRule withSourceIpGroups(List
Set list of source IpGroups for this rule.
Parameters:
Returns:
Applies to
Azure SDK for Java