共用方式為


Get-AzApplicationGatewayClientAuthConfiguration

取得 SSL 設定檔物件的客戶端驗證組態。

語法

Get-AzApplicationGatewayClientAuthConfiguration
   -SslProfile <PSApplicationGatewaySslProfile>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

Get-AzApplicationGatewayClientAuthConfiguration Cmdlet 會取得 SSL 配置檔物件的用戶端驗證組態。

範例

範例 1

$AppGw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
$SslProfile  = Get-AzApplicationGatewaySslProfile -Name "SslProfile01" -ApplicationGateway $AppGw
$ClientAuthConfig = Get-AzApplicationGatewayClientAuthConfiguration -SslProfile $SslProfile

第一個命令會在名為 ResourceGroup01 的資源群組中取得名為 ApplicationGateway01 的應用程式閘道,並將它儲存在$AppGw變數中。 第二個命令會針對 $AppGw 取得名為 SslProfile01 的 SSL 配置檔,並將它儲存$SslProfile變數。 最後一個命令會從 SSL 配置檔$SslProfile取得客戶端驗證組態,並將它儲存在$ClientAuthConfig變數中。

參數

-DefaultProfile

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

類型:IAzureContextContainer
別名:AzContext, AzureRmContext, AzureCredential
Position:Named
預設值:None
必要:False
接受管線輸入:False
接受萬用字元:False

-SslProfile

ssl 配置檔

類型:PSApplicationGatewaySslProfile
Position:Named
預設值:None
必要:True
接受管線輸入:True
接受萬用字元:False

輸入

PSApplicationGatewaySslProfile

輸出

PSApplicationGatewayClientAuthConfiguration