@@ -17,9 +17,9 @@ Creates a Firewall NAT Rule.
17
17
New-AzureRmFirewallNatRule -Name <String> [-Description <String>]
18
18
-SourceAddress <System.Collections.Generic.List`1[System.String]>
19
19
-DestinationAddress <System.Collections.Generic.List`1[System.String]>
20
- -DestinationPort <String> -Protocol < System.Collections.Generic.List`1[System.String]>
21
- -TranslatedAddress < String> -TranslatedPort <String>
22
- [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
20
+ -DestinationPort <System.Collections.Generic.List`1[System.String]>
21
+ -Protocol <System.Collections.Generic.List`1[System. String] > -TranslatedAddress <String>
22
+ -TranslatedPort <String> [-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
23
23
```
24
24
25
25
## DESCRIPTION
@@ -40,7 +40,7 @@ This example creates a rule which will DNAT all traffic originating in 10.0.0.0/
40
40
The credentials, account, tenant, and subscription used for communication with azure.
41
41
42
42
``` yaml
43
- Type : IAzureContextContainer
43
+ Type : Microsoft.Azure.Commands.Common.Authentication.Abstractions. IAzureContextContainer
44
44
Parameter Sets : (All)
45
45
Aliases : AzureRmContext, AzureCredential
46
46
@@ -55,7 +55,7 @@ Accept wildcard characters: False
55
55
Specifies an optional description of this rule.
56
56
57
57
` ` ` yaml
58
- Type : String
58
+ Type : System. String
59
59
Parameter Sets : (All)
60
60
Aliases :
61
61
@@ -66,11 +66,11 @@ Accept pipeline input: False
66
66
Accept wildcard characters : False
67
67
` ` `
68
68
69
- ### -Name
70
- Specifies the name of this NAT rule. The name must be unique inside a rule collection .
69
+ ### -DestinationAddress
70
+ The destination addresses of the rule.
71
71
72
72
` ` ` yaml
73
- Type : String
73
+ Type : System.Collections.Generic.List`1[System. String]
74
74
Parameter Sets : (All)
75
75
Aliases :
76
76
@@ -81,13 +81,24 @@ Accept pipeline input: False
81
81
Accept wildcard characters : False
82
82
` ` `
83
83
84
- ### -Protocol
85
- Specifies the type of traffic to be filtered by this rule.
86
- The supported protocols are TCP and UDP.
87
- A special value "Any" is allowed, meaning it will match both TCP and UDP, but no other protocols.
84
+ ### -DestinationPort
85
+ The destination ports of the rule` ` ` yaml
86
+ Type : System.Collections.Generic.List`1[System.String]
87
+ Parameter Sets : (All)
88
+ Aliases :
89
+
90
+ Required : True
91
+ Position : Named
92
+ Default value : None
93
+ Accept pipeline input : False
94
+ Accept wildcard characters : False
95
+ ` ` `
96
+
97
+ ### -Name
98
+ Specifies the name of this NAT rule. The name must be unique inside a rule collection.
88
99
89
100
` ` ` yaml
90
- Type : System.Collections.Generic.List`1[System. String]
101
+ Type : System.String
91
102
Parameter Sets : (All)
92
103
Aliases :
93
104
@@ -98,13 +109,16 @@ Accept pipeline input: False
98
109
Accept wildcard characters : False
99
110
` ` `
100
111
101
- ### -SourceAddress
102
- The source addresses of the rule
112
+ ### -Protocol
113
+ Specifies the type of traffic to be filtered by this rule.
114
+ The supported protocols are TCP and UDP.
115
+ A special value "Any" is allowed, meaning it will match both TCP and UDP, but no other protocols.
103
116
104
117
` ` ` yaml
105
118
Type : System.Collections.Generic.List`1[System.String]
106
119
Parameter Sets : (All)
107
120
Aliases :
121
+ Accepted values : Any, TCP, UDP
108
122
109
123
Required : True
110
124
Position : Named
@@ -113,8 +127,8 @@ Accept pipeline input: False
113
127
Accept wildcard characters : False
114
128
` ` `
115
129
116
- ### -DestinationAddress
117
- The destination addresses of the rule.
130
+ ### -SourceAddress
131
+ The source addresses of the rule
118
132
119
133
` ` ` yaml
120
134
Type : System.Collections.Generic.List`1[System.String]
@@ -132,7 +146,7 @@ Accept wildcard characters: False
132
146
Specifies the desired result of the address translation
133
147
134
148
` ` ` yaml
135
- Type : String
149
+ Type : System. String
136
150
Parameter Sets : (All)
137
151
Aliases :
138
152
@@ -147,7 +161,7 @@ Accept wildcard characters: False
147
161
Specifies the desired result of the port translation
148
162
149
163
` ` ` yaml
150
- Type : String
164
+ Type : System. String
151
165
Parameter Sets : (All)
152
166
Aliases :
153
167
@@ -162,7 +176,7 @@ Accept wildcard characters: False
162
176
Prompts you for confirmation before running the cmdlet.
163
177
164
178
` ` ` yaml
165
- Type : SwitchParameter
179
+ Type : System.Management.Automation. SwitchParameter
166
180
Parameter Sets : (All)
167
181
Aliases : cf
168
182
@@ -178,7 +192,7 @@ Shows what would happen if the cmdlet runs.
178
192
The cmdlet is not run.
179
193
180
194
` ` ` yaml
181
- Type : SwitchParameter
195
+ Type : System.Management.Automation. SwitchParameter
182
196
Parameter Sets : (All)
183
197
Aliases : wi
184
198
0 commit comments