DeleteTransitRouterPeerAttachment 操作を呼び出して、Enterprise Edition トランジットルーターからリージョン間接続を削除します。
操作説明
[DeleteTransitRouterPeerAttachment] 操作は非同期です。リクエストを送信した後、システムは [RequestId] を返しますが、リージョン間接続はすぐに削除されません。システムはバックグラウンドで接続を削除します。[ListTransitRouterPeerAttachments] 操作を呼び出して、リージョン間接続のステータスをクエリできます。
リージョン間接続が [Detaching] 状態の場合、削除中です。この状態では、接続のクエリのみが可能で、他の操作は実行できません。
指定されたリージョン間接続が見つからない場合、接続は削除されています。
[DeleteTransitRouterPeerAttachment] 操作を呼び出すときは、有効なパラメーター値を指定してください。無効なパラメーター値を指定すると、システムは [RequestId] を返しますが、リージョン間接続は削除されません。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
cen:DeleteTransitRouterPeerAttachment |
delete |
*TransitRouterPeerAttachment
|
なし | なし |
リクエストパラメーター
|
パラメーター |
タイプ |
必須 / 任意 |
説明 |
例 |
| ClientToken |
string |
任意 |
リクエストのべき等性を確保するために使用されるクライアントトークン。 異なるリクエスト間でトークンが一意になるように、クライアントからトークンを生成します。ClientToken パラメーターには ASCII 文字のみを含めることができます。 説明
このパラメーターを指定しない場合、システムはリクエストの [RequestId] を [ClientToken] として使用します。各リクエストの [RequestId] は異なります。 |
02fb3da4-130e-11e9-8e44-001**** |
| TransitRouterAttachmentId |
string |
必須 |
リージョン間接続の ID。 |
tr-attach-gyjhtx9sjsxhm6**** |
| DryRun |
boolean |
任意 |
ドライランを実行するかどうかを指定します。ドライランは、権限とインスタンスのステータスを確認します。有効な値:
|
false |
| Force |
boolean |
任意 |
リージョン間接続を強制的に削除するかどうかを指定します。有効な値:
|
false |
レスポンスパラメーター
|
パラメーター |
タイプ |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエスト ID。 |
A01FEDD7-7D69-4EB3-996D-CF79F6F885CA |
例
成功レスポンス
JSONJSON
{
"RequestId": "A01FEDD7-7D69-4EB3-996D-CF79F6F885CA"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | OperationFailed.RouteTablePropagationExist | Operation failed because You are not allowed to delete TransitAttachment with TransitRouter RouteTable Associated. | |
| 400 | OperationFailed.RouteEntryExist | Operation failed because the TransitRouterAttachment exists in RouteTable. | |
| 400 | OperationFailed.RouteTableAssociationExist | Operation failed because TransitRouterRouteTable exists | |
| 400 | OperationFailed.TrafficQosExist | Operation failed because TrafficQos exists | |
| 400 | InvalidValue.PrefixlistCidr | Invalid cidr exist in the specified prefixlist. | |
| 400 | OperationFailed.FlowLogExistOrNisOpened | Operation failed because FlowLog exists or Nis opened. | |
| 400 | OperationFailed.NotSupportForceDelete | Not support force delete attachment. | |
| 400 | InvalidTransitRouterAttachmentId.NotFound | TransitRouterAttachmentId is not found. | |
| 400 | OperationUnsupported.TransitRouterType | The operation is not supported because of the wrong transitRouter type. | |
| 400 | OperationFailed.MulticastGroupExist | Operation is failed because attachment exists in multicast groups. | |
| 400 | OperationUnsupported.TransitRouterAttachment | The specified TransitRouterAttachment has configured TransitRegion. Please remove the configuration first. | |
| 400 | OperationFailed.PrefixListExist | Operation failed because PrefixList exists. | |
| 400 | OperationFailed.InterRegionCloudRouteEntryExist | Operation failed because inter region cloud route associated with specified attachment exist. | |
| 400 | InvalidParameter | Invalid parameter. | |
| 400 | Unauthorized | The AccessKeyId is unauthorized. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。