Remove-AzApplicationGatewayClientAuthConfiguration

Tar bort klientautentiseringskonfigurationen för ett SSL-profilobjekt.

Syntax

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

Description

Cmdleten Remove-AzApplicationGatewayClientAuthConfiguration tar bort klientautentiseringskonfigurationen för ett SSL-profilobjekt.

Exempel

Exempel 1

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

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 Profile01 för $AppGw och lagrar den i variabeln $profile. Nästa kommando tar bort klientautentiseringskonfigurationen för SSL-profilen som lagras i $profile. Det senaste kommandot uppdaterar programgatewayen.

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

SSL-profilen

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

Indata

PSApplicationGatewaySslProfile

Utdata

PSApplicationGatewaySslProfile