全部产品
Search
文档中心

Cloud Enterprise Network:SetCenInterRegionBandwidthLimit

更新时间:Dec 14, 2025

Anda dapat memanggil operasi SetCenInterRegionBandwidthLimit untuk mengatur, mengubah, atau menghapus bandwidth antar wilayah antara dua wilayah dalam paket bandwidth untuk router transit Edisi Dasar.

Deskripsi operasi

Instans Cloud Enterprise Network (CEN) target harus dikaitkan dengan paket bandwidth. Untuk informasi selengkapnya, lihat CreateCenBandwidthPackage dan AssociateCenBandwidthPackage.

Batasan

Instans Cloud Enterprise Network (CEN) target telah memiliki paket bandwidth. Untuk informasi selengkapnya, lihat CreateCenBandwidthPackage dan AssociateCenBandwidthPackage.

Anda dapat memanggil API SetCenInterRegionBandwidthLimit untuk mengatur, mengubah, atau menghapus bandwidth untuk komunikasi antar wilayah:

  • Operasi SetCenInterRegionBandwidthLimit hanya mendukung pengaturan, pengubahan, atau penghapusan bandwidth komunikasi antar wilayah untuk router transit Edisi Dasar.

  • Anda tidak dapat mengubah bandwidth komunikasi antar wilayah jika multiplexing bandwidth diaktifkan untuk koneksi antar wilayah tersebut.

Batasan

  • Bandwidth maksimum untuk komunikasi antar wilayah tidak boleh melebihi bandwidth puncak dari paket bandwidth.

  • Total bandwidth semua komunikasi antar wilayah dalam satu paket bandwidth tidak boleh melebihi bandwidth puncak paket tersebut.

  • Anda tidak dapat mengubah bandwidth komunikasi antar wilayah jika multiplexing bandwidth diaktifkan untuk koneksi antar wilayah tersebut.

  • Anda hanya dapat menggunakan operasi API SetCenInterRegionBandwidthLimit untuk mengatur, mengubah, atau menghapus bandwidth komunikasi antar wilayah untuk router transit Edisi Dasar.

    Untuk mengatur, mengubah, atau menghapus bandwidth komunikasi antar wilayah untuk router transit edisi perusahaan, gunakan operasi API CreateTransitRouterPeerAttachment, UpdateTransitRouterPeerAttachmentAttribute, dan DeleteTransitRouterPeerAttachment.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tabel berikut menjelaskan otorisasi yang diperlukan untuk memanggil API ini. Anda dapat menentukannya dalam kebijakan Resource Access Management (RAM). Kolom pada tabel dijelaskan sebagai berikut:

  • Action: Aksi yang dapat digunakan dalam elemen Action pada pernyataan kebijakan izin RAM untuk memberikan izin guna melakukan operasi tersebut.

  • API: API yang dapat Anda panggil untuk melakukan aksi tersebut.

  • Access level: Tingkat akses yang telah ditentukan untuk setiap API. Nilai yang valid: create, list, get, update, dan delete.

  • Resource type: Jenis resource yang mendukung otorisasi untuk melakukan aksi tersebut. Ini menunjukkan apakah aksi tersebut mendukung izin tingkat resource. Resource yang ditentukan harus kompatibel dengan aksi tersebut. Jika tidak, kebijakan tersebut tidak akan berlaku.

    • Untuk API dengan izin tingkat resource, jenis resource yang diperlukan ditandai dengan tanda bintang (*). Tentukan Nama Sumber Daya Alibaba Cloud (ARN) yang sesuai dalam elemen Resource pada kebijakan.

    • Untuk API tanpa izin tingkat resource, ditampilkan sebagai All Resources. Gunakan tanda bintang (*) dalam elemen Resource pada kebijakan.

  • Condition key: Kunci kondisi yang didefinisikan oleh layanan. Kunci ini memungkinkan kontrol granular, berlaku baik hanya untuk aksi maupun untuk aksi yang terkait dengan resource tertentu. Selain kunci kondisi spesifik layanan, Alibaba Cloud menyediakan serangkaian common condition keys yang berlaku di semua layanan yang didukung RAM.

  • Dependent action: Aksi dependen yang diperlukan untuk menjalankan aksi tersebut. Untuk menyelesaikan aksi tersebut, pengguna RAM atau role RAM harus memiliki izin untuk melakukan semua aksi dependen.

