< Back
Add-AzureRmApplicationGatewayFrontendPort
Post
NAME Add-AzureRmApplicationGatewayFrontendPort
SYNOPSIS
Adds a front-end port to an application gateway.
SYNTAX
Add-AzureRmApplicationGatewayFrontendPort -ApplicationGateway <PSApplicationGateway> [-DefaultProfile <IAzureContextContainer>] -Name <String>
-Port <Int32> [<CommonParameters>]
DESCRIPTION
The Add-AzureRmApplicationGatewayFrontendPort cmdlet adds a front-end port to an application gateway.
PARAMETERS
-ApplicationGateway <PSApplicationGateway>
Specifies the application gateway to which this cmdlet adds a front-end port.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-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.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Port <Int32>
Specifies the port number.
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.PSApplicationGateway
NOTES
Example 1: Add a front-end port to an application gateway
PS C:\\>$AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
PS C:\\> $ AppGw = Add-AzureRmApplicationGatewayFrontendPort -ApplicationGateway $AppGw -Name "FrontEndPort01" -Port 80
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 adds port 80 as a front-end port for the application gateway stored in $AppGw and names the port
FrontEndPort01.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... ontendport
Get-AzureRmApplicationGatewayFrontendPort
New-AzureRmApplicationGatewayFrontendPort
Remove-AzureRmApplicationGatewayFrontendPort
Set-AzureRmApplicationGatewayFrontendPort
SYNOPSIS
Adds a front-end port to an application gateway.
SYNTAX
Add-AzureRmApplicationGatewayFrontendPort -ApplicationGateway <PSApplicationGateway> [-DefaultProfile <IAzureContextContainer>] -Name <String>
-Port <Int32> [<CommonParameters>]
DESCRIPTION
The Add-AzureRmApplicationGatewayFrontendPort cmdlet adds a front-end port to an application gateway.
PARAMETERS
-ApplicationGateway <PSApplicationGateway>
Specifies the application gateway to which this cmdlet adds a front-end port.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-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.
Required? true
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-Port <Int32>
Specifies the port number.
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.PSApplicationGateway
NOTES
Example 1: Add a front-end port to an application gateway
PS C:\\>$AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
PS C:\\> $ AppGw = Add-AzureRmApplicationGatewayFrontendPort -ApplicationGateway $AppGw -Name "FrontEndPort01" -Port 80
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 adds port 80 as a front-end port for the application gateway stored in $AppGw and names the port
FrontEndPort01.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... ontendport
Get-AzureRmApplicationGatewayFrontendPort
New-AzureRmApplicationGatewayFrontendPort
Remove-AzureRmApplicationGatewayFrontendPort
Set-AzureRmApplicationGatewayFrontendPort