Add-AzApplicationGatewayFrontendPort

애플리케이션 게이트웨이에 프런트 엔드 포트를 추가합니다.

Syntax

Add-AzApplicationGatewayFrontendPort
   -ApplicationGateway <PSApplicationGateway>
   -Name <String>
   -Port <Int32>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Description

Add-AzApplicationGatewayFrontendPort cmdlet은 프런트 엔드 포트를 애플리케이션 게이트웨이에 추가합니다.

예제

예제 1: 애플리케이션 게이트웨이에 프런트 엔드 포트 추가

$AppGw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
$AppGw = Add-AzApplicationGatewayFrontendPort -ApplicationGateway $AppGw -Name "FrontEndPort01" -Port 80

첫 번째 명령은 ResourceGroup01이라는 리소스 그룹에 속하는 ApplicationGateway01이라는 애플리케이션 게이트웨이를 가져오고 $AppGw 변수에 저장합니다. 두 번째 명령은 포트 80을 $AppGw 저장된 애플리케이션 게이트웨이의 프런트 엔드 포트로 추가하고 포트 이름을 FrontEndPort01로 지정합니다.

매개 변수

-ApplicationGateway

이 cmdlet이 프런트 엔드 포트를 추가하는 애플리케이션 게이트웨이를 지정합니다.

Type:PSApplicationGateway
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-DefaultProfile

Azure와의 통신에 사용되는 자격 증명, 계정, 테넌트 및 구독입니다.

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

프런트 엔드 포트의 이름을 지정합니다.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Port

포트 번호를 지정합니다.

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

입력

PSApplicationGateway

출력

PSApplicationGateway