Delen via


Remove-AzApplicationGatewayAutoscaleConfiguration

Hiermee verwijdert u de configuratie van automatische schaalaanpassing uit een toepassingsgateway.

Syntaxis

Remove-AzApplicationGatewayAutoscaleConfiguration
      -ApplicationGateway <PSApplicationGateway>
      [-Force]
      [-DefaultProfile <IAzureContextContainer>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

De Remove-AzApplicationGatewayAutoscaleConfiguration cmdlet verwijdert Automatische schaalaanpassing van een bestaande Application Gateway.

Voorbeelden

Voorbeeld 1

$gw = Get-AzApplicationGateway -Name $appgwName -ResourceGroupName $resgpName
$gw = Remove-AzApplicationGatewayAutoscaleConfiguration -ApplicationGateway $gw
$gw = Set-AzApplicationGateway -ApplicationGateway $gw

Met de eerste opdracht wordt de toepassingsgateway opgeslagen in $gw variabele. Met de tweede opdracht wordt de configuratie voor automatisch schalen uit de toepassingsgateway verwijderd. Met de derde opdracht wordt de toepassingsgateway in Azure bijgewerkt.

Parameters

-ApplicationGateway

De applicationGateway

Type:PSApplicationGateway
Position:Named
Default value:None
Vereist:True
Pijplijninvoer accepteren:True
Jokertekens accepteren:False

-Confirm

U wordt gevraagd om bevestiging voordat u de cmdlet uitvoert.

Type:SwitchParameter
Aliassen:cf
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-DefaultProfile

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

Type:IAzureContextContainer
Aliassen:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-Force

Vraag niet om bevestiging.

Type:SwitchParameter
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

-WhatIf

Toont wat er zou gebeuren als de cmdlet wordt uitgevoerd. De cmdlet wordt niet uitgevoerd.

Type:SwitchParameter
Aliassen:wi
Position:Named
Default value:None
Vereist:False
Pijplijninvoer accepteren:False
Jokertekens accepteren:False

Invoerwaarden

Uitvoerwaarden