Dela via


Get-AzureRmApplicationGatewayAutoscaleConfiguration

Hämtar autoskalningskonfigurationen för Application Gateway.

Varning

AzureRM PowerShell-modulen är officiellt inaktuell från och med den 29 februari 2024. Användare rekommenderas att migrera från AzureRM till Az PowerShell-modulen för att säkerställa fortsatt support och uppdateringar.

Även om AzureRM-modulen fortfarande kan fungera, underhålls den inte längre eller stöds, vilket gör att användaren kan välja och riskera fortsatt användning. Se våra migreringsresurser för vägledning om övergången till Az-modulen.

Syntax

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

Description

Cmdleten Get-AzureRmApplicationGatewayAutoscaleConfiguration hämtar autoskalningskonfiguration av Application Gateway.

Exempel

Exempel 1

PS C:\> $gw = Get-AzureRmApplicationGateway -Name $appgwName -ResourceGroupName $resgpName
PS C:\> $autoscaleConfiguration = Get-AzureRmApplicationGatewayAutoscaleConfiguration -ApplicationGateway $gw
PS C:\> $autoscaleConfiguration.MinCapacity

Det första kommandot hämtar programgatewayen och lagrar den i $gw variabel. Det andra kommandot extraherar konfigurationen för autoskalning från applicationg-gatewayen.

Parametrar

-ApplicationGateway

ApplicationGateway

Typ:PSApplicationGateway
Position:Named
standardvärde:None
Obligatorisk:True
Accept pipeline input:True
Accept wildcard characters:False

-DefaultProfile

Autentiseringsuppgifter, konto, klientorganisation och prenumeration som används för kommunikation med Azure.

Typ:IAzureContextContainer
Aliases:AzureRmContext, AzureCredential
Position:Named
standardvärde:None
Obligatorisk:False
Accept pipeline input:False
Accept wildcard characters:False

Indata

PSApplicationGateway

Utdata

PSApplicationGatewayAutoscaleConfiguration