RevokeInstanceFromTransitRouter
別の Alibaba Cloud アカウントに属するネットワークインスタンスに対するトランジットルーターの権限を取り消します。
操作説明
RevokeInstanceFromTransitRouter can be used to revoke permissions on virtual private clouds (VPCs), virtual border routers (VBRs), IPsec-VPN connections, and Express Connect Router (ECRs) that belong to another Alibaba Cloud account.
To revoke permissions on Cloud Connect Network (CCN) instances that belong to another Alibaba Cloud account, call the RevokeInstanceFromCbn operation.
Prerequisites
Before you call RevokeInstanceFromTransitRouter, you must detach the network instances from the transit router.
For more information about how to detach VPCs from Enterprise Edition transit routers, see DeleteTransitRouterVpcAttachment.
For more information about how to detach VBRs from Enterprise Edition transit routers, see DeleteTransitRouterVbrAttachment.
For more information about how to detach IPsec-VPN connections from Enterprise Edition transit routers, see DeleteTransitRouterVpnAttachment.
For more information about how to detach ECRs from Enterprise Edition transit routers, see DeleteTransitRouterEcrAttachment.
For more information about how to detach network instances from Basic Edition transit routers, see DetachCenChildInstance.
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
cen:RevokeInstanceFromTransitRouter |
delete |
*全部资源
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| CenId |
string |
必須 |
トランジットルーターが属する Cloud Enterprise Network (CEN) インスタンスの ID。 |
cen-44m0p68spvlrqq**** |
| InstanceId |
string |
必須 |
ネットワークインスタンスの ID。 |
vpc-bp1h8vbrbcgohcju5**** |
| InstanceType |
string |
必須 |
ネットワークインスタンスのタイプ。有効な値:
|
VPC |
| RegionId |
string |
任意 |
ネットワークインスタンスのリージョン ID。 DescribeChildInstanceRegions 操作を呼び出して、最新のリージョンリストをクエリできます。 |
cn-hangzhou |
| CenOwnerId |
integer |
必須 |
CEN インスタンスが属する Alibaba Cloud アカウントの ID。 |
1250123456123456 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
AA4BFFD1-5090-5896-935F-4B353557F1A8 |
例
成功レスポンス
JSONJSON
{
"RequestId": "AA4BFFD1-5090-5896-935F-4B353557F1A8"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | IncorrectStatus.Cen | The status of Cen is incorrect. | |
| 400 | OperationDenied.AttachmentExist | Operation is not allowed because the specified instance has already been attached to CEN. | |
| 400 | InvalidParameter | Invalid parameter. | |
| 400 | Unauthorized | The AccessKeyId is unauthorized. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。