Set-AzureRmApplicationGateway

Updates an application gateway.

Syntax

Set-AzureRmApplicationGateway
   -ApplicationGateway <PSApplicationGateway>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Set-AzureRmApplicationGateway cmdlet updates an Azure application gateway.

Examples

Example 1: Update an application gateway

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

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

Required Parameters

-ApplicationGateway

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

Type:Microsoft.Azure.Commands.Network.Models.PSApplicationGateway
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Optional Parameters

-DefaultProfile

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

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

Inputs

PSApplicationGateway

Parameter 'ApplicationGateway' accepts value of type 'PSApplicationGateway' from the pipeline

Outputs

Microsoft.Azure.Commands.Network.Models.PSApplicationGateway