Get-AzApplicationGatewayAuthenticationCertificate

アプリケーション ゲートウェイの認証証明書を取得します。

構文

Get-AzApplicationGatewayAuthenticationCertificate
   [-Name <String>]
   -ApplicationGateway <PSApplicationGateway>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

説明

Get-AzApplicationGatewayAuthenticationCertificate コマンドレットは、Azure アプリケーション ゲートウェイの認証証明書を取得します。

例 1: 指定した認証証明書を取得する

$appgw = Get-AzApplicationGateway -ResourceGroupName "rg" -Name "appGwName"
$cert = Get-AzApplicationGatewayAuthenticationCertificate -Name "cert01" -ApplicationGateway $appgw

最初のコマンドは、appGwName という名前のアプリケーション ゲートウェイを取得し、$appgw変数に格納します。 2 番目のコマンドは、cert01 という名前の認証証明書を取得し、$cert変数に格納します。

パラメーター

-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

-Name

このコマンドレットが取得する認証証明書の名前を指定します。

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

入力

PSApplicationGateway

出力

PSApplicationGatewayAuthenticationCertificate

メモ

  • キーワード: azure, azurerm, arm, リソース, 管理, マネージャー, ネットワーク, ネットワーク