Stop-AzureRmApplicationGateway

Stops an application gateway

Syntax

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

Description

The Stop-AzureRmApplicationGateway cmdlet stops an application gateway.

Examples

Example 1: Stop an application gateway

PS C:\>Stop-AzureRmApplicationGateway -ApplicationGateway $AppGw

This command stops the application gateway stored in the $AppGw variable.

Required Parameters

-ApplicationGateway

Specifies the application gateway that this cmdlet stops.

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

System.String

Outputs

Microsoft.Azure.Commands.Network.Models.PSApplicationGateway