Start-AzApplicationGateway

啟動應用程式閘道。

Syntax

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

Description

Start-AzApplicationGateway Cmdlet 會啟動 Azure 應用程式閘道

範例

範例1:啟動應用程式閘道

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

此命令會啟動儲存在 $AppGw 變數中的應用程式閘道。

參數

-ApplicationGateway

指定此 Cmdlet 啟動的應用程式閘道。

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

-DefaultProfile

用於與 azure 通訊的認證、帳戶、租用戶和訂用帳戶。

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

輸入

PSApplicationGateway

輸出

PSApplicationGateway