Get-AzApplicationGatewayClientAuthConfiguration
取得 SSL 設定檔物件的用戶端驗證組態。
語法
Default (預設值)
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 變數中。 第二個命令取得名為 SslProfile01 的 SSL 設定檔以供$AppGw,並將其儲存$SslProfile變數。 最後一個命令從SSL配置檔案$SslProfile獲取客戶端身份驗證配置,並將其儲存在$ClientAuthConfig變數中。
參數
-DefaultProfile
用於與 Azure 通訊的認證、帳戶、租用戶和訂用帳戶。
參數屬性
| 類型: | IAzureContextContainer |
| 預設值: | None |
| 支援萬用字元: | False |
| 不要顯示: | False |
| 別名: | AzContext, AzureRmContext, AzureCredential |
參數集
(All)
| Position: | Named |
| 必要: | False |
| 來自管線的值: | False |
| 來自管線按屬性名稱的值: | False |
| 來自剩餘引數的值: | False |
-SslProfile
ssl 設定檔
參數屬性
| 類型: | PSApplicationGatewaySslProfile |
| 預設值: | None |
| 支援萬用字元: | False |
| 不要顯示: | False |
參數集
(All)
| Position: | Named |
| 必要: | True |
| 來自管線的值: | True |
| 來自管線按屬性名稱的值: | False |
| 來自剩餘引數的值: | False |
CommonParameters
此 Cmdlet 支援常見參數:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 如需詳細資訊,請參閱 about_CommonParameters。