Cloud Enterprise Network (CEN) インスタンスからネットワークインスタンスをデタッチします。
操作説明
DetachCenChildInstance インターフェースは、ベーシック転送ルーターで指定されたネットワーク インスタンスの接続解除のみをサポートします。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
cen:DetachCenChildInstance |
update |
*CenInstance
*virtualborderrouter
*VPC
|
なし | なし |
リクエストパラメーター
|
パラメーター |
タイプ |
必須 / 任意 |
説明 |
例 |
| CenId |
string |
必須 |
CEN インスタンスの ID です。 |
cen-7qthudw0ll6jmx**** |
| ChildInstanceId |
string |
必須 |
CEN インスタンスからデタッチするネットワーク インスタンスの ID です。 |
vpc-bp18sth14qii3pnvx**** |
| ChildInstanceType |
string |
必須 |
ネットワーク インスタンスのタイプ。有効な値:
|
VPC |
| ChildInstanceRegionId |
string |
必須 |
ネットワーク インスタンスがデプロイされているリージョンの ID です。 最新のリージョン リストを照会するには、DescribeRegions 操作を呼び出すことができます。 |
cn-hangzhou |
| ChildInstanceOwnerId |
integer |
任意 |
ネットワーク インスタンスが属する Alibaba Cloud アカウントの ID です。 |
1699000000000000 |
| CenOwnerId |
integer |
任意 |
CEN インスタンスが属する Alibaba Cloud アカウントの ID です。 |
1688000000000000 |
レスポンスパラメーター
|
パラメーター |
タイプ |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエストの ID です。 |
0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50 |
例
成功レスポンス
JSONJSON
{
"RequestId": "0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | OperationFailed.AttachmentReferencedVpcRouteEntryExisted | Operation is failed because there is at least one route entry which next hop is the specified attachment. | |
| 400 | Forbidden.OptimizationCCNExisted | Operation Forbidden. CCN with optimization is on, please turn it off firstly. | |
| 400 | Forbidden.PrivatezoneRouteExisted | Operation Forbidden. There is a Privatezone Route associated with the instance, please dessociate it firstly. | |
| 400 | Forbidden.TypeInvalid | The specified ChildInstanceType or TransitRouterType is not supported by this operation. | |
| 400 | IncorrectStatus.Vpc | The resource is not in a valid state for the operation. | |
| 400 | OperationFailed.VbrAttachedVbrHa | The operation is failed because of VbrAttachedVbrHa. | |
| 400 | OperationFailed.RIInstanceExist | Operation is failed because RI exists. | |
| 400 | IncorrectStatus.VpcRouteTable | The VPC route table is not in a desired state. | |
| 400 | OperationFailed.CenReferencedVpcRouteEntryExisted | Operation is failed because there is at least one route entry which next hop is the specified cen. | |
| 400 | InvalidOperation.BondVbrAssociated | Illegal operation due to associated BondVBR. | |
| 400 | OperationFailed.VbrWithAllowPrefixes | Operation failed because allow prefixes referenced by vbr exists. | |
| 400 | InvalidOperation.CustomRegionDomainRouteEntryExist | Operation is invalid because custom region-domain route entry exist. | |
| 400 | InvalidParameter | Invalid parameter. | |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | |
| 400 | OperationNotPermitted.AttachmentManagedByCloudService | The specified Attachment managed by cloud service can only be deleted through cloud service. | |
| 400 | InvalidStatus.ResourceStatus | The resource is not in a valid state for the attachment operation. | |
| 404 | Bid.NotFound | Not found Bid by specified AliUid. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。