次の方法で共有


Remove-AzApplicationGatewayConnectionDraining

バックエンド HTTP 設定オブジェクトの接続ドレイン構成を削除します。

構文

Default (既定)

Remove-AzApplicationGatewayConnectionDraining
    -BackendHttpSettings <PSApplicationGatewayBackendHttpSettings>
    [-DefaultProfile <IAzureContextContainer>]
    [<CommonParameters>]

説明

Remove-AzApplicationGatewayConnectionDraining コマンドレットは、バックエンド HTTP 設定オブジェクトの接続ドレイン構成を削除します。

例 1

$AppGw = Get-AzApplicationGateway -Name "ApplicationGateway01" -ResourceGroupName "ResourceGroup01"
$Settings  = Get-AzApplicationGatewayBackendHttpSetting -Name "Settings01" -ApplicationGateway $AppGw
Remove-AzApplicationGatewayConnectionDraining -BackendHttpSettings $Settings
Set-AzApplicationGateway -ApplicationGateway $AppGW

最初のコマンドは、ResourceGroup01 という名前のリソース グループ内の ApplicationGateway01 という名前のアプリケーション ゲートウェイを取得し、$AppGw変数に格納します。 2 番目のコマンドは、$AppGwの Settings01 という名前のバックエンド HTTP 設定を取得し、$Settings変数に設定を格納します。 3 番目のコマンドは、$Settingsに格納されているバックエンド HTTP 設定の接続ドレイン構成を削除します。 最後のコマンドは、アプリケーション ゲートウェイを更新します。

パラメーター

-BackendHttpSettings

バックエンドの http 設定

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

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

パラメーター セット

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

-DefaultProfile

Azure との通信に使用される資格情報、アカウント、テナント、サブスクリプション。

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

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

パラメーター セット

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

CommonParameters

このコマンドレットでは、一般的なパラメーター -Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction、-WarningVariable の各パラメーターがサポートされています。 詳細については、about_CommonParametersを参照してください。

入力

PSApplicationGatewayBackendHttpSettings

出力

PSApplicationGatewayBackendHttpSettings