New-AzApplicationGatewaySku
Creates a SKU for an application gateway.
Syntax
Default (Default)
New-AzApplicationGatewaySku
-Name <String>
-Tier <String>
[-Capacity <Int32>]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The New-AzApplicationGatewaySku cmdlet creates a stock keeping unit (SKU) for an Azure application gateway.
Examples
Example 1: Create a SKU for an Azure application gateway
$SKU = New-AzApplicationGatewaySku -Name "Standard_Small" -Tier "Standard" -Capacity 2
This command creates a SKU named Standard_Small for an Azure application gateway and stores the result in the variable named $SKU.
Parameters
-Capacity
Specifies the number of instances of an application gateway.
Parameter properties
Type: | |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with azure.
Parameter properties
Type: | IAzureContextContainer |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Name
Specifies the name of the SKU. The acceptable values for this parameter are:
- Standard_Small
- Standard_Medium
- Standard_Large
- WAF_Medium
- WAF_Large
- Standard_v2
- WAF_v2
- Basic
Parameter properties
Type: | String |
Default value: | None |
Accepted values: | Standard_Small, Standard_Medium, Standard_Large, WAF_Medium, WAF_Large, Standard_v2, WAF_v2, Basic |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Tier
Specifies the tier of the SKU. The acceptable values for this parameter are:
- Standard
- WAF
- Standard_v2
- WAF_v2
- Basic
Parameter properties
Type: | String |
Default value: | None |
Accepted values: | Standard, WAF, Standard_v2, WAF_v2, Basic |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.