Bir ağ örneğini Cloud Enterprise Network (CEN) örneğinden ayırır.
Operation description
DetachCenChildInstance işlemi, yalnızca ağ örneklerinin Basic Edition transit yönlendiriciden ayrılmasını destekler.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:DetachCenChildInstance |
update |
*CenInstance
*virtualborderrouter
*VPC
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CenId |
string |
Yes |
CEN örneğinin kimliği. |
cen-7qthudw0ll6jmx**** |
| ChildInstanceId |
string |
Yes |
Ayrılacak ağ örneğinin kimliği. |
vpc-bp18sth14qii3pnvx**** |
| ChildInstanceType |
string |
Yes |
Ağ örneğinin türü. Geçerli değerler:
|
VPC |
| ChildInstanceRegionId |
string |
Yes |
Ağ örneğinin bölge kimliği. Bölge kimliğini sorgulamak için DescribeRegions işlemini çağırabilirsiniz. |
cn-hangzhou |
| ChildInstanceOwnerId |
integer |
No |
Ağ örneğine sahip olan Alibaba Cloud hesabının kimliği. |
1699000000000000 |
| CenOwnerId |
integer |
No |
CEN örneğine sahip olan Alibaba Cloud hesabının kimliği. |
1688000000000000 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
İstek kimliği. |
0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50 |
Examples
Success response
JSON format
{
"RequestId": "0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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. | |
| 400 | InvalidParameter.CenId | The specified parameter CenId is invalid. | |
| 404 | Bid.NotFound | Not found Bid by specified AliUid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.