Redigera

Dela via


Set-AzApplicationGatewaySslProfile

Updates ssl profile for an application gateway.

Syntax

Set-AzApplicationGatewaySslProfile
   -ApplicationGateway <PSApplicationGateway>
   -Name <String>
   [-SslPolicy <PSApplicationGatewaySslPolicy>]
   [-ClientAuthConfiguration <PSApplicationGatewayClientAuthConfiguration>]
   [-TrustedClientCertificates <PSApplicationGatewayTrustedClientCertificate[]>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

The Set-AzApplicationGatewaySslProfile cmdlet updates the ssl profile for an Azure application gateway.

Examples

Example 1

$AppGw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
$AppGw = Set-AzApplicationGatewaySslProfile -ApplicationGateway $AppGw -Name "Profile01" -ClientAuthConfiguration $newclientconfig

The first command gets the application gateway named ApplicationGateway01 that belongs to the resource group named ResourceGroup01 and stores it in the $AppGw variable. The second command updates the ssl profile of the application gateway in the $AppGw variable to update the client auth configuration to the new value stored in $newclientconfig.

Parameters

-ApplicationGateway

The applicationGateway

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

-ClientAuthConfiguration

Client authentication configuration settings

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

-DefaultProfile

The credentials, account, tenant, and subscription used for communication with Azure.

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

-Name

The name of the SSL profile

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

-SslPolicy

SSL policy

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

-TrustedClientCertificates

The trusted client CA certificate chains

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

Inputs

PSApplicationGateway

Outputs

PSApplicationGateway