Tüm Ürünler
Search
Belge Merkezi

:DeleteTransitRouterVbrAttachment

Son Güncelleme:Sep 29, 2026

Kurumsal Sürüm geçiş yönlendiricisinden bir sanal sınır yönlendirici (VBR) bağlantısını siler.

Operation description

DeleteTransitRouterVbrAttachment eş zamanlı olmayan bir işlemdir. Bir istek gönderdikten sonra sistem bir RequestId döndürür ancak VBR bağlantısı henüz silinmemiştir. Silme görevi arka planda çalışmaya devam eder. VBR bağlantısının durumunu sorgulamak için ListTransitRouterVbrAttachments işlemini çağırabilirsiniz.

  • VBR bağlantısı Detaching durumundaysa, VBR bağlantısı siliniyor demektir. Bu durumda VBR bağlantısını yalnızca sorgulayabilir, üzerinde başka işlemler gerçekleştiremezsiniz.

  • Belirtilen VBR bağlantısı bulunamazsa, VBR bağlantısı silinmiştir.

DeleteTransitRouterVbrAttachment işlemini çağırırken belirttiğiniz parametre değerlerinin doğru olduğundan emin olun. Yanlış parametre değerleri belirtirseniz, sistem yine de bir RequestId döndürür ancak VBR bağlantısını Kurumsal Sürüm geçiş yönlendiricisinden silmez.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

cen:DeleteTransitRouterVbrAttachment

delete

*TransitRouterVbrAttachment

acs:cen:*:{#accountId}:centransitrouterattachment/{#centransitrouterattachmentId}

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

VBR bağlantısının kimliği.

tr-attach-9nlnjv7by7n7a****

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 (varsayılan): Normal bir istek gönderir. İstek kontrolü geçerse VBR bağlantısı silinir.

  • true: Bir kontrol isteği gönderir. Yalnızca doğrulama yapılır ve VBR bağlantısı silinmez. Sistem, gerekli parametrelerin belirtilip belirtilmediğini ve istek biçiminin geçerli olup olmadığını kontrol eder. Kontrol başarısız olursa ilgili hata döndürülür. Kontrol başarılı olursa ilgili istek kimliği döndürülür.

false

Force

boolean

No

VBR bağlantısının zorla silinip silinmeyeceğini belirtir. Geçerli değerler:

  • false (varsayılan): VBR bağlantısı silinmeden önce sistem, ilişkili yönlendirme ve rota öğrenimi gibi ilgili kaynak bağımlılıklarının var olup olmadığını kontrol eder. Bağımlılıklar varsa silme işlemine izin verilmez ve ilgili hata döndürülür.

  • true: VBR bağlantısı silindiğinde, ilgili tüm bağımlılıklar da silinir.

false

Response elements

Element

Type

Description

Example

object

Yanıt.

RequestId

string

İstek kimliği.

3EDA94DE-0AE5-41FC-A91E-7170E408E0FD

Examples

Success response

JSON format

{
  "RequestId": "3EDA94DE-0AE5-41FC-A91E-7170E408E0FD"
}

Error codes

HTTP status code

Error code

Error message

Description

400 OperationFailed.RouteTableAssociationExist Operation failed because TransitRouterRouteTable exists
400 OperationFailed.RouteEntryExist Operation failed because the TransitRouterAttachment exists in RouteTable.
400 OperationFailed.RouteTablePropagationExist The specified TransitRouterAttachment has configured RouteTablePropagation. Please remove the configuration first.
400 OperationFailed.VbrAttachedVbrHa The operation is failed because of VbrAttachedVbrHa.
400 OperationFailed.FlowLogExistOrNisOpened Operation failed because FlowLog exists or Nis opened.
400 OperationUnsupported.TransitRouterType The specified TransitRouterType does not support the operation.
400 InstanceReferenced.VpcRouteEntry The specified attachment is referenced by vpc route entry.
400 OperationFailed.NotSupportForceDelete Not support force delete attachment.
400 InvalidTransitRouterAttachmentId.NotFound The TransitRouterAttachmentId is not found.
400 OperationFailed.PrefixListExist Operation failed because PrefixList exists.
400 OperationFailed.VbrWithAllowPrefixes Operation failed because allow prefixes referenced by vbr exists.
400 InvalidParameter Invalid parameter.
400 Unauthorized The AccessKeyId is unauthorized.
400 InstanceReferenced.VbrRouteEntry Operation is failed because there is at least one route entry which next hop is the specified attachment.
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.