New-​Azure​Application​Gateway

Creates an application gateway.

Syntax

New-AzureApplicationGateway
   [-Description <String>]
   [-GatewaySize <String>]
   [-InstanceCount <UInt32>]
   -Name <String>
   [-Profile <AzureSMProfile>]
   -Subnets <System.Collections.Generic.List`1[System.String]>
   -VnetName <String>
   [<CommonParameters>]

Description

The New-AzureApplicationGateway cmdlet creates an application gateway.

Examples

Example 1: Create an application gateway

PS C:\> New-AzureApplicationGateway -Name "ApplicationGateway06" -VnetName "VirutalNetwork17" -Subnets @("Subnet01", "Subnet02", "Subnet03")

This command creates an application gateway named ApplicationGateway06. The command deploys the gateway in VirtualNetwork17 and in the specified subnets.

Required Parameters

-Name

Specifies a name for the new application gateway.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Subnets

Specifies an array of subnets in which this cmdlet deploys the application gateway.

Type:System.Collections.Generic.List`1[System.String]
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-VnetName

Specifies the virtual network in which this cmdlet deploys the application gateway.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-Description

Specifies a description that this cmdlet assigns to the application gateway.

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-GatewaySize

Specifies the size that this cmdlet assigns to the application gateway. Valid values are:

  • Small
  • Medium
  • Large
Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-InstanceCount

Specifies the number of instances that this cmdlet assigns to the application gateway.

Type:UInt32
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-Profile

Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.

Type:AzureSMProfile
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

System.String

Outputs

Microsoft.WindowsAzure.Management.ApplicationGateway.Models.ApplicationGatewayOperationResponse