Get-AzApplicationGatewayIdentity

アプリケーション ゲートウェイに割り当てられた ID を取得します。

構文

Get-AzApplicationGatewayIdentity
   -ApplicationGateway <PSApplicationGateway>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

説明

Get-AzApplicationGatewayIdentity コマンドレットは、アプリケーション ゲートウェイに割り当てられた ID を取得します。

例 1

$gw = Get-AzApplicationGateway -Name $appgwName -ResourceGroupName $resgpName
$identity = Get-AzApplicationGatewayIdentity -ApplicationGateway $gw

この例では、Application Gateway からアプリケーション ゲートウェイ ID を取得する方法を示します。

パラメーター

-ApplicationGateway

applicationGateway

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

出力

PSManagedServiceIdentity