次の方法で共有


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

型:PSApplicationGateway
Position:Named
既定値:None
必須:True
Accept pipeline input:True
Accept wildcard characters:False

-DefaultProfile

Azure との通信のために使用される資格情報、アカウント、テナント、サブスクリプションです。

型:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
既定値:None
必須:False
Accept pipeline input:False
Accept wildcard characters:False

入力

PSApplicationGateway

出力

PSManagedServiceIdentity