Share via


Get-AzApplicationGatewayTrustedRootCertificate

Lekéri a megbízható főtanúsítványt egy adott névvel az Application Gatewaytől.

Syntax

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

Description

A Get-AzApplicationGatewayTrustedRootCertificate parancsmag megbízható főtanúsítványt kap egy adott névvel az Application Gatewaytől.

Példák

1. példa

$gw = Get-AzApplicationGateway -Name $appgwName -ResourceGroupName $resgpName
$trustedRootCert = Get-AzApplicationGatewayTrustedRootCertificate -ApplicationGateway $gw -Name $certName

Az első parancs lekéri az Application Gatewayt, és $gw változóban tárolja. A második parancs lekéri a megbízható főtanúsítványt egy megadott névvel az Application Gatewayről.

Paraméterek

-ApplicationGateway

Az applicationGateway

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

-DefaultProfile

Az Azure-ral való kommunikációhoz használt hitelesítő adatok, fiók, bérlő és előfizetés.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

A TrustedRoot tanúsítvány neve

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

Bevitelek

PSApplicationGateway

Kimenetek

PSApplicationGatewayTrustedRootCertificate