< Back

New-AzureRmApplicationGatewayFrontendPort

Tue Jan 29, 2019 9:55 pm

NAME New-AzureRmApplicationGatewayFrontendPort



SYNOPSIS

Creates a front-end port for an application gateway.





SYNTAX

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





DESCRIPTION

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





PARAMETERS

-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

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



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Port <Int32>

Specifies the port number of the front-end port.



Required? true

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

System.String







OUTPUTS

Microsoft.Azure.Commands.Network.Models.PSApplicationGatewayFrontendPort







NOTES









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.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... ontendport

Add-AzureRmApplicationGatewayFrontendPort

Get-AzureRmApplicationGatewayFrontendPort

Remove-AzureRmApplicationGatewayFrontendPort

Set-AzureRmApplicationGatewayFrontendPort