< Back
Get-AzureRmApplicationGatewayFrontendPort
Post
NAME Get-AzureRmApplicationGatewayFrontendPort
SYNOPSIS
Gets the front-end port of an application gateway.
SYNTAX
Get-AzureRmApplicationGatewayFrontendPort -ApplicationGateway <PSApplicationGateway> [-DefaultProfile <IAzureContextContainer>] [-Name <String>]
[<CommonParameters>]
DESCRIPTION
The Get-AzureRmApplicationGatewayFrontendPort cmdlet gets the front-end port of an application gateway.
PARAMETERS
-ApplicationGateway <PSApplicationGateway>
Specifies the application gateway object that contains the 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 to get.
Required? false
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
Example 1: Get a specified front-end port
PS C:\\>$AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
PS C:\\> $FrontEndPort = Get-AzureRmApplicationGatewayFrontendIPort -Name "FrontEndPort01" -ApplicationGateway $AppGw
The first command gets an application gateway named ApplicationGateway01 from the resource group named ResourceGroup01, and stores it in the
$AppGw variable. The second command gets the front-end port named FrontEndPort01 from $AppGw and stores it in the $FrontEndPort variable.
Example 2: Get a list of front-end ports
PS C:\\>$AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
PS C:\\> $FrontEndPorts = Get-AzureRmApplicationGatewayFrontendIPort -ApplicationGateway $AppGw
The first command gets an application gateway named ApplicationGateway01 from the resource group named ResourceGroup01, and stores it in the
$AppGw variable. The second command gets a list of the front-end ports from $AppGw and stores it in the $FrontEndPorts variable.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... ontendport
Add-AzureRmApplicationGatewayFrontendPort
New-AzureRmApplicationGatewayFrontendPort
Remove-AzureRmApplicationGatewayFrontendPort
Set-AzureRmApplicationGatewayFrontendPort
SYNOPSIS
Gets the front-end port of an application gateway.
SYNTAX
Get-AzureRmApplicationGatewayFrontendPort -ApplicationGateway <PSApplicationGateway> [-DefaultProfile <IAzureContextContainer>] [-Name <String>]
[<CommonParameters>]
DESCRIPTION
The Get-AzureRmApplicationGatewayFrontendPort cmdlet gets the front-end port of an application gateway.
PARAMETERS
-ApplicationGateway <PSApplicationGateway>
Specifies the application gateway object that contains the 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 to get.
Required? false
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
Example 1: Get a specified front-end port
PS C:\\>$AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
PS C:\\> $FrontEndPort = Get-AzureRmApplicationGatewayFrontendIPort -Name "FrontEndPort01" -ApplicationGateway $AppGw
The first command gets an application gateway named ApplicationGateway01 from the resource group named ResourceGroup01, and stores it in the
$AppGw variable. The second command gets the front-end port named FrontEndPort01 from $AppGw and stores it in the $FrontEndPort variable.
Example 2: Get a list of front-end ports
PS C:\\>$AppGw = Get-AzureRmApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
PS C:\\> $FrontEndPorts = Get-AzureRmApplicationGatewayFrontendIPort -ApplicationGateway $AppGw
The first command gets an application gateway named ApplicationGateway01 from the resource group named ResourceGroup01, and stores it in the
$AppGw variable. The second command gets a list of the front-end ports from $AppGw and stores it in the $FrontEndPorts variable.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powers ... ontendport
Add-AzureRmApplicationGatewayFrontendPort
New-AzureRmApplicationGatewayFrontendPort
Remove-AzureRmApplicationGatewayFrontendPort
Set-AzureRmApplicationGatewayFrontendPort