Redigera

Dela via


Start-AzApplicationGateway

Starts an application gateway.

Syntax

Start-AzApplicationGateway
     -ApplicationGateway <PSApplicationGateway>
     [-DefaultProfile <IAzureContextContainer>]
     [<CommonParameters>]

Description

The Start-AzApplicationGateway cmdlet starts an Azure application gateway

Examples

Example1: Start an application gateway

$AppGw = Get-AzApplicationGateway -Name Test -ResourceGroupName Appgwtest
Start-AzApplicationGateway -ApplicationGateway $AppGw

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

Parameters

-ApplicationGateway

Specifies the application gateway that this cmdlet starts.

Type:PSApplicationGateway
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-DefaultProfile

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

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

PSApplicationGateway

Outputs

PSApplicationGateway