Class AzureFirewallNatRule
java.lang.Object
com.microsoft.azure.management.network.AzureFirewallNatRule
Properties of a NAT rule.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGet description of the rule.Get list of destination IP addresses for this rule.Get list of destination ports.name()Get name of the NAT rule.Get array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule.Get list of source IP addresses for this rule.Get list of source IpGroups for this rule.Get the translated address for this NAT rule.Get the translated FQDN for this NAT rule.Get the translated port for this NAT rule.withDescription(String description) Set description of the rule.withDestinationAddresses(List<String> destinationAddresses) Set list of destination IP addresses for this rule.withDestinationPorts(List<String> destinationPorts) Set list of destination ports.Set name of the NAT rule.withProtocols(List<AzureFirewallNetworkRuleProtocol> protocols) Set array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule.withSourceAddresses(List<String> sourceAddresses) Set list of source IP addresses for this rule.withSourceIpGroups(List<String> sourceIpGroups) Set list of source IpGroups for this rule.withTranslatedAddress(String translatedAddress) Set the translated address for this NAT rule.withTranslatedFqdn(String translatedFqdn) Set the translated FQDN for this NAT rule.withTranslatedPort(String translatedPort) Set the translated port for this NAT rule.
- 
Constructor Details- 
AzureFirewallNatRulepublic AzureFirewallNatRule()
 
- 
- 
Method Details- 
nameGet name of the NAT rule.- Returns:
- the name value
 
- 
withNameSet name of the NAT rule.- Parameters:
- name- the name value to set
- Returns:
- the AzureFirewallNatRule object itself.
 
- 
descriptionGet description of the rule.- Returns:
- the description value
 
- 
withDescriptionSet description of the rule.- Parameters:
- description- the description value to set
- Returns:
- the AzureFirewallNatRule object itself.
 
- 
sourceAddressesGet list of source IP addresses for this rule.- Returns:
- the sourceAddresses value
 
- 
withSourceAddressesSet list of source IP addresses for this rule.- Parameters:
- sourceAddresses- the sourceAddresses value to set
- Returns:
- the AzureFirewallNatRule object itself.
 
- 
destinationAddressesGet list of destination IP addresses for this rule. Supports IP ranges, prefixes, and service tags.- Returns:
- the destinationAddresses value
 
- 
withDestinationAddressesSet list of destination IP addresses for this rule. Supports IP ranges, prefixes, and service tags.- Parameters:
- destinationAddresses- the destinationAddresses value to set
- Returns:
- the AzureFirewallNatRule object itself.
 
- 
destinationPortsGet list of destination ports.- Returns:
- the destinationPorts value
 
- 
withDestinationPortsSet list of destination ports.- Parameters:
- destinationPorts- the destinationPorts value to set
- Returns:
- the AzureFirewallNatRule object itself.
 
- 
protocolsGet array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule.- Returns:
- the protocols value
 
- 
withProtocolsSet array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule.- Parameters:
- protocols- the protocols value to set
- Returns:
- the AzureFirewallNatRule object itself.
 
- 
translatedAddressGet the translated address for this NAT rule.- Returns:
- the translatedAddress value
 
- 
withTranslatedAddressSet the translated address for this NAT rule.- Parameters:
- translatedAddress- the translatedAddress value to set
- Returns:
- the AzureFirewallNatRule object itself.
 
- 
translatedPortGet the translated port for this NAT rule.- Returns:
- the translatedPort value
 
- 
withTranslatedPortSet the translated port for this NAT rule.- Parameters:
- translatedPort- the translatedPort value to set
- Returns:
- the AzureFirewallNatRule object itself.
 
- 
translatedFqdnGet the translated FQDN for this NAT rule.- Returns:
- the translatedFqdn value
 
- 
withTranslatedFqdnSet the translated FQDN for this NAT rule.- Parameters:
- translatedFqdn- the translatedFqdn value to set
- Returns:
- the AzureFirewallNatRule object itself.
 
- 
sourceIpGroupsGet list of source IpGroups for this rule.- Returns:
- the sourceIpGroups value
 
- 
withSourceIpGroupsSet list of source IpGroups for this rule.- Parameters:
- sourceIpGroups- the sourceIpGroups value to set
- Returns:
- the AzureFirewallNatRule object itself.
 
 
-