Action

Access level

Resource type

Condition key

Dependent action

cen:SetCenInterRegionBandwidthLimit

update

*CenInstance

acs:cen:*:{#accountId}:ceninstance/{#ceninstanceId}

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

CenId

string

Yes

ID instans CEN.

cen-7qthudw0ll6jmx****

LocalRegionId

string

Yes

ID wilayah lokal.

Panggil operasi DescribeChildInstanceRegions untuk menanyakan wilayah tempat instance jaringan dapat disambungkan ke instans CEN.

cn-hangzhou

OppositeRegionId

string

Yes

ID wilayah peer.

us-west-1

BandwidthLimit

integer

Yes

Bandwidth antar wilayah antara kedua wilayah tersebut. Satuan: Mbps.

8

BandwidthType

string

No

Metode yang digunakan untuk mengalokasikan bandwidth. Nilai yang valid:

  • BandwidthPackage (default): mengalokasikan bandwidth dari paket bandwidth.

BandwidthPackage

Elemen respons

Element

Type

Description

Example

object

RequestId

string

ID permintaan.

530BC816-F575-412A-AAB2-435125D26328

Contoh

Respons sukses

JSONformat

{
  "RequestId": "530BC816-F575-412A-AAB2-435125D26328"
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

400 MissingParam.CbnBandwidthPackageId There are more than one suitable cen bandwidth package The error message returned because the CbnBandwidthPackageId parameter is not set.
400 AttrMismatching.CbnBandwidthPackageId %s
400 OperationFailed.InvalidOperation The operation is failed because the operation is not support.
400 OperationUnsupported.Attachment The cross region connection contains an existing bandwidth. The operation is not supported. The error message returned because bandwidth multiplexing is enabled for the inter-region connection.
400 InvalidOperation.UnsupportChargeType The charge type is not supported by this operation. The error message returned because the specified billing method does not support this operation.
400 OperationUnsupported.TrafficQosPolicyExist Operation unsupported because traffic qos policy exists. The error message returned because the specified QoS policy already exists.
400 OperationUnsupported.BandwidthType The specified BandwidthType does not support the operation. The error message returned because this operation is not supported by the specified bandwidth type.
400 IllegalParam.BandwidthType BandwidthType is illegal. The error message returned because the specified bandwidth plan type is invalid.
400 IllegalParam.Bandwidth Bandwidth is illegal. The error message returned because the specified bandwidth plan ID is invalid.
400 ParamExclusive.BandwidthTypeAndCenBandwidthPackageId DataTransfer and CenBandwidthPackageId is mutually exclusive. When the value of bandwidthType is DataTransfer, the CenBandwidthPackageId field cannot be set.
400 IdentityRegistrationStatusNotSupport Real name registration of enterprises required. Real name registration of enterprises required.
400 IllegalParam.BandwidthLessThanQosPolicyBandwidth The input bandwidth value is less than the sum of the Qos policy bandwidth. The input bandwidth value is less than the sum of the Qos policy bandwidth.
400 OperationUnsupported.RegionId The specified RegionId does not support the operation. The error message returned because this operation is not supported in the specified region.
400 QuotaExceeded.Bandwidth Bandwidth quota exceeded. Bandwidth quota exceeded.
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.
400 IncorrectStatus.TransitRouter The resource is not in a valid state for the operation. The CEN TR instance is not in a valid state for the operation. Please try again later.

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.