Tüm Ürünler
Search
Belge Merkezi

:DeleteTransitRouterPeerAttachment

Son Güncelleme:Sep 29, 2026

Kurumsal Sürüm bir transit yönlendiriciden bölgeler arası bir bağlantıyı silmek için DeleteTransitRouterPeerAttachment işlemini çağırır.

Operation description

DeleteTransitRouterPeerAttachment işlemi asenkrondur. Bir istek gönderdikten sonra sistem bir RequestId döndürür ancak bölgeler arası bağlantı hemen silinmez. Silme görevi arka planda çalışmaya devam eder. Bölgeler arası bağlantının durumunu sorgulamak için ListTransitRouterPeerAttachments işlemini çağırabilirsiniz.

  • Bölgeler arası bağlantı Detaching durumundaysa, bölgeler arası bağlantı siliniyor demektir. Bu durumda bölgeler arası bağlantıyı yalnızca sorgulayabilir, üzerinde başka işlem yapamazsınız.

  • Belirtilen bölgeler arası bağlantı bulunamazsa, bölgeler arası bağlantı silinmiş demektir.

DeleteTransitRouterPeerAttachment 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 bölgeler arası bağlantıyı Kurumsal Sürüm transit yönlendiriciden 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:DeleteTransitRouterPeerAttachment

delete

*TransitRouterPeerAttachment

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

Bölgeler arası bağlantının kimliği.

tr-attach-gyjhtx9sjsxhm6****

DryRun

boolean

No

İzin ve örnek durum kontrolleri dahil olmak üzere bu silme isteği için 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 bölgeler arası bağlantı silinir.

  • true: Bir kontrol isteği gönderir. Bölgeler arası bağlantı gerçekten silinmeden yalnızca kontrol yapılır. Kontrol öğeleri, gerekli parametrelerin belirtilip belirtilmediğini ve istek biçimini içerir. 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

Bölgeler arası bağlantının zorla silinip silinmeyeceğini belirtir. Geçerli değerler:

  • false (varsayılan): Bölgeler arası bağlantıyı silmeden önce sistem, ilişkili yönlendirme ve rota öğrenimi gibi ilgili kaynak bağımlılıklarının olup olmadığını kontrol eder. İlgili bağımlılıklar varsa silmeye izin verilmez ve ilgili hata döndürülür.

  • true: Bölgeler arası bağlantı silinirken, ilgili tüm bağımlılıklar varsayılan olarak silinir.

false

Response elements

Element

Type

Description

Example

object

RequestId

string

İstek kimliği.

A01FEDD7-7D69-4EB3-996D-CF79F6F885CA

Examples

Success response

JSON format

{
  "RequestId": "A01FEDD7-7D69-4EB3-996D-CF79F6F885CA"
}

Error codes

HTTP status code

Error code

Error message

Description

400 OperationFailed.RouteTablePropagationExist Operation failed because You are not allowed to delete TransitAttachment with TransitRouter RouteTable Associated.
400 OperationFailed.RouteEntryExist Operation failed because the TransitRouterAttachment exists in RouteTable.
400 OperationFailed.RouteTableAssociationExist Operation failed because TransitRouterRouteTable exists
400 OperationFailed.TrafficQosExist Operation failed because TrafficQos exists
400 InvalidValue.PrefixlistCidr Invalid cidr exist in the specified prefixlist.
400 OperationFailed.FlowLogExistOrNisOpened Operation failed because FlowLog exists or Nis opened.
400 OperationFailed.NotSupportForceDelete Not support force delete attachment.
400 InvalidTransitRouterAttachmentId.NotFound TransitRouterAttachmentId is not found.
400 OperationUnsupported.TransitRouterType The operation is not supported because of the wrong transitRouter type.
400 OperationFailed.MulticastGroupExist Operation is failed because attachment exists in multicast groups.
400 OperationUnsupported.TransitRouterAttachment The specified TransitRouterAttachment has configured TransitRegion. Please remove the configuration first.
400 OperationFailed.PrefixListExist Operation failed because PrefixList exists.
400 OperationFailed.InterRegionCloudRouteEntryExist Operation failed because inter region cloud route associated with specified attachment exist.
400 InvalidParameter Invalid parameter.
400 Unauthorized The AccessKeyId is unauthorized.
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.