Get-AzApplicationGatewayTrustedRootCertificate
Hämtar det betrodda rotcertifikatet med ett specifikt namn från Application Gateway.
Syntax
Get-AzApplicationGatewayTrustedRootCertificate
[-Name <String>]
-ApplicationGateway <PSApplicationGateway>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Cmdleten Get-AzApplicationGatewayTrustedRootCertificate hämtar betrott rotcertifikat med ett specifikt namn från Application Gateway.
Exempel
Exempel 1
$gw = Get-AzApplicationGateway -Name $appgwName -ResourceGroupName $resgpName
$trustedRootCert = Get-AzApplicationGatewayTrustedRootCertificate -ApplicationGateway $gw -Name $certName
Det första kommandot hämtar Application Gateway och lagrar den i $gw variabel. Det andra kommandot hämtar det betrodda rotcertifikatet med ett angivet namn från Application Gateway.
Parametrar
-ApplicationGateway
ApplicationGateway
Type: | PSApplicationGateway |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-DefaultProfile
Autentiseringsuppgifter, konto, klientorganisation och prenumeration som används för kommunikation med Azure.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Namnet på TrustedRoot-certifikatet
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Indata
Utdata
PSApplicationGatewayTrustedRootCertificate
Relaterade länkar
Azure PowerShell
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för