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
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:UpdateTransitRouterPeerAttachmentAttribute |
update |
*TransitRouterPeerAttachment
|
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 |
| 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 |
| Bandwidth |
integer |
No |
Bölgeler arası bağlantının bant genişliği değeri. Birim: Mbit/s.
|
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 |
| 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.