Get-AzApplicationGatewayAutoscaleConfiguration
Ruft die Autoskalenkonfiguration des Anwendungsgateways ab.
Get-AzApplicationGatewayAutoscaleConfiguration
-ApplicationGateway <PSApplicationGateway>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Das Cmdlet Get-AzApplicationGatewayAutoscaleConfiguration ruft die Autoscale-Konfiguration des Anwendungsgateways ab.
$gw = Get-AzApplicationGateway -Name $appgwName -ResourceGroupName $resgpName
$autoscaleConfiguration = Get-AzApplicationGatewayAutoscaleConfiguration -ApplicationGateway $gw
$autoscaleConfiguration.MinCapacity
Der erste Befehl ruft das Anwendungsgateway ab und speichert es in $gw Variablen. Der zweite Befehl extrahiert die AutoScale-Konfiguration aus dem Anwendungsgateway.
ApplicationGateway
Typ: | PSApplicationGateway |
Position: | Named |
Standardwert: | None |
Erforderlich: | True |
Pipelineeingabe akzeptieren: | True |
Platzhalterzeichen akzeptieren: | False |
Anmeldeinformationen, Konto, Mandant und Abonnement für die Kommunikation mit Azure
Typ: | IAzureContextContainer |
Aliase: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Standardwert: | None |
Erforderlich: | False |
Pipelineeingabe akzeptieren: | False |
Platzhalterzeichen akzeptieren: | False |
Feedback zu Azure PowerShell
Azure PowerShell ist ein Open Source-Projekt. Wählen Sie einen Link aus, um Feedback zu geben: