Tüm Ürünler
Search
Belge Merkezi

:UpdateTransitRouterPeerAttachmentAttribute

Son Güncelleme:Oct 10, 2026

UpdateTransitRouterPeerAttachmentAttribute işlemini çağırarak Kurumsal Sürüm geçiş yönlendiricisindeki bölgeler arası bağlantının yapılandırmasını değiştirir.

Operation description

UpdateTransitRouterPeerAttachmentAttribute eşzamansız bir işlemdir. Bir istek gönderdikten sonra sistem bir RequestId döndürür ancak bölgeler arası bağlantı henüz değiştirilmemiştir. Değişiklik 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ı Modifying durumundaysa, bölgeler arası bağlantı değiştiriliyor demektir. Bu durumda, bölgeler arası bağlantıyı yalnızca sorgulayabilir, üzerinde başka işlem yapamazsınız.

  • Bölgeler arası bağlantı Attached durumundaysa, bölgeler arası bağlantı değiştirilmiş demektir.

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:UpdateTransitRouterPeerAttachmentAttribute

update

*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 RequestId değerini ClientToken olarak kullanır. Her API isteğinin RequestId değeri farklı olabilir.

02fb3da4-130e-11e9-8e44-001****

TransitRouterAttachmentId

string

Yes

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

tr-attach-ft94dcrbc3e5taun3x

TransitRouterAttachmentName

string

No

Bölgeler arası bağlantının yeni adı.

Ad boş olabilir veya 1 ila 128 karakter uzunluğunda olabilir ve http:// veya https:// ile başlayamaz.

testname

TransitRouterAttachmentDescription

string

No

Bölgeler arası bağlantının yeni açıklaması.

Açıklama boş olabilir veya 1 ila 256 karakter uzunluğunda olabilir ve http:// veya https:// ile başlayamaz.

testdesc

AutoPublishRouteEnabled

boolean

No

Kurumsal Sürüm geçiş yönlendiricisinin, bölgeler arası bağlantının rotalarını karşı bölgeye otomatik olarak duyurmasına izin verilip verilmeyeceğini belirtir.

  • false (varsayılan): hayır.

  • true: evet.

false

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 ve istek kontrolü geçtikten sonra doğrudan bölgeler arası bağlantının yapılandırmasını değiştirir.

  • true: bir kontrol isteği gönderir. Yalnızca kontrol yapılır ve bölgeler arası bağlantının yapılandırması değiştirilmez. 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

Bandwidth

integer

No

Bölgeler arası bağlantının bant genişliği değeri. Birim: Mbit/s.

  • BandwidthType, BandwidthPackage olarak ayarlanmışsa, bu parametre bölgeler arası bağlantının kullanabileceği bant genişliğini belirtir.

  • BandwidthType, DataTransfer olarak ayarlanmışsa, bu parametre bölgeler arası bağlantının bant genişliği sınırını belirtir.

2

CenBandwidthPackageId

string

No

Bölgeler arası bağlantıyla ilişkilendirilecek bant genişliği paketinin kimliği.

Not

BandwidthType, DataTransfer olarak ayarlanmışsa, bu parametreyi yapılandırmanıza gerek yoktur.

cenbwp-3xrxupouolw5ou****

BandwidthType

string

No

Bant genişliği ayırma yöntemi. Geçerli değerler:

  • BandwidthPackage: bir bant genişliği paketinden bant genişliği ayırır.

  • DataTransfer: bölgeler arası bağlantıya bant genişliği ayırmaz. Faturalandırma trafik hacmine göre yapılır.

BandwidthPackage

DefaultLinkType

string

No

Varsayılan bağlantı türü.

Geçerli değerler: Platinum ve Gold. Varsayılan değer: Gold.

Değer, yalnızca bant genişliği ayırma yöntemi aktarılan veriye göre ödeme olduğunda Platinum olarak ayarlanabilir.

Gold

Response elements

Element

Type

Description

Example

object

Yanıt parametreleri.

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 InvalidTransitRouterAttachmentId.NotFound TransitRouterAttachmentId is not found.
400 OperationUnsupported.BandwidthType The specified BandwidthType does not support the operation.
400 MissingParam.Bandwidth The parameter Bandwidth is mandatory.
400 IncorrectStatus.Attachment The resource is not in a valid state for the attachment operation.
400 IllegalParam.BandwidthType BandwidthType is illegal.
400 IllegalParam.Bandwidth Bandwidth is illegal.
400 ParameterIllegal.BandwidthPackageDefaultLinkTypeOnlySupportGold Cen bandwidthPackage only support Gold.
400 ParameterIllegal.CdtDefaultLinkTypeOnlySupportPlatinumOrGold DataTransfer only support Platinum and Gold.
400 ParameterIllegal.CdtDefaultLinkTypeOnlySupportGold CDT only support Gold when both transitrouters for cross regional connections are not all enterprise version.
400 OperationNotAllowed.DefaultLinkTypeOnlySupportGold Operation is not allowed because this user can only set default link type to Gold.
400 OperationUnsupported.TransitRouterAttachment The specified TransitRouterAttachment has configured TransitRegion. Please remove the configuration first.
400 IllegalParam.BandwidthLessThanQosPolicyBandwidth The input bandwidth value is less than the sum of the Qos policy bandwidth.
400 IllegalParam.BandwidthPackageStatus The status of the bandwidth package is incorrect.
400 QuotaExceeded.Bandwidth Bandwidth quota exceeded.
400 ParamExclusive.BandwidthTypeAndCenBandwidthPackageId DataTransfer and CenBandwidthPackageId is mutually exclusive.
400 OperationUnsupported.CloudDataTransferService CCN region not support cloud data transfer service.
400 InvalidParameter Invalid parameter.
400 Unauthorized The AccessKeyId is unauthorized.
400 ParameterIllegal.CdtDefaultLinkTypeOnlySupportUnderlaySilver CDT only support UnderlaySilver when both transitrouters for cross regional connections are not all enterprise version.
400 ParameterIllegal.DefaultLinkTypeOnlySupportUnderlaySilver Cen bandwidthPackage only support UnderlaySilver.
400 OperationNotAllowed.DefaultLinkTypeOnlySupportUnderlaySilver This user can only set the default link type to UnderlaySilver.
400 InvalidOperation.QueueLinkTypeNotEqualsAttachmentLinkType The operation is invalid because the link type of an existing QoS queue does not match the link type of the attachment.
400 InvalidParameter.CenBandwidthPackageId The specified parameter CenBandwidthPackageId is invalid.
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.