ListTransitRouterPeerAttachments işlemini çağırarak Cloud Enterprise Network aktarım yönlendiricisi altındaki bölgeler arası bağlantıların ayrıntılarını sorgular.
Operation description
Cloud Enterprise Network aktarım yönlendiricisi altındaki bölgeler arası bağlantıları aşağıdaki yollarla sorgulayabilirsiniz:
Aktarım yönlendiricisi örnek kimliğini belirterek bir Cloud Enterprise Network aktarım yönlendiricisi altındaki tüm bölgeler arası bağlantıları sorgulayın.
Cloud Enterprise Network (CEN) örnek kimliğini ve Cloud Enterprise Network aktarım yönlendiricisi örneğinin bölge kimliğini belirterek bir Cloud Enterprise Network aktarım yönlendiricisi altındaki tüm bölgeler arası bağlantıları sorgulayın.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:ListTransitRouterPeerAttachments |
get |
*CenInstance
TransitRouterPeerAttachment
TransitRouterPeerAttachment
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CenId |
string |
No |
CEN örnek kimliği. |
cen-j3jzhw1zpau2km**** |
| RegionId |
string |
No |
Cloud Enterprise Network aktarım yönlendiricisi örneğinin bölge kimliği. Bölge kimliğini sorgulamak için DescribeRegions işlemini çağırabilirsiniz. |
cn-hangzhou |
| TransitRouterAttachmentId |
string |
No |
Bölgeler arası bağlantı kimliği. |
tr-attach-5u4qbayfv2io5v**** |
| TransitRouterId |
string |
No |
Cloud Enterprise Network aktarım yönlendiricisi örnek kimliği. |
tr-bp1su1ytdxtataupl**** |
| MaxResults |
integer |
No |
Sayfalanmış bir sorgu için sayfa başına giriş sayısı. Varsayılan değer: 20. Maksimum değer: 100. |
20 |
| NextToken |
string |
No |
Sorgunun başlangıç noktasını belirleyen belirteç. Geçerli değerler:
|
1 |
| Tag |
array<object> |
No |
Etiket bilgileri. Tek seferde en fazla 20 etiket belirtebilirsiniz. |
|
|
object |
No |
|||
| Key |
string |
No |
Kaynağın etiket anahtarı. Belirtildikten sonra etiket anahtarı boş bir dize olamaz. Etiket anahtarı en fazla 64 karakter uzunluğunda olabilir ve Tek seferde en fazla 20 etiket anahtarı belirtebilirsiniz. |
tagtest |
| Value |
string |
No |
Kaynağın etiket değeri. Etiket değeri boş bir dize olabilir veya en fazla 128 karakter uzunluğunda olabilir. Her etiket anahtarı bir etiket değerine karşılık gelir. Tek seferde en fazla 20 etiket değeri belirtebilirsiniz. |
tagtest |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Yanıt parametreleri. |
||
| NextToken |
string |
Sonraki sorgunun başlangıç noktasını belirleyen belirteç. Geçerli değerler:
|
dd20**** |
| RequestId |
string |
İstek kimliği. |
AA97AFA3-8E48-4BD7-9F3E-A9F6176018A0 |
| TotalCount |
integer |
Döndürülen toplam giriş sayısı. |
1 |
| MaxResults |
integer |
Sayfalanmış bir sorgu için sayfa başına giriş sayısı. |
20 |
| TransitRouterAttachments |
array<object> |
Bölgeler arası bağlantıların listesi. |
|
|
array<object> |
Bölgeler arası bağlantı bilgileri. |
||
| CreationTime |
string |
Bölgeler arası bağlantının oluşturulduğu zaman. Zaman, UTC cinsinden ISO 8601 standardında görüntülenir. Biçim: |
2021-06-16T02:50Z |
| Status |
string |
Bölgeler arası bağlantının durumu.
|
Attached |
| TransitRouterAttachmentId |
string |
Bölgeler arası bağlantı kimliği. |
tr-attach-5u4qbayfv2io5v**** |
| BandwidthType |
string |
Bant genişliği tahsis yöntemi. Geçerli değerler:
|
BandwidthPackage |
| CenBandwidthPackageId |
string |
Bölgeler arası bağlantıyla ilişkili bant genişliği paketinin kimliği. |
cenbwp-3xrxupouolw5ou**** |
| TransitRouterAttachmentDescription |
string |
Bölgeler arası bağlantının açıklaması. |
testdesc |
| RegionId |
string |
Cloud Enterprise Network aktarım yönlendiricisinin bölge kimliği. |
cn-hangzhou |
| PeerTransitRouterId |
string |
Karşı aktarım yönlendiricisinin örnek kimliği. |
tr-m5eq27g6bndum7e88**** |
| TransitRouterId |
string |
Cloud Enterprise Network aktarım yönlendiricisi örnek kimliği. |
tr-bp1su1ytdxtataupl**** |
| PeerTransitRouterRegionId |
string |
Karşı aktarım yönlendiricisi örneğinin bölge kimliği. |
cn-qingdao |
| ResourceType |
string |
Bağlantıyla ilişkili kaynağın türü.
|
TR |
| Bandwidth |
integer |
Bölgeler arası bağlantının bant genişliği değeri. Birim: Mbit/s.
|
2 |
| GeographicSpanId |
string |
Bant genişliği paketinin bağladığı bölgeler. |
china_china |
| PeerTransitRouterOwnerId |
integer |
Karşı aktarım yönlendiricisi örneğinin ait olduğu hesabın kimliği. |
253460731706911258 |
| AutoPublishRouteEnabled |
boolean |
Cloud Enterprise Network aktarım yönlendiricisi örneğinin, bölgeler arası bağlantının rotalarını karşı bölgeye otomatik olarak duyurup duyurmadığını gösterir.
|
false |
| TransitRouterAttachmentName |
string |
Bölgeler arası bağlantının adı. |
test |
| Tags |
array<object> |
Etiket listesi. |
|
|
object |
|||
| Key |
string |
Etiket anahtarı. |
tag_A1 |
| Value |
string |
Etiket değeri. |
test |
| CenId |
string |
CEN örnek kimliği. |
cen-j3jzhw1zpau2km**** |
| DefaultLinkType |
string |
Varsayılan bağlantı türü.
|
Gold |
Examples
Success response
JSON format
{
"NextToken": "dd20****",
"RequestId": "AA97AFA3-8E48-4BD7-9F3E-A9F6176018A0",
"TotalCount": 1,
"MaxResults": 20,
"TransitRouterAttachments": [
{
"CreationTime": "2021-06-16T02:50Z",
"Status": "Attached",
"TransitRouterAttachmentId": "tr-attach-5u4qbayfv2io5v****",
"BandwidthType": "BandwidthPackage",
"CenBandwidthPackageId": "cenbwp-3xrxupouolw5ou****",
"TransitRouterAttachmentDescription": "testdesc",
"RegionId": "cn-hangzhou",
"PeerTransitRouterId": "tr-m5eq27g6bndum7e88****",
"TransitRouterId": "tr-bp1su1ytdxtataupl****",
"PeerTransitRouterRegionId": "cn-qingdao",
"ResourceType": "TR",
"Bandwidth": 2,
"GeographicSpanId": "china_china",
"PeerTransitRouterOwnerId": 253460731706911260,
"AutoPublishRouteEnabled": false,
"TransitRouterAttachmentName": "test",
"Tags": [
{
"Key": "tag_A1",
"Value": "test"
}
],
"CenId": "cen-j3jzhw1zpau2km****\n",
"DefaultLinkType": "Gold"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalParam.NextToken | The specified NextToken is invalid. | The error message returned because the NextToken parameter is set to an invalid value. |
| 400 | IllegalParam.TrInstance | The specified TransitRouter is invalid. | The error message returned because the TransitRouter parameter is set to an invalid value. |
| 400 | IllegalParam.Region | The specified Region is invalid. | The error message returned because the specified region is invalid. |
| 400 | IllegalParam.CenId | The specified CenId is invalid. | The error message returned because the ID of the CEN instance is invalid. |
| 400 | IllegalParam.TransitRouterId | The specified TransitRouterId is invalid. | The error message returned because the specified transit router ID is invalid. |
| 400 | IllegalParam.RegionIdOrTransitRouterId | The specified TransitRouterId or RegionId is invalid. | The error message returned because the specified transit router ID or region is invalid. |
| 400 | IllegalParam.CenIdOrRegionId | The specified CenId or RegionId is invalid. | The error message returned because the specified CEN instance ID or region ID is invalid. |
| 400 | IllegalParam.TagKey | The tag keys are not valid. | The error message returned because the specified tag key is invalid. |
| 400 | IllegalParam.TagValue | The tag values are not valid. | The error message returned because the specified tag value is invalid. |
| 400 | IllegalParam.MaxResults | The specified MaxResults is invalid. | The MaxResults value is invalid. |
| 400 | InvalidParameter | Invalid parameter. | The error message returned because the parameter is set to an invalid value. |
| 400 | Unauthorized | The AccessKeyId is unauthorized. | The error message returned because you do not have the permissions to perform this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.