呼叫 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"
}
錯誤碼
|
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. | 目前資源狀態不支援此操作,請稍後重試。 |
| 400 | InvalidParameter.CenId | The specified parameter CenId is invalid. | |
| 404 | Bid.NotFound | Not found Bid by specified AliUid. | bid 不存在。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。