azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.n...

318 строки
24 KiB
YAML

### 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:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **AzureFirewallNatRule**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.network.models.AzureFirewallNatRule?alt=com.azure.resourcemanager.network.models.AzureFirewallNatRule&text=AzureFirewallNatRule\" data-throw-if-not-resolved=\"False\" />&gt;"
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 Azure<wbr>Firewall<wbr>Nat<wbr>Rule 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.destinationAddresses()"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.destinationAddresses()"
name: "destinationAddresses()"
nameWithType: "AzureFirewallNatRule.destinationAddresses()"
summary: "Get the destination<wbr>Addresses property: List of destination IP addresses for this rule."
syntax: "public List<String> 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.destinationPorts()"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.destinationPorts()"
name: "destinationPorts()"
nameWithType: "AzureFirewallNatRule.destinationPorts()"
summary: "Get the destination<wbr>Ports property: List of destination ports."
syntax: "public List<String> destinationPorts()"
desc: "Get the destinationPorts property: List of destination ports."
returns:
description: "the destinationPorts value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- 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 Azure<wbr>Firewall<wbr>Nat<wbr>Rule from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static AzureFirewallNatRule fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the AzureFirewallNatRule."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
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: "<xref href=\"com.azure.resourcemanager.network.models.AzureFirewallNatRule?alt=com.azure.resourcemanager.network.models.AzureFirewallNatRule&text=AzureFirewallNatRule\" data-throw-if-not-resolved=\"False\" />"
- 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- 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 Azure<wbr>Firewall<wbr>Network<wbr>Rule<wbr>Protocols applicable to this NAT rule."
syntax: "public List<AzureFirewallNetworkRuleProtocol> protocols()"
desc: "Get the protocols property: Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule."
returns:
description: "the protocols value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.network.models.AzureFirewallNetworkRuleProtocol?alt=com.azure.resourcemanager.network.models.AzureFirewallNetworkRuleProtocol&text=AzureFirewallNetworkRuleProtocol\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.sourceAddresses()"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.sourceAddresses()"
name: "sourceAddresses()"
nameWithType: "AzureFirewallNatRule.sourceAddresses()"
summary: "Get the source<wbr>Addresses property: List of source IP addresses for this rule."
syntax: "public List<String> sourceAddresses()"
desc: "Get the sourceAddresses property: List of source IP addresses for this rule."
returns:
description: "the sourceAddresses value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.sourceIpGroups()"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.sourceIpGroups()"
name: "sourceIpGroups()"
nameWithType: "AzureFirewallNatRule.sourceIpGroups()"
summary: "Get the source<wbr>IpGroups property: List of source Ip<wbr>Groups for this rule."
syntax: "public List<String> sourceIpGroups()"
desc: "Get the sourceIpGroups property: List of source IpGroups for this rule."
returns:
description: "the sourceIpGroups value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- 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: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.translatedAddress()"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.translatedAddress()"
name: "translatedAddress()"
nameWithType: "AzureFirewallNatRule.translatedAddress()"
summary: "Get the translated<wbr>Address 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.translatedFqdn()"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.translatedFqdn()"
name: "translatedFqdn()"
nameWithType: "AzureFirewallNatRule.translatedFqdn()"
summary: "Get the translated<wbr>Fqdn 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.translatedPort()"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.translatedPort()"
name: "translatedPort()"
nameWithType: "AzureFirewallNatRule.translatedPort()"
summary: "Get the translated<wbr>Port 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public AzureFirewallNatRule withDescription(String description)"
desc: "Set the description property: Description of the rule."
returns:
description: "the AzureFirewallNatRule object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.AzureFirewallNatRule?alt=com.azure.resourcemanager.network.models.AzureFirewallNatRule&text=AzureFirewallNatRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.withDestinationAddresses(java.util.List<java.lang.String>)"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.withDestinationAddresses(List<String> destinationAddresses)"
name: "withDestinationAddresses(List<String> destinationAddresses)"
nameWithType: "AzureFirewallNatRule.withDestinationAddresses(List<String> destinationAddresses)"
summary: "Set the destination<wbr>Addresses property: List of destination IP addresses for this rule."
parameters:
- description: "the destinationAddresses value to set."
name: "destinationAddresses"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
syntax: "public AzureFirewallNatRule withDestinationAddresses(List<String> 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: "<xref href=\"com.azure.resourcemanager.network.models.AzureFirewallNatRule?alt=com.azure.resourcemanager.network.models.AzureFirewallNatRule&text=AzureFirewallNatRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.withDestinationPorts(java.util.List<java.lang.String>)"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.withDestinationPorts(List<String> destinationPorts)"
name: "withDestinationPorts(List<String> destinationPorts)"
nameWithType: "AzureFirewallNatRule.withDestinationPorts(List<String> destinationPorts)"
summary: "Set the destination<wbr>Ports property: List of destination ports."
parameters:
- description: "the destinationPorts value to set."
name: "destinationPorts"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
syntax: "public AzureFirewallNatRule withDestinationPorts(List<String> destinationPorts)"
desc: "Set the destinationPorts property: List of destination ports."
returns:
description: "the AzureFirewallNatRule object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.AzureFirewallNatRule?alt=com.azure.resourcemanager.network.models.AzureFirewallNatRule&text=AzureFirewallNatRule\" data-throw-if-not-resolved=\"False\" />"
- 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: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public AzureFirewallNatRule withName(String name)"
desc: "Set the name property: Name of the NAT rule."
returns:
description: "the AzureFirewallNatRule object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.AzureFirewallNatRule?alt=com.azure.resourcemanager.network.models.AzureFirewallNatRule&text=AzureFirewallNatRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.withProtocols(java.util.List<com.azure.resourcemanager.network.models.AzureFirewallNetworkRuleProtocol>)"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.withProtocols(List<AzureFirewallNetworkRuleProtocol> protocols)"
name: "withProtocols(List<AzureFirewallNetworkRuleProtocol> protocols)"
nameWithType: "AzureFirewallNatRule.withProtocols(List<AzureFirewallNetworkRuleProtocol> protocols)"
summary: "Set the protocols property: Array of Azure<wbr>Firewall<wbr>Network<wbr>Rule<wbr>Protocols applicable to this NAT rule."
parameters:
- description: "the protocols value to set."
name: "protocols"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.network.models.AzureFirewallNetworkRuleProtocol?alt=com.azure.resourcemanager.network.models.AzureFirewallNetworkRuleProtocol&text=AzureFirewallNetworkRuleProtocol\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public AzureFirewallNatRule withProtocols(List<AzureFirewallNetworkRuleProtocol> protocols)"
desc: "Set the protocols property: Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule."
returns:
description: "the AzureFirewallNatRule object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.AzureFirewallNatRule?alt=com.azure.resourcemanager.network.models.AzureFirewallNatRule&text=AzureFirewallNatRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.withSourceAddresses(java.util.List<java.lang.String>)"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.withSourceAddresses(List<String> sourceAddresses)"
name: "withSourceAddresses(List<String> sourceAddresses)"
nameWithType: "AzureFirewallNatRule.withSourceAddresses(List<String> sourceAddresses)"
summary: "Set the source<wbr>Addresses property: List of source IP addresses for this rule."
parameters:
- description: "the sourceAddresses value to set."
name: "sourceAddresses"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
syntax: "public AzureFirewallNatRule withSourceAddresses(List<String> sourceAddresses)"
desc: "Set the sourceAddresses property: List of source IP addresses for this rule."
returns:
description: "the AzureFirewallNatRule object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.AzureFirewallNatRule?alt=com.azure.resourcemanager.network.models.AzureFirewallNatRule&text=AzureFirewallNatRule\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.withSourceIpGroups(java.util.List<java.lang.String>)"
fullName: "com.azure.resourcemanager.network.models.AzureFirewallNatRule.withSourceIpGroups(List<String> sourceIpGroups)"
name: "withSourceIpGroups(List<String> sourceIpGroups)"
nameWithType: "AzureFirewallNatRule.withSourceIpGroups(List<String> sourceIpGroups)"
summary: "Set the source<wbr>IpGroups property: List of source Ip<wbr>Groups for this rule."
parameters:
- description: "the sourceIpGroups value to set."
name: "sourceIpGroups"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
syntax: "public AzureFirewallNatRule withSourceIpGroups(List<String> sourceIpGroups)"
desc: "Set the sourceIpGroups property: List of source IpGroups for this rule."
returns:
description: "the AzureFirewallNatRule object itself."
type: "<xref href=\"com.azure.resourcemanager.network.models.AzureFirewallNatRule?alt=com.azure.resourcemanager.network.models.AzureFirewallNatRule&text=AzureFirewallNatRule\" data-throw-if-not-resolved=\"False\" />"
- 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 translated<wbr>Address property: The translated address for this NAT rule."
parameters:
- description: "the translatedAddress value to set."
name: "translatedAddress"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
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: "<xref href=\"com.azure.resourcemanager.network.models.AzureFirewallNatRule?alt=com.azure.resourcemanager.network.models.AzureFirewallNatRule&text=AzureFirewallNatRule\" data-throw-if-not-resolved=\"False\" />"
- 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 translated<wbr>Fqdn property: The translated FQDN for this NAT rule."
parameters:
- description: "the translatedFqdn value to set."
name: "translatedFqdn"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
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: "<xref href=\"com.azure.resourcemanager.network.models.AzureFirewallNatRule?alt=com.azure.resourcemanager.network.models.AzureFirewallNatRule&text=AzureFirewallNatRule\" data-throw-if-not-resolved=\"False\" />"
- 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 translated<wbr>Port property: The translated port for this NAT rule."
parameters:
- description: "the translatedPort value to set."
name: "translatedPort"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
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: "<xref href=\"com.azure.resourcemanager.network.models.AzureFirewallNatRule?alt=com.azure.resourcemanager.network.models.AzureFirewallNatRule&text=AzureFirewallNatRule\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Properties of a NAT rule."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.network.models.AzureFirewallNatRule?alt=com.azure.resourcemanager.network.models.AzureFirewallNatRule&text=AzureFirewallNatRule\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.network.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-network:2.42.0