다음을 통해 공유


Remove-AzApplicationGatewayFrontendPort

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

구문

Remove-AzApplicationGatewayFrontendPort
      -Name <String>
      -ApplicationGateway <PSApplicationGateway>
      [-DefaultProfile <IAzureContextContainer>]
      [<CommonParameters>]

Description

Remove-AzApplicationGatewayFrontendPort cmdlet은 Azure 애플리케이션 게이트웨이에서 프런트 엔드 포트를 제거합니다.

예제

예: 애플리케이션 게이트웨이에서 프런트 엔드 포트 제거

$AppGw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
Remove-AzApplicationGatewayFrontendPort -ApplicationGateway $AppGw -Name "FrontEndPort02"
Set-AzApplicationGateway -ApplicationGateway $AppGW

첫 번째 명령은 ResourceGroup01이라는 리소스 그룹에 속하는 ApplicationGateway01이라는 애플리케이션 게이트웨이를 가져오고 게이트웨이를 $AppGw 변수에 저장합니다. 두 번째 명령은 Application Gateway에서 FrontEndPort02라는 포트를 제거합니다. 마지막 명령은 애플리케이션 게이트웨이를 업데이트합니다.

매개 변수

-ApplicationGateway

프런트 엔드 포트를 제거할 애플리케이션 게이트웨이를 지정합니다.

형식:PSApplicationGateway
Position:Named
Default value:None
필수:True
파이프라인 입력 허용:True
와일드카드 문자 허용:False

-DefaultProfile

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

형식:IAzureContextContainer
별칭:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
필수:False
파이프라인 입력 허용:False
와일드카드 문자 허용:False

-Name

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

형식:String
Position:Named
Default value:None
필수:True
파이프라인 입력 허용:False
와일드카드 문자 허용:False

입력

PSApplicationGateway

출력

PSApplicationGateway