Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
Stop-AzApplicationGateway
- Module:
- Az.Network Module
Stops an application gateway
Syntax
Default (Default)
Stop-AzApplicationGateway
-ApplicationGateway <PSApplicationGateway>
[-AsJob]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The Stop-AzApplicationGateway cmdlet stops an application gateway.
Examples
Example 1: Stop an application gateway
$AppGw = Get-AzApplicationGateway -Name Test -ResourceGroupName Appgwtest
Stop-AzApplicationGateway -ApplicationGateway $AppGw
These commands set the $AppGw variable to an application gateway and then stops the application gateway.
Parameters
-ApplicationGateway
Specifies the application gateway that this cmdlet stops.
Parameter properties
| Type: | PSApplicationGateway |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-AsJob
Run cmdlet in the background
Parameter properties
| Type: | SwitchParameter |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with azure.
Parameter properties
| Type: | IAzureContextContainer |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
Parameter sets
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
PSApplicationGateway
Outputs
PSApplicationGateway
Related Links
Azure PowerShell
Feedback
Was this page helpful?
