Get-AzApplicationGatewayAutoscaleConfiguration
Hämtar autoskalningskonfigurationen för Application Gateway.
Syntax
Get-AzApplicationGatewayAutoscaleConfiguration
-ApplicationGateway <PSApplicationGateway>
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Cmdleten Get-AzApplicationGatewayAutoscaleConfiguration hämtar autoskalningskonfiguration av Application Gateway.
Exempel
Exempel 1
$gw = Get-AzApplicationGateway -Name $appgwName -ResourceGroupName $resgpName
$autoscaleConfiguration = Get-AzApplicationGatewayAutoscaleConfiguration -ApplicationGateway $gw
$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 programgatewayen.
Parametrar
-ApplicationGateway
ApplicationGateway
Type: | PSApplicationGateway |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-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 |
Indata
Utdata
PSApplicationGatewayAutoscaleConfiguration
Relaterade länkar
Azure PowerShell
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för