Remove-AzTrafficManagerEndpoint
Traffic Manager からエンドポイントを削除します。
構文
Fields
Remove-AzTrafficManagerEndpoint
-Name <String>
-Type <String>
-ProfileName <String>
-ResourceGroupName <String>
[-Force]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Object
Remove-AzTrafficManagerEndpoint
-TrafficManagerEndpoint <TrafficManagerEndpoint>
[-Force]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
説明
Remove-AzTrafficManagerEndpoint コマンドレットは、Azure Traffic Manager からエンドポイントを削除します。
このコマンドレットは、各変更を Traffic Manager サービスにコミットします。
ローカル Traffic Manager プロファイル オブジェクトから複数のエンドポイントを削除し、1 回の操作で変更をコミットするには、Remove-AzTrafficManagerEndpointConfig コマンドレットを使用します。
パイプライン 演算子を使用して TrafficManagerEndpoint オブジェクトをこのコマンドレットに渡すか、 TrafficManagerEndpoint パラメーターを使用して TrafficManagerEndpoint オブジェクトを指定できます。
または、Name パラメーターと Type パラメーターを ProfileName パラメーターと ResourceGroupName パラメーターと共に使用して、エンドポイントの名前と種類を指定することもできます。
例
例 1: プロファイルからエンドポイントを削除する
Remove-AzTrafficManagerEndpoint -Name "contoso" -ProfileName "ContosoProfile" -ResourceGroupName "ResourceGroup11" -Type AzureEndpoints
このコマンドは、ResourceGroup11 という名前のリソース グループ内の ContosoProfile という名前のプロファイルから contoso という名前の Azure エンドポイントを削除します。
パラメーター
-Confirm
コマンドレットを実行する前に確認を求めるメッセージが表示されます。
パラメーターのプロパティ
パラメーター セット
(All)
| 配置: | Named |
| 必須: | False |
| パイプラインからの値: | False |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
-DefaultProfile
Azure との通信に使用される資格情報、アカウント、テナント、サブスクリプション。
パラメーターのプロパティ
| 型: | IAzureContextContainer
|
| 規定値: | None |
| ワイルドカードのサポート: | False |
| DontShow: | False |
| Aliases: | AzContext, AzureRmContext, AzureCredential |
パラメーター セット
(All)
| 配置: | Named |
| 必須: | False |
| パイプラインからの値: | False |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
-Force
ユーザーの確認を求めずにコマンドを強制的に実行します。
パラメーターのプロパティ
パラメーター セット
(All)
| 配置: | Named |
| 必須: | False |
| パイプラインからの値: | False |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
-Name
このコマンドレットが削除する Traffic Manager エンドポイントの名前を指定します。
パラメーターのプロパティ
| 型: | String
|
| 規定値: | None |
| ワイルドカードのサポート: | False |
| DontShow: | False |
パラメーター セット
Fields
| 配置: | Named |
| 必須: | True |
| パイプラインからの値: | False |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
-ProfileName
このコマンドレットがエンドポイントを削除する Traffic Manager プロファイルの名前を指定します。
プロファイルを取得するには、Get-AzTrafficManagerProfile コマンドレットを使用します。
パラメーターのプロパティ
| 型: | String
|
| 規定値: | None |
| ワイルドカードのサポート: | False |
| DontShow: | False |
パラメーター セット
Fields
| 配置: | Named |
| 必須: | True |
| パイプラインからの値: | False |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
-ResourceGroupName
リソース グループの名前を指定します。
このコマンドレットは、このパラメーターが指定するグループ内の Traffic Manager プロファイルから Traffic Manager エンドポイントを削除します。
パラメーターのプロパティ
| 型: | String
|
| 規定値: | None |
| ワイルドカードのサポート: | False |
| DontShow: | False |
パラメーター セット
Fields
| 配置: | Named |
| 必須: | True |
| パイプラインからの値: | False |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
-TrafficManagerEndpoint
このコマンドレットが削除する Traffic Manager エンドポイントを指定します。
TrafficManagerEndpoint オブジェクトを取得するには、Get-AzTrafficManagerEndpoint コマンドレットを使用します。
パラメーターのプロパティ
パラメーター セット
Object
| 配置: | Named |
| 必須: | True |
| パイプラインからの値: | True |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
-Type
このコマンドレットが Traffic Manager プロファイルに追加するエンドポイントの種類を指定します。
有効な値は次のとおりです。
- AzureEndpoints
- ExternalEndpoints
- NestedEndpoints
パラメーターのプロパティ
| 型: | String
|
| 規定値: | None |
| 指定可能な値: | AzureEndpoints, ExternalEndpoints, NestedEndpoints |
| ワイルドカードのサポート: | False |
| DontShow: | False |
パラメーター セット
Fields
| 配置: | Named |
| 必須: | True |
| パイプラインからの値: | False |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
-WhatIf
コマンドレットを実行した場合の動作を示します。
コマンドレットは実行されません。
パラメーターのプロパティ
| 型: | SwitchParameter
|
| 規定値: | False |
| ワイルドカードのサポート: | False |
| DontShow: | False |
| Aliases: | ウィスコンシン |
パラメーター セット
(All)
| 配置: | Named |
| 必須: | False |
| パイプラインからの値: | False |
| プロパティ名別のパイプラインからの値: | False |
| 残りの引数からの値: | False |
CommonParameters
このコマンドレットでは、一般的なパラメーター -Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction、-WarningVariable の各パラメーターがサポートされています。 詳細については、about_CommonParametersを参照してください。
出力