Skip to content

Commit 5c98e02

Browse files
committed
Regenerate NatRule* help with platy
1 parent 4f511a1 commit 5c98e02

File tree

2 files changed

+40
-26
lines changed

2 files changed

+40
-26
lines changed

src/ResourceManager/Network/Commands.Network/help/New-AzureRmFirewallNatRule.md

Lines changed: 35 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ Creates a Firewall NAT Rule.
1717
New-AzureRmFirewallNatRule -Name <String> [-Description <String>]
1818
-SourceAddress <System.Collections.Generic.List`1[System.String]>
1919
-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>]
2323
```
2424

2525
## DESCRIPTION
@@ -40,7 +40,7 @@ This example creates a rule which will DNAT all traffic originating in 10.0.0.0/
4040
The credentials, account, tenant, and subscription used for communication with azure.
4141

4242
```yaml
43-
Type: IAzureContextContainer
43+
Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
4444
Parameter Sets: (All)
4545
Aliases: AzureRmContext, AzureCredential
4646

@@ -55,7 +55,7 @@ Accept wildcard characters: False
5555
Specifies an optional description of this rule.
5656
5757
```yaml
58-
Type: String
58+
Type: System.String
5959
Parameter Sets: (All)
6060
Aliases:
6161

@@ -66,11 +66,11 @@ Accept pipeline input: False
6666
Accept wildcard characters: False
6767
```
6868
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.
7171
7272
```yaml
73-
Type: String
73+
Type: System.Collections.Generic.List`1[System.String]
7474
Parameter Sets: (All)
7575
Aliases:
7676

@@ -81,13 +81,24 @@ Accept pipeline input: False
8181
Accept wildcard characters: False
8282
```
8383
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.
8899
89100
```yaml
90-
Type: System.Collections.Generic.List`1[System.String]
101+
Type: System.String
91102
Parameter Sets: (All)
92103
Aliases:
93104

@@ -98,13 +109,16 @@ Accept pipeline input: False
98109
Accept wildcard characters: False
99110
```
100111
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.
103116
104117
```yaml
105118
Type: System.Collections.Generic.List`1[System.String]
106119
Parameter Sets: (All)
107120
Aliases:
121+
Accepted values: Any, TCP, UDP
108122

109123
Required: True
110124
Position: Named
@@ -113,8 +127,8 @@ Accept pipeline input: False
113127
Accept wildcard characters: False
114128
```
115129
116-
### -DestinationAddress
117-
The destination addresses of the rule.
130+
### -SourceAddress
131+
The source addresses of the rule
118132
119133
```yaml
120134
Type: System.Collections.Generic.List`1[System.String]
@@ -132,7 +146,7 @@ Accept wildcard characters: False
132146
Specifies the desired result of the address translation
133147
134148
```yaml
135-
Type: String
149+
Type: System.String
136150
Parameter Sets: (All)
137151
Aliases:
138152

@@ -147,7 +161,7 @@ Accept wildcard characters: False
147161
Specifies the desired result of the port translation
148162
149163
```yaml
150-
Type: String
164+
Type: System.String
151165
Parameter Sets: (All)
152166
Aliases:
153167

@@ -162,7 +176,7 @@ Accept wildcard characters: False
162176
Prompts you for confirmation before running the cmdlet.
163177
164178
```yaml
165-
Type: SwitchParameter
179+
Type: System.Management.Automation.SwitchParameter
166180
Parameter Sets: (All)
167181
Aliases: cf
168182

@@ -178,7 +192,7 @@ Shows what would happen if the cmdlet runs.
178192
The cmdlet is not run.
179193
180194
```yaml
181-
Type: SwitchParameter
195+
Type: System.Management.Automation.SwitchParameter
182196
Parameter Sets: (All)
183197
Aliases: wi
184198

src/ResourceManager/Network/Commands.Network/help/New-AzureRmFirewallNatRuleCollection.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ RemoveRuleByName on the rule collection object. The rule name for method RemoveR
7272
The credentials, account, tenant, and subscription used for communication with azure.
7373

7474
```yaml
75-
Type: IAzureContextContainer
75+
Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.IAzureContextContainer
7676
Parameter Sets: (All)
7777
Aliases: AzureRmContext, AzureCredential
7878

@@ -87,7 +87,7 @@ Accept wildcard characters: False
8787
Specifies the name of this NAT rule. The name must be unique inside a rule collection.
8888
8989
```yaml
90-
Type: String
90+
Type: System.String
9191
Parameter Sets: (All)
9292
Aliases:
9393

@@ -102,7 +102,7 @@ Accept wildcard characters: False
102102
Specifies the priority of this rule. Priority is a number between 100 and 65000. The smaller the number, the bigger the priority.
103103
104104
```yaml
105-
Type: UInt32
105+
Type: System.UInt32
106106
Parameter Sets: (All)
107107
Aliases:
108108

@@ -132,7 +132,7 @@ Accept wildcard characters: False
132132
Prompts you for confirmation before running the cmdlet.
133133
134134
```yaml
135-
Type: SwitchParameter
135+
Type: System.Management.Automation.SwitchParameter
136136
Parameter Sets: (All)
137137
Aliases: cf
138138

@@ -148,7 +148,7 @@ Shows what would happen if the cmdlet runs.
148148
The cmdlet is not run.
149149
150150
```yaml
151-
Type: SwitchParameter
151+
Type: System.Management.Automation.SwitchParameter
152152
Parameter Sets: (All)
153153
Aliases: wi
154154

0 commit comments

Comments
 (0)