カスタムルートテーブルを削除します。
操作説明
概要
-
DeleteRouteTable は非同期操作です。リクエストを送信すると、システムはリクエスト ID を返し、タスクをバックグラウンドで実行します。タスクのステータスを確認するには、DescribeRouteTableList 操作を呼び出してください。
カスタムルートテーブルのステータスが Deleting の場合、カスタムルートテーブルは削除中です。
カスタムルートテーブルをクエリできない場合、カスタムルートテーブルは削除済みです。
-
指定された時間内に、同一のカスタムルートテーブルに対して DeleteRouteTable 操作を繰り返し呼び出すことはできません。
今すぐお試しください
テスト
RAM 認証
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| RegionId |
string |
必須 |
カスタムルートテーブルが属する VPC のリージョン ID です。 最新のリージョンリストを取得するには、DescribeRegions 操作を呼び出してください。 |
cn-hangzhou |
| RouteTableId |
string |
必須 |
カスタムルートテーブルの ID です。 |
vtb-bp145q7glnuzdvzu2**** |
| RegionId |
string |
必須 |
カスタムルートテーブルが属する VPC のリージョン ID です。 最新のリージョンリストを取得するには、DescribeRegions 操作を呼び出してください。 |
cn-hangzhou |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエスト ID です。 |
DC668356-BCB4-42FD-9BC3-FA2B2E04B634 |
例
成功レスポンス
JSONJSON
{
"RequestId": "DC668356-BCB4-42FD-9BC3-FA2B2E04B634"
}
エラーレスポンス
JSONJSON
{
"RequestId": "62172DD5-6BAC-45DF-8D44-xxxxxxxx"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | OperationDenied.GatewayAssociated | You cannot delete the specified route table because it still associates with gateway. | |
| 400 | MissingParam.RouteTableId | The param of RouteTableId is missing. | |
| 400 | IncorrectRouteTableType | Route table can be deleted by this action only when it's type is custom. | |
| 400 | IncorrectVSwitchStatus | The current virtual switch status does not support this operation. | 指定された VSwitch はステータスが Pending になっているため、削除できませんでした。 |
| 400 | IncorrectRouteTableStatus.RouteEntryExist | You cannot delete the specified route table because it still has custom route entry. | |
| 400 | IncorrectStatus.cbnStatus | Current CBN status does not support this operation. | |
| 400 | InvalidRegionId.NotFound | Specified value of RegionId is not supported. | |
| 400 | InvalidParameter.Action | This vpc feature is not supported in this region | |
| 400 | IncorrectRouteTableStatus | The current status of the route table does not support this operation. | |
| 400 | DependencyViolation.RouteEntry | Vpc route table has route entry. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。