AzureFirewallNatRule Class
- java.
lang. Object - com.
microsoft. azure. management. network. AzureFirewallNatRule
- com.
public class AzureFirewallNatRule
Properties of a NAT rule.
Constructor Summary
Constructor | Description | |
---|---|---|
AzureFirewallNatRule() |
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 for this rule. |
java.util.List<java.lang.String> |
destinationPorts()
Get list of destination ports. |
java.lang.String |
name()
Get name of the NAT 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 |
java.lang.String |
translatedAddress()
Get the translated address for this NAT rule. |
java.lang.String |
translatedFqdn()
Get the translated FQDN for this NAT rule. |
java.lang.String |
translatedPort()
Get the translated port for this NAT rule. |
Azure |
withDescription(String description)
Set description of the rule. |
Azure |
withDestinationAddresses(List<String> destinationAddresses)
Set list of destination IP addresses for this rule. |
Azure |
withDestinationPorts(List<String> destinationPorts)
Set list of destination ports. |
Azure |
withName(String name)
Set name of the NAT 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 |
Azure |
withTranslatedAddress(String translatedAddress)
Set the translated address for this NAT rule. |
Azure |
withTranslatedFqdn(String translatedFqdn)
Set the translated FQDN for this NAT rule. |
Azure |
withTranslatedPort(String translatedPort)
Set the translated port for this NAT rule. |
Methods inherited from java.lang.Object
Constructor Details
AzureFirewallNatRule
public AzureFirewallNatRule()
Method Details
description
public String description()
Get description of the rule.
Returns:
destinationAddresses
public List
Get list of destination IP addresses for this rule. Supports IP ranges, prefixes, and service tags.
Returns:
destinationPorts
public List
Get list of destination ports.
Returns:
name
public String name()
Get name of the NAT rule.
Returns:
protocols
public List
Get array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule.
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:
translatedAddress
public String translatedAddress()
Get the translated address for this NAT rule.
Returns:
translatedFqdn
public String translatedFqdn()
Get the translated FQDN for this NAT rule.
Returns:
translatedPort
public String translatedPort()
Get the translated port for this NAT rule.
Returns:
withDescription
public AzureFirewallNatRule withDescription(String description)
Set description of the rule.
Parameters:
Returns:
withDestinationAddresses
public AzureFirewallNatRule withDestinationAddresses(List
Set list of destination IP addresses for this rule. Supports IP ranges, prefixes, and service tags.
Parameters:
Returns:
withDestinationPorts
public AzureFirewallNatRule withDestinationPorts(List
Set list of destination ports.
Parameters:
Returns:
withName
public AzureFirewallNatRule withName(String name)
Set name of the NAT rule.
Parameters:
Returns:
withProtocols
public AzureFirewallNatRule withProtocols(List
Set array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule.
Parameters:
Returns:
withSourceAddresses
public AzureFirewallNatRule withSourceAddresses(List
Set list of source IP addresses for this rule.
Parameters:
Returns:
withSourceIpGroups
public AzureFirewallNatRule withSourceIpGroups(List
Set list of source IpGroups for this rule.
Parameters:
Returns:
withTranslatedAddress
public AzureFirewallNatRule withTranslatedAddress(String translatedAddress)
Set the translated address for this NAT rule.
Parameters:
Returns:
withTranslatedFqdn
public AzureFirewallNatRule withTranslatedFqdn(String translatedFqdn)
Set the translated FQDN for this NAT rule.
Parameters:
Returns:
withTranslatedPort
public AzureFirewallNatRule withTranslatedPort(String translatedPort)
Set the translated port for this NAT rule.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor