Skip to content

Commit 32d0a3f

Browse files
authored
Merge pull request #7917 from chayanbaner/patch-1
Wrong command used in documentation example
2 parents 7828a7e + fe75838 commit 32d0a3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ResourceManager/Network/Commands.Network/help/Add-AzureRmApplicationGatewayHttpListenerCustomError.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The **Add-AzureRmApplicationGatewayCustomError** cmdlet adds a custom error to a
2626
### Example 1: Adds custom error to http listener level
2727
```powershell
2828
PS C:\> $customError502Url = "https://mycustomerrorpages.blob.core.windows.net/errorpages/502.htm"
29-
PS C:\> $updatedlistener = Add-AzureRmApplicationGatewayCustomError -HttpListener $listener01 -StatusCode HttpStatus502 -CustomErrorPageUrl $customError502Url
29+
PS C:\> $updatedlistener = Add-AzureRmApplicationGatewayHttpListenerCustomError -HttpListener $listener01 -StatusCode HttpStatus502 -CustomErrorPageUrl $customError502Url
3030
```
3131

3232
This command adds a custom error of http status code 502 to the http listener $listener01, and return the updated listener.

0 commit comments

Comments
 (0)