DeleteTransitRouterVpcAttachment işlemini çağırarak bir Kurumsal Sürüm geçiş yönlendiricisinden sanal özel bulut (VPC) bağlantısını siler.
Operation description
DeleteTransitRouterVpcAttachment eş zamanlı olmayan bir işlemdir. Bir istek gönderdikten sonra sistem bir RequestId döndürür ancak VPC bağlantısı henüz silinmemiştir. Silme görevi arka planda çalışmaya devam eder. VPC bağlantısının durumunu sorgulamak için ListTransitRouterVpcAttachments işlemini çağırabilirsiniz.
VPC bağlantısı Detaching durumundaysa, VPC bağlantısı siliniyor demektir. Bu durumda yalnızca VPC bağlantısını sorgulayabilirsiniz. VPC bağlantısı üzerinde başka işlemler gerçekleştiremezsiniz.
VPC bağlantısı bulunamıyorsa, VPC bağlantısı silinmiş demektir.
DeleteTransitRouterVpcAttachment işlemini çağırırken, belirttiğiniz parametre değerlerinin geçerli olduğundan emin olun. Geçersiz parametre değerleri belirtirseniz, sistem yine de bir RequestId döndürür ancak VPC bağlantısını Kurumsal Sürüm geçiş yönlendiricisinden silmez.
Başlamadan önce
Bir VPC bağlantısını silmeden önce, VPC'ye bağlı örneği kullanarak PrivateZone'a erişmek için bir yönlendirme kuralı yapılandırmadığınızdan emin olun. PrivateZone yönlendirme kuralını silmek için UnroutePrivateZoneInCenToVpc belgesine bakın.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:DeleteTransitRouterVpcAttachment |
delete |
*TransitRouterVpcAttachment
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ClientToken |
string |
No |
İsteğin idempotent olmasını sağlamak için kullanılan istemci belirteci. Belirteci oluşturmak için istemciyi kullanabilirsiniz, ancak belirtecin farklı istekler arasında benzersiz olduğundan emin olmalısınız. İstemci belirteci yalnızca ASCII karakterleri içerebilir. Not
Bu parametreyi belirtmezseniz, sistem otomatik olarak API isteğinin RequestId değerini ClientToken olarak kullanır. RequestId her API isteği için farklı olabilir. |
02fb3da4-130e-11e9-8e44-001**** |
| TransitRouterAttachmentId |
string |
Yes |
VPC bağlantısının kimliği. |
tr-attach-ia340z7xis7t5s**** |
| DryRun |
boolean |
No |
İzin ve örnek durumu doğrulaması dahil olmak üzere deneme çalıştırması yapılıp yapılmayacağını belirtir. Geçerli değerler:
|
false |
| Force |
boolean |
No |
VPC bağlantısının zorla silinip silinmeyeceğini belirtir. Geçerli değerler:
|
false |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Yanıt. |
||
| RequestId |
string |
İstek kimliği. |
7E61D334-4025-41EF-9145-FC327B35301D |
Examples
Success response
JSON format
{
"RequestId": "7E61D334-4025-41EF-9145-FC327B35301D"
}
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 | OperationFailed.RouteTablePropagationExist | The specified TransitRouterAttachment has configured RouteTablePropagation. Please remove the configuration first. | |
| 400 | OperationFailed.MulticastDomainAssociationExist | The specified TransitRouterAttachment has configured MulticastDomainAssociation. Please remove the configuration first. | |
| 400 | OperationUnsupported.TransitRouterType | The specified TransitRouterType does not support the operation. | |
| 400 | OperationFailed.PrefixListExist | Operation failed because PrefixList exists. | |
| 400 | InvalidTransitRouterAttachmentId.NotFound | TransitRouterAttachmentId is not found. | |
| 400 | IncorrectStatus.VpcRouteEntry | The resource is not in a valid state for the attachment operation. | |
| 400 | IncorrectStatus.VpcSwitch | The resource is not in a valid state for the attachment operation. | |
| 400 | IncorrectStatus.Vpc | The resource is not in a valid state for the operation. | |
| 400 | OperationFailed.NotSupportForceDelete | Not support force delete attachment. | |
| 400 | IncorrectStatus.VpcRouteTable | The VPC route table is not in a desired state. | |
| 400 | OperationFailed.RouteEntryExist | Failed to delete the instance because a route table entry points to the instance. | |
| 400 | OperationFailed.RouteTableAssociationExist | Operation failed because there is associated routing table. | |
| 400 | IncorrectStatus.VpcResource | The resource is not in a valid state for the attachment operation. | |
| 400 | OperationFailed.FlowLogExistOrNisOpened | Operation failed because FlowLog exists or Nis opened. | |
| 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 | InvalidParameter.TransitRouterAttachmentId | The specified parameter TransitRouterAttachmentId is invalid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.