次の方法で共有


Remove-AzApplicationGatewayFrontendPort

Removes a front-end port from an application gateway.

構文

Default (既定)

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

説明

The Remove-AzApplicationGatewayFrontendPort cmdlet removes a front-end port from an Azure application gateway.

Example: Remove a front-end port from an application gateway

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

The first command gets an application gateway named ApplicationGateway01 that belongs to the resource group named ResourceGroup01 and stores the gateway in $AppGw variable. The second command removes the port named FrontEndPort02 from the application gateway. The last command updates the application gateway.

パラメーター

-ApplicationGateway

Specifies the application gateway from which to remove a front-end port.

パラメーターのプロパティ

型:PSApplicationGateway
規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

(All)
配置:Named
必須:True
パイプラインからの値:True
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

-DefaultProfile

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

パラメーターのプロパティ

型:IAzureContextContainer
規定値:None
ワイルドカードのサポート:False
DontShow:False
Aliases:AzContext, AzureRmContext, AzureCredential

パラメーター セット

(All)
配置:Named
必須:False
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

-Name

Specifies name of the frontend port to remove.

パラメーターのプロパティ

型:String
規定値:None
ワイルドカードのサポート:False
DontShow:False

パラメーター セット

(All)
配置:Named
必須:True
パイプラインからの値:False
プロパティ名別のパイプラインからの値:False
残りの引数からの値:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

入力

PSApplicationGateway

出力

PSApplicationGateway