Delen via


Get-AzApplicationGatewayAutoscaleConfiguration

Hiermee haalt u de configuratie van automatische schaalaanpassing van de Application Gateway op.

Syntaxis

Get-AzApplicationGatewayAutoscaleConfiguration
   -ApplicationGateway <PSApplicationGateway>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

De Get-AzApplicationGatewayAutoscaleConfiguration cmdlet haalt de configuratie van automatische schaalaanpassing van de Application Gateway op.

Voorbeelden

Voorbeeld 1

$gw = Get-AzApplicationGateway -Name $appgwName -ResourceGroupName $resgpName
$autoscaleConfiguration = Get-AzApplicationGatewayAutoscaleConfiguration -ApplicationGateway $gw
$autoscaleConfiguration.MinCapacity

Met de eerste opdracht wordt de toepassingsgateway opgeslagen in $gw variabele. Met de tweede opdracht wordt de configuratie voor automatisch schalen uit de toepassingsgateway geëxtraheerd.

Parameters

-ApplicationGateway

De applicationGateway

Type:PSApplicationGateway
Position:Named
Default value:None
Vereist:True
Pijplijninvoer accepteren:True
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

Invoerwaarden

Uitvoerwaarden