Get-AzApplicationGatewayAuthenticationCertificate
取得應用程式閘道的驗證憑證。
語法
Get-AzApplicationGatewayAuthenticationCertificate
[-Name <String>]
-ApplicationGateway <PSApplicationGateway>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Get-AzApplicationGatewayAuthenticationCertificate Cmdlet 會取得 Azure 應用程式閘道的驗證憑證。
範例
範例 1:取得指定的驗證憑證
$appgw = Get-AzApplicationGateway -ResourceGroupName "rg" -Name "appGwName"
$cert = Get-AzApplicationGatewayAuthenticationCertificate -Name "cert01" -ApplicationGateway $appgw
第一個命令會取得名為 appGwName 的應用程式閘道,並將其儲存在$appgw 變數中。 第二個命令會取得名為 cert01 的驗證憑證,並將它儲存在 $cert 變數中。
參數
-ApplicationGateway
指定此 Cmdlet 取得驗證憑證的應用程式閘道名稱。
類型: | PSApplicationGateway |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-DefaultProfile
用於與 azure 通訊的認證、帳戶、租用戶和訂用帳戶。
類型: | IAzureContextContainer |
別名: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-Name
指定這個 Cmdlet 取得的驗證憑證名稱。
類型: | String |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
輸入
輸出
PSApplicationGatewayAuthenticationCertificate
備註
- 關鍵詞:azure、azurerm、arm、resource、management、manager、network、networking