Set-​Azure​Rm​Application​Gateway​Sku

Modifies the SKU of an application gateway.

Syntax

Set-AzureRmApplicationGatewaySku
   -ApplicationGateway <PSApplicationGateway>
   -Capacity <Int32>
   -Name <String>
   -Tier <String>
   [<CommonParameters>]

Description

The Set-AzureRmApplicationGatewaySku cmdlet modifies the stock keeping unit (SKU) of an application gateway.

Examples

Example 1: Update the application gateway SKU

PS C:\>$AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
PS C:\> $AppGw = Set-AzureRmApplicationGatewaySku -ApplicationGateway $AppGw -Name "Standard_Small" -Tier "Standard" -Capacity 2

The first command gets the application gateway named ApplicationGateway01 that belongs to the resource group named ResourceGroup01, and stores it in the $AppGw variable.

The second command updates the SKU of the application gateway.

Required Parameters

-ApplicationGateway

Specifies the application gateway object with which this cmdlet associates the SKU.

Type:PSApplicationGateway
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-Capacity

Specifies the instance count of the application gateway.

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies the name of the application gateway. The acceptable values for this parameter are:

  • Standard_Small
  • Standard_Medium
  • Standard_Large
  • WAF_Medium
  • WAF_Large
Type:String
Parameter Sets:Standard_Small, Standard_Medium, Standard_Large, WAF_Medium, WAF_Large
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Tier

Specifies the tier of the application gateway. The acceptable values for this parameter are:

  • Standard
  • WAF
Type:String
Parameter Sets:Standard, WAF
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

System.String

Outputs

Microsoft.Azure.Commands.Network.Models.PSApplicationGateway