Get-AzApplicationGatewaySslProfilePolicy

Hiermee haalt u het SSL-beleid van een SSL-profiel voor een toepassingsgateway op.

Syntax

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

Description

De cmdlet Get-AzApplicationGatewaySslProfilePolicy haalt het SSL-beleid van een SSL-profiel voor de toepassingsgateway op.

Voorbeelden

Voorbeeld 1

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

Met de eerste opdracht wordt de toepassingsgateway met de naam ApplicationGateway01 in de resourcegroep ResourceGroup01 opgeslagen en opgeslagen in de $AppGw variabele. Met de tweede opdracht wordt het SSL-profiel met de naam SslProfile01 voor $AppGw en opgeslagen $SslProfile variabele. Met de laatste opdracht wordt het SSL-beleid opgehaald uit het SSL-profiel $SslProfile en opgeslagen in de variabele $sslpolicy.

Parameters

-DefaultProfile

De referenties, accounts, tenants en abonnementen die worden gebruikt voor communicatie met Azure.

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

-SslProfile

Het SSL-profiel van de toepassingsgateway

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

Invoerwaarden

PSApplicationGatewaySslProfile

Uitvoerwaarden

PSApplicationGatewaySslPolicy