調用DetachCenChildInstance介面卸載雲企業網執行個體中的網路執行個體。
介面說明
DetachCenChildInstance 介面僅支援解除綁定基礎版轉寄路由器下指定的網路執行個體。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
cen:DetachCenChildInstance |
update |
*CenInstance
*virtualborderrouter
*VPC
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| CenId |
string |
是 |
雲企業網執行個體的 ID。 |
cen-7qthudw0ll6jmx**** |
| ChildInstanceId |
string |
是 |
待卸載的網路執行個體 ID。 |
vpc-bp18sth14qii3pnvx**** |
| ChildInstanceType |
string |
是 |
網路執行個體的類型。取值:
|
VPC |
| ChildInstanceRegionId |
string |
是 |
網路執行個體所屬地區 ID。 您可以通過調用 DescribeRegions 介面擷取地區 ID。 |
cn-hangzhou |
| ChildInstanceOwnerId |
integer |
否 |
網路執行個體所屬阿里雲帳號(主帳號)ID。 |
1699000000000000 |
| CenOwnerId |
integer |
否 |
雲企業網執行個體所屬阿里雲帳號(主帳號)ID。 |
1688000000000000 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| RequestId |
string |
請求 ID。 |
0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50 |
樣本
正常返回樣本
JSON格式
{
"RequestId": "0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50"
}
異常返回樣本
JSON格式
{
"RequestId": "0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 400 | OperationFailed.AttachmentReferencedVpcRouteEntryExisted | Operation is failed because there is at least one route entry which next hop is the specified attachment. | 存在路由指向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. | Privatezone Route存在,請先刪除相關配置後重試。 |
| 400 | Forbidden.TypeInvalid | The specified ChildInstanceType or TransitRouterType is not supported by this operation. | 指定的ChildInstanceType或TransitRouterType不支援該操作。 |
| 400 | IncorrectStatus.Vpc | The resource is not in a valid state for the operation. | 當前VPC的狀態不支援該操作,請稍後重試。 |
| 400 | OperationFailed.VbrAttachedVbrHa | The operation is failed because of VbrAttachedVbrHa. | |
| 400 | OperationFailed.RIInstanceExist | Operation is failed because RI exists. | RI存在,無法操作。 |
| 400 | IncorrectStatus.VpcRouteTable | The VPC route table is not in a desired state. | 該操作相關的VPC路由表不處於穩態,無法操作,請稍後重試。 |
| 400 | OperationFailed.CenReferencedVpcRouteEntryExisted | Operation is failed because there is at least one route entry which next hop is the specified cen. | 存在路由指向CEN,無法支援該操作。 |
| 400 | InvalidOperation.BondVbrAssociated | Illegal operation due to associated BondVBR. | 操作非法,因為存在關聯的BondVBR。 |
| 400 | OperationFailed.VbrWithAllowPrefixes | Operation failed because allow prefixes referenced by vbr exists. | VBR上當前配置了允許的首碼路由從而導致操作失敗 |
| 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. | bid不存在。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。