Skip to content

Commit 28f8135

Browse files
Keep docs align with the implementation of New-AzFirewallHubIpAddress and New-AzFirewallHubPublicIpAddress (#18011)
* Update wrong parameter * Update wrong parameter
1 parent e761c69 commit 28f8135

File tree

2 files changed

+11
-41
lines changed

2 files changed

+11
-41
lines changed

src/Network/Network/help/New-AzFirewallHubIpAddress.md

Lines changed: 6 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Ip addresses assoicated to the firewall on virtual hub
1313
## SYNTAX
1414

1515
```
16-
New-AzFirewallHubIpAddress [-PrivateIPAddress <String>] [-PublicIPs <PSAzureFirewallHubPublicIpAddresses>]
17-
[-DefaultProfile <IAzureContextContainer>] [-WhatIf] [-Confirm] [<CommonParameters>]
16+
New-AzFirewallHubIpAddress [-PrivateIPAddress <String>] [-PublicIP <PSAzureFirewallHubPublicIpAddresses>]
17+
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
1818
```
1919

2020
## DESCRIPTION
@@ -36,7 +36,7 @@ This example creates a Hub Ip address object with a count of 2 public IPs. The H
3636
The credentials, account, tenant, and subscription used for communication with Azure.
3737

3838
```yaml
39-
Type: IAzureContextContainer
39+
Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
4040
Parameter Sets: (All)
4141
Aliases: AzContext, AzureRmContext, AzureCredential
4242

@@ -51,7 +51,7 @@ Accept wildcard characters: False
5151
The private Ip Address of the Firewall attached to a Hub
5252
5353
```yaml
54-
Type: String
54+
Type: System.String
5555
Parameter Sets: (All)
5656
Aliases:
5757

@@ -62,11 +62,11 @@ Accept pipeline input: False
6262
Accept wildcard characters: False
6363
```
6464
65-
### -PublicIPs
65+
### -PublicIP
6666
The IP Addresses of the Firewall attached to a hub
6767
6868
```yaml
69-
Type: PSAzureFirewallHubPublicIpAddresses
69+
Type: Microsoft.Azure.Commands.Network.Models.PSAzureFirewallHubPublicIpAddresses
7070
Parameter Sets: (All)
7171
Aliases:
7272

@@ -77,36 +77,6 @@ Accept pipeline input: False
7777
Accept wildcard characters: False
7878
```
7979
80-
### -Confirm
81-
Prompts you for confirmation before running the cmdlet.
82-
83-
```yaml
84-
Type: SwitchParameter
85-
Parameter Sets: (All)
86-
Aliases: cf
87-
88-
Required: False
89-
Position: Named
90-
Default value: None
91-
Accept pipeline input: False
92-
Accept wildcard characters: False
93-
```
94-
95-
### -WhatIf
96-
Shows what would happen if the cmdlet runs. The cmdlet is not run.
97-
98-
```yaml
99-
Type: SwitchParameter
100-
Parameter Sets: (All)
101-
Aliases: wi
102-
103-
Required: False
104-
Position: Named
105-
Default value: None
106-
Accept pipeline input: False
107-
Accept wildcard characters: False
108-
```
109-
11080
### CommonParameters
11181
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
11282

src/Network/Network/help/New-AzFirewallHubPublicIpAddress.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Public Ip assoicated to the firewall on virtual hub
1313
## SYNTAX
1414

1515
```
16-
New-AzFirewallHubPublicIpAddress [-Count <Int32>] [-Addresses <PSAzureFirewallPublicIpAddress[]>]
16+
New-AzFirewallHubPublicIpAddress [-Count <Int32>] [-Address <PSAzureFirewallPublicIpAddress[]>]
1717
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]
1818
```
1919

@@ -40,11 +40,11 @@ This will create 1 new public ip on the firewall by retain $publicIp1, $publicIp
4040

4141
## PARAMETERS
4242

43-
### -Addresses
43+
### -Address
4444
The Public IP Addresses of the Firewall attached to a hub
4545

4646
```yaml
47-
Type: PSAzureFirewallPublicIpAddress[]
47+
Type: Microsoft.Azure.Commands.Network.Models.PSAzureFirewallPublicIpAddress[]
4848
Parameter Sets: (All)
4949
Aliases:
5050

@@ -59,7 +59,7 @@ Accept wildcard characters: False
5959
The count of public Ip addresses
6060
6161
```yaml
62-
Type: Int32
62+
Type: System.Int32
6363
Parameter Sets: (All)
6464
Aliases:
6565

@@ -74,7 +74,7 @@ Accept wildcard characters: False
7474
The credentials, account, tenant, and subscription used for communication with Azure.
7575
7676
```yaml
77-
Type: IAzureContextContainer
77+
Type: Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
7878
Parameter Sets: (All)
7979
Aliases: AzContext, AzureRmContext, AzureCredential
8080

0 commit comments

Comments
 (0)