Mengkueri batas bandwidth untuk komunikasi antar-Wilayah.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cen:DescribeCenInterRegionBandwidthLimits |
get |
CenInstance
CenInstance
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| PageNumber |
integer |
No |
Nomor halaman. Nilai default: 1. |
1 |
| PageSize |
integer |
No |
Jumlah entri per halaman. Nilai default: 10. Nilai valid: 1 hingga 50. |
10 |
| CenId |
string |
No |
ID Instans CEN. |
cen-pfa6ugf3xl0qsd**** |
| TrRegionId |
string |
No |
ID Wilayah router transit. Untuk mengkueri informasi Wilayah, panggil operasi DescribeChildInstanceRegions. |
ccn-cn-shanghai |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| PageSize |
integer |
The number of entries returned per page. |
10 |
| RequestId |
string |
The request ID. |
7A30C665-8766-5AAA-9274-C97380E2D850 |
| PageNumber |
integer |
The page number. |
1 |
| TotalCount |
integer |
The total number of entries. |
1 |
| CenInterRegionBandwidthLimits |
object |
||
| CenInterRegionBandwidthLimit |
array<object> |
A list of inter-region communication bandwidths. |
|
|
object |
|||
| Status |
string |
The status of the inter-region communication bandwidth. Valid values:
|
Active |
| BandwidthPackageId |
string |
The ID of the bandwidth plan instance. |
cenbwp-uenczwb592fnvv**** |
| OppositeRegionId |
string |
The ID of the peer region. |
cn-hangzhou |
| GeographicSpanId |
string |
The ID of the geographic span. |
china_china |
| CenId |
string |
The ID of the CEN instance. |
cen-pfa6ugf3xl0qsd**** |
| LocalRegionId |
string |
The ID of the local region. Call the DescribeChildInstanceRegions operation to query information about regions. |
ccn-cn-shanghai |
| BandwidthLimit |
integer |
The inter-region communication bandwidth between the two regions. Unit: Mbit/s. |
1 |
| BandwidthType |
string |
The method used to allocate bandwidth. Valid values:
|
BandwidthPackage |
Contoh
Respons sukses
JSONformat
{
"PageSize": 10,
"RequestId": "7A30C665-8766-5AAA-9274-C97380E2D850",
"PageNumber": 1,
"TotalCount": 1,
"CenInterRegionBandwidthLimits": {
"CenInterRegionBandwidthLimit": [
{
"Status": "Active",
"BandwidthPackageId": "cenbwp-uenczwb592fnvv****",
"OppositeRegionId": "cn-hangzhou",
"GeographicSpanId": "china_china",
"CenId": "cen-pfa6ugf3xl0qsd****",
"LocalRegionId": "ccn-cn-shanghai",
"BandwidthLimit": 1,
"BandwidthType": "BandwidthPackage"
}
]
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.