Get-AzApplicationGatewaySslProfilePolicy

Hämtar SSL-principen för en SSL-profil för programgateway.

Syntax

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

Description

Cmdleten Get-AzApplicationGatewaySslProfilePolicy hämtar SSL-principen för en SSL-profil för programgatewayen.

Exempel

Exempel 1

$AppGW = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
$SslProfile  = Get-AzApplicationGatewaySslProfile -Name "SslProfile01" -ApplicationGateway $AppGw
$sslpolicy = Get-AzApplicationGatewaySslProfilePolicy -SslProfile $SslProfile

Det första kommandot hämtar programgatewayen med namnet ApplicationGateway01 i resursgruppen Med namnet ResourceGroup01 och lagrar den i variabeln $AppGw. Det andra kommandot hämtar SSL-profilen med namnet SslProfile01 för $AppGw och lagrar den $SslProfile variabel. Det sista kommandot hämtar SSL-principen från SSL-profilen $SslProfile och lagrar den i variabeln $sslpolicy.

Parametrar

-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

-SslProfile

Application Gateway SSL-profilen

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

Indata

PSApplicationGatewaySslProfile

Utdata

PSApplicationGatewaySslPolicy