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
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:DeleteTransitRouterPeerAttachment |
delete |
*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 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 |
| Force |
boolean |
No |
Bölgeler arası bağlantının zorla silinip silinmeyeceğini belirtir. Geçerli değerler:
|
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.