Set-AzApplicationGateway

Updates an application gateway.

Syntax

Set-AzApplicationGateway
   -ApplicationGateway <PSApplicationGateway>
   [-AsJob]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Set-AzApplicationGateway cmdlet updates an Azure application gateway.

Examples

Example 1: Update an application gateway

PS C:\>$UpdatedAppGw = Set-AzApplicationGateway -ApplicationGateway $AppGw

This command updates the application gateway with settings in the $AppGw variable and stores the updated gateway in the $UpdatedAppGw variable.

Parameters

-ApplicationGateway

Specifies an application gateway object representing the state to which the application gateway should be set.

Type:PSApplicationGateway
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-AsJob

Run cmdlet in the background

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DefaultProfile

The credentials, account, tenant, and subscription used for communication with azure.

Type:Microsoft.Azure.Commands.Common.Authentication.Abstractions.Core.IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

PSApplicationGateway

Outputs

PSApplicationGateway