次の方法で共有


Get-AzApplicationGatewayIdentity

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

構文

Default (既定)

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
規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

(All)
配置:Named
必須:True
パイプラインからの値:True
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

-DefaultProfile

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

パラメーターのプロパティ

型:IAzureContextContainer
規定値:None
ワイルドカードのサポート:False
DontShow:False
Aliases:AzContext, AzureRmContext, AzureCredential

パラメーター セット

(All)
配置:Named
必須:False
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

CommonParameters

このコマンドレットでは、一般的なパラメーター -Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction、-WarningVariable の各パラメーターがサポートされています。 詳細については、about_CommonParametersを参照してください。

入力

PSApplicationGateway

出力

PSManagedServiceIdentity