Editar

Compartilhar via


Remove-AzApplicationGatewayClientAuthConfiguration

Removes the client authentication configuration of a SSL profile object.

Syntax

Remove-AzApplicationGatewayClientAuthConfiguration
      -SslProfile <PSApplicationGatewaySslProfile>
      [-DefaultProfile <IAzureContextContainer>]
      [<CommonParameters>]

Description

The Remove-AzApplicationGatewayClientAuthConfiguration cmdlet removes the client authentication configuration of a SSL profile object.

Examples

Example 1

$AppGw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
$profile  = Get-AzApplicationGatewaySslProfile -Name "Profile01" -ApplicationGateway $AppGw
Remove-AzApplicationGatewayClientAuthConfiguration -SslProfile $profile
Set-AzApplicationGateway -ApplicationGateway $AppGW

The first command gets the application gateway named ApplicationGateway01 in the resource group named ResourceGroup01 and stores it in the $AppGw variable. The second command gets the SSL profile named Profile01 for $AppGw and stores it in the $profile variable. The next command removes the client authentication configuration of the ssl profile stored in $profile. The last command updates the application gateway.

Parameters

-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

-SslProfile

The ssl profile

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

Inputs

PSApplicationGatewaySslProfile

Outputs

PSApplicationGatewaySslProfile