New-​Azure​Rm​Application​Gateway​Frontend​Port

Creates a front-end port for an application gateway.

Syntax

New-AzureRmApplicationGatewayFrontendPort
   -Name <String>
   -Port <Int32>
   [<CommonParameters>]

Description

The New-AzureRmApplicationGatewayFrontendPort cmdlet creates a front-end port for an Azure application gateway.

Examples

Example1: Create a front-end port

PS C:\>$FrontEndPort = New-AzureRmApplicationGatewayFrontendPort -Name "FrontEndPort01" -Port 80

This command creates a front-end port named FrontEndPort01 on port 80 and stores the result in the variable named $FrontEndPort.

Required Parameters

-Name

Specifies the name of the front-end port that this cmdlet creates.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Port

Specifies the port number of the front-end port.

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

Inputs

System.String

Outputs

Microsoft.Azure.Commands.Network.Models.PSApplicationGatewayFrontendPort