Skip to content

Commit 080e6f2

Browse files
authored
Merge pull request #85655 from aalewismsft/patch-1
Added an FAQ for stopping and starting Azure Application Gateway
2 parents bd6ded5 + c5c36e2 commit 080e6f2

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

articles/application-gateway/application-gateway-faq.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,36 @@ sections:
279279
Sample NSG configuration for private IP only access:
280280
![Application Gateway V2 NSG Configuration for private IP access only](./media/application-gateway-faq/appgw-privip-nsg.png)
281281
282+
- question: How can I stop and start Azure Application Gateway?
283+
answer: |
284+
You can use Azure PowerShell or the Azure CLI to stop and start Azure Application Gateway. When you stop and start Application Gateway, [billing](https://azure.microsoft.com/pricing/details/application-gateway/) also stops and starts.
285+
286+
```azurepowershell
287+
# Stop an existing Azure Application Gateway instance
288+
289+
$appGateway = Get-AzApplicationGateway -Name $appGatewayName -ResourceGroupName $resourceGroupName
290+
Stop-AzApplicationGateway -ApplicationGateway $appGateway
291+
```
292+
293+
```azurepowershell
294+
# Start an existing Azure Application Gateway instance
295+
296+
$appGateway = Get-AzApplicationGateway -Name $appGatewayName -ResourceGroupName $resourceGroupName
297+
Start-AzApplicationGateway -ApplicationGateway $appGateway
298+
```
299+
300+
```azurecli-interactive
301+
# Stop an existing Azure Application Gateway instance
302+
303+
az network application-gateway stop -g MyResourceGroup -n MyAppGateway
304+
```
305+
```azurecli-interactive
306+
# Start an existing Azure Application Gateway instance
307+
308+
az network application-gateway start -g MyResourceGroup -n MyAppGateway
309+
```
310+
311+
282312
- name: Configuration - TLS
283313
questions:
284314
- question: What certificates does Application Gateway support?

0 commit comments

Comments
 (0)