Set-AzApplicationGatewaySslProfilePolicy

Ändert die SSL-Richtlinie eines SSL-Gateways-SSL-Profils.

Syntax

Set-AzApplicationGatewaySslProfilePolicy
   -SslProfile <PSApplicationGatewaySslProfile>
   [-DisabledSslProtocols <String[]>]
   [-PolicyType <String>]
   [-PolicyName <String>]
   [-CipherSuite <String[]>]
   [-MinProtocolVersion <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Beschreibung

Das Cmdlet Set-AzApplicationGatewaySslProfilePolicy ändert die SSL-Richtlinie eines SSL-Profils eines Anwendungsgateways.

Beispiele

Beispiel 1

$AppGw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
$profile  = Get-AzApplicationGatewaySslProfile -Name "SslProfile01" -ApplicationGateway $AppGw
$profile = Set-AzApplicationGatewaySslProfilePolicy -SslProfile $profile -PolicyType Predefined -PolicyName AppGwSslPolicy20170401

Der erste Befehl ruft das Anwendungsgateway01 in der Ressourcengruppe "ResourceGroup01" ab und speichert es in der $AppGw Variablen. Der zweite Befehl ruft das ssl-Profil "SslProfile01" für $AppGw ab und speichert die Einstellungen in der $profile Variablen. Mit dem letzten Befehl wird die SSL-Richtlinie des in $profile gespeicherten SSL-Profilobjekts geändert.

Parameter

-CipherSuite

Ssl-Verschlüsselungssammlungen, die in der angegebenen Reihenfolge zum Anwendungsgateway aktiviert werden sollen

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

-DefaultProfile

Anmeldeinformationen, Konto, Mandant und Abonnement für die Kommunikation mit Azure

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

-DisabledSslProtocols

Liste der zu deaktivierenden SSL-Protokolle

Type:String[]
Accepted values:TLSv1_0, TLSv1_1, TLSv1_2, TLSv1_3
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-MinProtocolVersion

Mindestversion des SSL-Protokolls, das auf dem Anwendungsgateway unterstützt wird

Type:String
Accepted values:TLSv1_0, TLSv1_1, TLSv1_2, TLSv1_3
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PolicyName

Name der vordefinierten Ssl-Richtlinie

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

-PolicyType

Typ der SSL-Richtlinie

Type:String
Accepted values:Predefined, Custom, CustomV2
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SslProfile

Das SSL-Profil des Anwendungsgateways

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

Eingaben

PSApplicationGatewaySslProfile

Ausgaben

PSApplicationGatewaySslProfile