Skip to content

Commit 7f8a6c1

Browse files
msJinLeijaesoni
andauthored
Updating set command in example (#15277)
* Updating set command in example PS C:\> $updatedgateway = Set-AzApplicationGateway -ApplicationGateway $AppGW Finally, the third command updates the application gateway. Adding Set-AzApplicationGateway command Adding the missing step for saving the gateway configuration. Adding Set-AzApplicationGateway command Adding the missing step for saving the gateway configuration. Update Remove-AzApplicationGatewayClientAuthConfiguration.md Adding Set-AzApplicationGateway command Adding the missing step for saving the gateway configuration. Adding Set-AzApplicationGateway command Adding the missing steps * for setting application gateway confirguartions in a variable * for saving the gateway configuration. Adding Set-AzApplicationGateway command Adding the missing step for saving the gateway configuration. Adding Set-AzApplicationGateway command Adding the missing step for saving the gateway configuration. Adding Set-AzApplicationGateway command Adding the missing step for saving the gateway configuration. Adding Set-AzApplicationGateway command Adding the missing step for saving the gateway configuration. Adding Set-AzApplicationGateway command Adding the missing step for saving the gateway configuration. Adding Set-AzApplicationGateway command Adding the missing step for saving the gateway configuration. Adding Set-AzApplicationGateway command Adding the missing step for saving the gateway configuration. Adding Set-AzApplicationGateway command Adding the missing step for saving the gateway configuration. Adding Set-AzApplicationGateway command Adding the missing step for saving the gateway configuration. Adding Set-AzApplicationGateway command Adding the missing step for saving the gateway configuration. Adding Set-AzApplicationGateway command Adding the missing step for saving the gateway configuration. Adding Set-AzApplicationGateway command Adding the missing step for saving the gateway configuration. * Correcting minor error in the example Co-authored-by: jaesoni <80025770+jaesoni@users.noreply.github.com>
1 parent 102d25f commit 7f8a6c1

18 files changed

+48
-18
lines changed

src/Network/Network/help/Remove-AzApplicationGatewayBackendAddressPool.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@ The **Remove-AzApplicationGatewayBackendAddressPool** cmdlet removes a back-end
2727
```
2828
PS C:\>$AppGw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
2929
PS C:\> Remove-AzApplicationGatewayBackendAddressPool -ApplicationGateway $AppGw -Name "BackEndPool02"
30+
PS C:\> Set-AzApplicationGateway -ApplicationGateway $AppGw
3031
```
3132

3233
The first command gets the application gateway named ApplicationGateway01 belonging to the resource group named ResourceGroup01 and saves it in the $AppGw variable.
33-
The second command removes the back-end address pool named BackEndPool02 from the application gateway.
34+
The second command removes the back-end address pool named BackEndPool02 from the application gateway. Finally, the third command updates the application gateway.
3435

3536
## PARAMETERS
3637

src/Network/Network/help/Remove-AzApplicationGatewayBackendHttpSetting.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@ The Remove-AzApplicationGatewayBackendHttpSetting cmdlet removes back-end Hypert
2626
```
2727
PS C:\>$AppGw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
2828
PS C:\> Remove-AzApplicationGatewayBackendHttpSetting -ApplicationGateway $AppGw -Name "BackEndSetting02"
29+
PS C:\> Set-AzApplicationGateway -ApplicationGateway $AppGW
2930
```
3031

3132
The first command gets an application gateway named ApplicationGateway01 that belongs to the resource group named ResourceGroup01 and stores it in the $AppGw variable.
32-
The second command removes the back-end HTTP setting named BackEndSetting02 from the application gateway stored in $AppGw.
33+
The second command removes the back-end HTTP setting named BackEndSetting02 from the application gateway stored in $AppGw. Finally, the third command updates the application gateway.
3334

3435
## PARAMETERS
3536

src/Network/Network/help/Remove-AzApplicationGatewayClientAuthConfiguration.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ The **Remove-AzApplicationGatewayClientAuthConfiguration** cmdlet removes the cl
2727
PS C:\> $AppGw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
2828
PS C:\> $profile = Get-AzApplicationGatewaySslProfile -Name "Profile01" -ApplicationGateway $AppGw
2929
PS C:\> Remove-AzApplicationGatewayClientAuthConfiguration -SslProfile $profile
30+
PS C:\> Set-AzApplicationGateway -ApplicationGateway $AppGW
3031
```
3132

32-
The first command gets the application gateway named ApplicationGateway01 in the resource group named ResourceGroup01 and stores it in the $AppGw variable. The second command gets the SSL profile named Profile01 for $AppGw and stores it in the $profile variable. The last command removes the client authentication configuration of the ssl profile stored in $profile.
33+
The first command gets the application gateway named ApplicationGateway01 in the resource group named ResourceGroup01 and stores it in the $AppGw variable. The second command gets the SSL profile named Profile01 for $AppGw and stores it in the $profile variable. The next command removes the client authentication configuration of the ssl profile stored in $profile. The last command updates the application gateway.
3334

3435
## PARAMETERS
3536

@@ -82,4 +83,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
8283
8384
[Get-AzApplicationGatewayClientAuthConfiguration](./Get-AzApplicationGatewayClientAuthConfiguration.md)
8485
85-
[Set-AzApplicationGatewayClientAuthConfiguration](./Set-AzApplicationGatewayClientAuthConfiguration.md)
86+
[Set-AzApplicationGatewayClientAuthConfiguration](./Set-AzApplicationGatewayClientAuthConfiguration.md)

src/Network/Network/help/Remove-AzApplicationGatewayConnectionDraining.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,12 @@ The **Remove-AzApplicationGatewayConnectionDraining** cmdlet removes the connect
2727
PS C:\> $AppGw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
2828
PS C:\> $Settings = Get-AzApplicationGatewayBackendHttpSettings -Name "Settings01" -ApplicationGateway $AppGw
2929
PS C:\> Remove-AzApplicationGatewayConnectionDraining -BackendHttpSettings $Settings
30+
PS C:\> Set-AzApplicationGateway -ApplicationGateway $AppGW
3031
```
3132

3233
The first command gets the application gateway named ApplicationGateway01 in the resource group named ResourceGroup01 and stores it in the $AppGw variable.
3334
The second command gets the back-end HTTP settings named Settings01 for $AppGw and stores the settings in the $Settings variable.
34-
The last command removes the connection draining configuration of the back-end HTTP settings stored in $Settings.
35+
The third command removes the connection draining configuration of the back-end HTTP settings stored in $Settings. And, the last command updates the application gateway.
3536

3637
## PARAMETERS
3738

src/Network/Network/help/Remove-AzApplicationGatewayCustomError.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,13 @@ The **Remove-AzApplicationGatewayCustomError** cmdlet removes a custom error fro
2424

2525
### Example 1: Removes custom error from an application gateway
2626
```
27-
PS C:\> $updatedgateway = Remove-AzApplicationGatewayCustomError -ApplicationGateway $appgw -StatusCode HttpStatus502
27+
PS C:\> $AppGw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
28+
PS C:\> Remove-AzApplicationGatewayCustomError -ApplicationGateway $AppGw -StatusCode HttpStatus502
29+
PS C:\> Set-AzApplicationGateway -ApplicationGateway $AppGW
2830
```
29-
30-
This command removes the custom error of http status code 502 from the application gateway $appgw, and return the updated gateway.
31+
The first command gets the application gateway named ApplicationGateway01 in the resource group named ResourceGroup01 and stores it in the $AppGw variable.
32+
The second command removes the custom error for HTTP Status Code 502 from the application gateway and returns the updated gateway.
33+
The last command updates the application gateway.
3134

3235
## PARAMETERS
3336

src/Network/Network/help/Remove-AzApplicationGatewayFrontendIPConfig.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@ The **Remove-AzApplicationGatewayFrontendIPConfig** cmdlet removes frontend IP f
2727
```
2828
PS C:\>$AppGw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
2929
PS C:\> Remove-AzApplicationGatewayFrontendIPConfig -ApplicationGateway $AppGw -Name "FrontEndIP02"
30+
PS C:\> Set-AzApplicationGateway -ApplicationGateway $AppGW
3031
```
3132

3233
The first command gets an application gateway named ApplicationGateway01 and stores it in the $AppGw variable.
3334
The second command removes the front-end IP configuration named FrontEndIP02 from the application gateway stored in $AppGw.
35+
The last command updates the application gateway.
3436

3537
## PARAMETERS
3638

src/Network/Network/help/Remove-AzApplicationGatewayFrontendPort.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@ The **Remove-AzApplicationGatewayFrontendPort** cmdlet removes a front-end port
2727
```
2828
PS C:\>$AppGw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
2929
PS C:\> Remove-AzApplicationGatewayFrontendPort -ApplicationGateway $AppGw -Name "FrontEndPort02"
30+
PS C:\> Set-AzApplicationGateway -ApplicationGateway $AppGW
3031
```
3132

3233
The first command gets an application gateway named ApplicationGateway01 that belongs to the resource group named ResourceGroup01 and stores the gateway in $AppGw variable.
3334
The second command removes the port named FrontEndPort02 from the application gateway.
35+
The last command updates the application gateway.
3436

3537
## PARAMETERS
3638

src/Network/Network/help/Remove-AzApplicationGatewayHttpListener.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@ The **Remove-AzApplicationGatewayHttpListener** cmdlet removes an HTTP listener
2727
```
2828
PS C:\>$AppGw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
2929
PS C:\> Remove-AzApplicationGatewayHttpListener -ApplicationGateway $AppGw -Name "Listener02"
30+
PS C:\> Set-AzApplicationGateway -ApplicationGateway $AppGW
3031
```
3132

3233
The first command gets an application gateway and stores it in the $AppGw variable.
3334
The second command removes the HTTP listener named Listener02 from the application gateway stored in $AppGw.
35+
The last command updates the application gateway.
3436

3537
## PARAMETERS
3638

src/Network/Network/help/Remove-AzApplicationGatewayIPConfiguration.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@ The **Remove-AzApplicationGatewayIPConfiguration** cmdlet removes an IP configur
2727
```
2828
PS C:\>$AppGw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
2929
PS C:\> Remove-AzApplicationGatewayIPConfiguration -ApplicationGateway $AppGw -Name "Subnet02"
30+
PS C:\> Set-AzApplicationGateway -ApplicationGateway $AppGW
3031
```
3132

3233
The first command gets an application gateway and stores it in the $AppGw variable.
3334
The second command removes the IP configuration named Subnet02 from the application gateway stored in $AppGw.
35+
The last command updates the application gateway.
3436

3537
## PARAMETERS
3638

src/Network/Network/help/Remove-AzApplicationGatewayPrivateLinkConfiguration.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,14 @@ The **Remove-AzApplicationGatewayPrivateLinkConfiguration** cmdlet removes an pr
2424

2525
### Example 1: Remove an application gateway PrivateLink Configuration
2626
```
27-
PS C:\>$AppGw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
27+
PS C:\> $AppGw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
2828
PS C:\> Remove-AzApplicationGatewayPrivateLinkConfiguration -ApplicationGateway $AppGw -Name "privateLinkConfig01"
29+
PS C:\> Set-AzApplicationGateway -ApplicationGateway $AppGW
2930
```
3031

3132
The first command gets an application gateway and stores it in the $AppGw variable.
3233
The second command removes the privateLink configuration named privateLinkConfig01 from the application gateway stored in $AppGw.
34+
The last command updates the application gateway.
3335

3436
## PARAMETERS
3537

@@ -99,4 +101,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
99101
100102
[Get-AzApplicationGatewayPrivateLinkConfiguration](./Get-AzApplicationGatewayPrivateLinkConfiguration.md)
101103
102-
[Set-AzApplicationGatewayPrivateLinkConfiguration](./Set-AzApplicationGatewayPrivateLinkConfiguration.md)
104+
[Set-AzApplicationGatewayPrivateLinkConfiguration](./Set-AzApplicationGatewayPrivateLinkConfiguration.md)

0 commit comments

Comments
 (0)