### YamlMime:JavaType
uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule"
name: "AzureFirewallNatRule"
nameWithType: "AzureFirewallNatRule"
summary: "Properties of a NAT rule."
inheritances:
- ""
inheritedClassMethods:
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "equals"
- "finalize"
- "getClass"
- "hashCode"
- "notify"
- "notifyAll"
- "toString"
- "wait"
- "wait"
- "wait"
syntax: "public final class **AzureFirewallNatRule** implements <>"
constructors:
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.AzureFirewallNatRule()"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.AzureFirewallNatRule()"
name: "AzureFirewallNatRule()"
nameWithType: "AzureFirewallNatRule.AzureFirewallNatRule()"
summary: "Creates an instance of AzureFirewallNatRule class."
syntax: "public AzureFirewallNatRule()"
desc: "Creates an instance of AzureFirewallNatRule class."
methods:
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.description()"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.description()"
name: "description()"
nameWithType: "AzureFirewallNatRule.description()"
summary: "Get the description property: Description of the rule."
syntax: "public String description()"
desc: "Get the description property: Description of the rule."
returns:
description: "the description value."
type: "String"
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.destinationAddresses()"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.destinationAddresses()"
name: "destinationAddresses()"
nameWithType: "AzureFirewallNatRule.destinationAddresses()"
summary: "Get the destinationAddresses property: List of destination IP addresses for this rule."
syntax: "public List destinationAddresses()"
desc: "Get the destinationAddresses property: List of destination IP addresses for this rule. Supports IP ranges, prefixes, and service tags."
returns:
description: "the destinationAddresses value."
type: "List<String>"
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.destinationPorts()"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.destinationPorts()"
name: "destinationPorts()"
nameWithType: "AzureFirewallNatRule.destinationPorts()"
summary: "Get the destinationPorts property: List of destination ports."
syntax: "public List destinationPorts()"
desc: "Get the destinationPorts property: List of destination ports."
returns:
description: "the destinationPorts value."
type: "List<String>"
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "AzureFirewallNatRule.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of AzureFirewallNatRule from the JsonReader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: ""
syntax: "public static AzureFirewallNatRule fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the AzureFirewallNatRule."
type: "IOException"
desc: "Reads an instance of AzureFirewallNatRule from the JsonReader."
returns:
description: "An instance of AzureFirewallNatRule if the JsonReader was pointing to an instance of it, or null if it\n was pointing to JSON null."
type: ""
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.name()"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.name()"
name: "name()"
nameWithType: "AzureFirewallNatRule.name()"
summary: "Get the name property: Name of the NAT rule."
syntax: "public String name()"
desc: "Get the name property: Name of the NAT rule."
returns:
description: "the name value."
type: "String"
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.protocols()"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.protocols()"
name: "protocols()"
nameWithType: "AzureFirewallNatRule.protocols()"
summary: "Get the protocols property: Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule."
syntax: "public List protocols()"
desc: "Get the protocols property: Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule."
returns:
description: "the protocols value."
type: "List<>"
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.sourceAddresses()"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.sourceAddresses()"
name: "sourceAddresses()"
nameWithType: "AzureFirewallNatRule.sourceAddresses()"
summary: "Get the sourceAddresses property: List of source IP addresses for this rule."
syntax: "public List sourceAddresses()"
desc: "Get the sourceAddresses property: List of source IP addresses for this rule."
returns:
description: "the sourceAddresses value."
type: "List<String>"
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.sourceIpGroups()"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.sourceIpGroups()"
name: "sourceIpGroups()"
nameWithType: "AzureFirewallNatRule.sourceIpGroups()"
summary: "Get the sourceIpGroups property: List of source IpGroups for this rule."
syntax: "public List sourceIpGroups()"
desc: "Get the sourceIpGroups property: List of source IpGroups for this rule."
returns:
description: "the sourceIpGroups value."
type: "List<String>"
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "AzureFirewallNatRule.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: ""
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "IOException"
returns:
type: ""
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.translatedAddress()"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.translatedAddress()"
name: "translatedAddress()"
nameWithType: "AzureFirewallNatRule.translatedAddress()"
summary: "Get the translatedAddress property: The translated address for this NAT rule."
syntax: "public String translatedAddress()"
desc: "Get the translatedAddress property: The translated address for this NAT rule."
returns:
description: "the translatedAddress value."
type: "String"
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.translatedFqdn()"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.translatedFqdn()"
name: "translatedFqdn()"
nameWithType: "AzureFirewallNatRule.translatedFqdn()"
summary: "Get the translatedFqdn property: The translated FQDN for this NAT rule."
syntax: "public String translatedFqdn()"
desc: "Get the translatedFqdn property: The translated FQDN for this NAT rule."
returns:
description: "the translatedFqdn value."
type: "String"
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.translatedPort()"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.translatedPort()"
name: "translatedPort()"
nameWithType: "AzureFirewallNatRule.translatedPort()"
summary: "Get the translatedPort property: The translated port for this NAT rule."
syntax: "public String translatedPort()"
desc: "Get the translatedPort property: The translated port for this NAT rule."
returns:
description: "the translatedPort value."
type: "String"
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.validate()"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.validate()"
name: "validate()"
nameWithType: "AzureFirewallNatRule.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.withDescription(java.lang.String)"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.withDescription(String description)"
name: "withDescription(String description)"
nameWithType: "AzureFirewallNatRule.withDescription(String description)"
summary: "Set the description property: Description of the rule."
parameters:
- description: "the description value to set."
name: "description"
type: "String"
syntax: "public AzureFirewallNatRule withDescription(String description)"
desc: "Set the description property: Description of the rule."
returns:
description: "the AzureFirewallNatRule object itself."
type: ""
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.withDestinationAddresses(java.util.List)"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.withDestinationAddresses(List destinationAddresses)"
name: "withDestinationAddresses(List destinationAddresses)"
nameWithType: "AzureFirewallNatRule.withDestinationAddresses(List destinationAddresses)"
summary: "Set the destinationAddresses property: List of destination IP addresses for this rule."
parameters:
- description: "the destinationAddresses value to set."
name: "destinationAddresses"
type: "List<String>"
syntax: "public AzureFirewallNatRule withDestinationAddresses(List destinationAddresses)"
desc: "Set the destinationAddresses property: List of destination IP addresses for this rule. Supports IP ranges, prefixes, and service tags."
returns:
description: "the AzureFirewallNatRule object itself."
type: ""
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.withDestinationPorts(java.util.List)"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.withDestinationPorts(List destinationPorts)"
name: "withDestinationPorts(List destinationPorts)"
nameWithType: "AzureFirewallNatRule.withDestinationPorts(List destinationPorts)"
summary: "Set the destinationPorts property: List of destination ports."
parameters:
- description: "the destinationPorts value to set."
name: "destinationPorts"
type: "List<String>"
syntax: "public AzureFirewallNatRule withDestinationPorts(List destinationPorts)"
desc: "Set the destinationPorts property: List of destination ports."
returns:
description: "the AzureFirewallNatRule object itself."
type: ""
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.withName(java.lang.String)"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.withName(String name)"
name: "withName(String name)"
nameWithType: "AzureFirewallNatRule.withName(String name)"
summary: "Set the name property: Name of the NAT rule."
parameters:
- description: "the name value to set."
name: "name"
type: "String"
syntax: "public AzureFirewallNatRule withName(String name)"
desc: "Set the name property: Name of the NAT rule."
returns:
description: "the AzureFirewallNatRule object itself."
type: ""
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.withProtocols(java.util.List)"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.withProtocols(List protocols)"
name: "withProtocols(List protocols)"
nameWithType: "AzureFirewallNatRule.withProtocols(List protocols)"
summary: "Set the protocols property: Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule."
parameters:
- description: "the protocols value to set."
name: "protocols"
type: "List<>"
syntax: "public AzureFirewallNatRule withProtocols(List protocols)"
desc: "Set the protocols property: Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule."
returns:
description: "the AzureFirewallNatRule object itself."
type: ""
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.withSourceAddresses(java.util.List)"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.withSourceAddresses(List sourceAddresses)"
name: "withSourceAddresses(List sourceAddresses)"
nameWithType: "AzureFirewallNatRule.withSourceAddresses(List sourceAddresses)"
summary: "Set the sourceAddresses property: List of source IP addresses for this rule."
parameters:
- description: "the sourceAddresses value to set."
name: "sourceAddresses"
type: "List<String>"
syntax: "public AzureFirewallNatRule withSourceAddresses(List sourceAddresses)"
desc: "Set the sourceAddresses property: List of source IP addresses for this rule."
returns:
description: "the AzureFirewallNatRule object itself."
type: ""
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.withSourceIpGroups(java.util.List)"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.withSourceIpGroups(List sourceIpGroups)"
name: "withSourceIpGroups(List sourceIpGroups)"
nameWithType: "AzureFirewallNatRule.withSourceIpGroups(List sourceIpGroups)"
summary: "Set the sourceIpGroups property: List of source IpGroups for this rule."
parameters:
- description: "the sourceIpGroups value to set."
name: "sourceIpGroups"
type: "List<String>"
syntax: "public AzureFirewallNatRule withSourceIpGroups(List sourceIpGroups)"
desc: "Set the sourceIpGroups property: List of source IpGroups for this rule."
returns:
description: "the AzureFirewallNatRule object itself."
type: ""
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.withTranslatedAddress(java.lang.String)"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.withTranslatedAddress(String translatedAddress)"
name: "withTranslatedAddress(String translatedAddress)"
nameWithType: "AzureFirewallNatRule.withTranslatedAddress(String translatedAddress)"
summary: "Set the translatedAddress property: The translated address for this NAT rule."
parameters:
- description: "the translatedAddress value to set."
name: "translatedAddress"
type: "String"
syntax: "public AzureFirewallNatRule withTranslatedAddress(String translatedAddress)"
desc: "Set the translatedAddress property: The translated address for this NAT rule."
returns:
description: "the AzureFirewallNatRule object itself."
type: ""
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.withTranslatedFqdn(java.lang.String)"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.withTranslatedFqdn(String translatedFqdn)"
name: "withTranslatedFqdn(String translatedFqdn)"
nameWithType: "AzureFirewallNatRule.withTranslatedFqdn(String translatedFqdn)"
summary: "Set the translatedFqdn property: The translated FQDN for this NAT rule."
parameters:
- description: "the translatedFqdn value to set."
name: "translatedFqdn"
type: "String"
syntax: "public AzureFirewallNatRule withTranslatedFqdn(String translatedFqdn)"
desc: "Set the translatedFqdn property: The translated FQDN for this NAT rule."
returns:
description: "the AzureFirewallNatRule object itself."
type: ""
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.withTranslatedPort(java.lang.String)"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.withTranslatedPort(String translatedPort)"
name: "withTranslatedPort(String translatedPort)"
nameWithType: "AzureFirewallNatRule.withTranslatedPort(String translatedPort)"
summary: "Set the translatedPort property: The translated port for this NAT rule."
parameters:
- description: "the translatedPort value to set."
name: "translatedPort"
type: "String"
syntax: "public AzureFirewallNatRule withTranslatedPort(String translatedPort)"
desc: "Set the translatedPort property: The translated port for this NAT rule."
returns:
description: "the AzureFirewallNatRule object itself."
type: ""
type: "class"
desc: "Properties of a NAT rule."
implements:
- "<>"
metadata: {}
package: "com.azure.resourcemanager.network.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-network:2.44.0