All Products
Search
Document Center

Cloud Enterprise Network:OpenTransitRouterService

Last Updated:Jun 10, 2026

Mengaktifkan fitur transit router.

Deskripsi operasi

Anda dapat memanggil operasi OpenTransitRouterService untuk mengaktifkan fitur transit router secara gratis. Setelah operasi OpenTransitRouterService berhasil, sebuah pesanan akan dibuat secara otomatis. Anda dapat menggunakan ID pesanan yang dikembalikan untuk mengkueri informasi pesanan di Alibaba Cloud User Center.

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:OpenTransitRouterService

none

*All Resource

*

None None

Parameter permintaan

Parameter

Type

Required

Description

Example

ClientToken

string

No

Token klien yang digunakan untuk memastikan idempotensi permintaan.

Anda dapat menggunakan klien untuk menghasilkan nilainya, tetapi Anda harus memastikan bahwa nilai tersebut unik di antara permintaan yang berbeda. Token klien hanya boleh berisi karakter ASCII.

02fb3da4-130e-11e9-8e44-001****

Elemen respons

Element

Type

Description

Example

object

Respons.

OrderId

string

ID pesanan.

21370700730****

RequestId

string

ID permintaan.

866DEBE1-6411-51EC-80D8-975349B9FB4A

Contoh

Respons sukses

JSONformat

{
  "OrderId": "21370700730****",
  "RequestId": "866DEBE1-6411-51EC-80D8-975349B9FB4A"
}

Kode kesalahan

HTTP status code

Error code

Error message

Description

400 Risk.RiskControlRejection 为保护您的账户安全,下单被中止,详情请联系客服。 The error message returned because the order is suspended due to security concerns. Contact customer service for details.
400 Order.Opened 您已开通本服务,请前往控制台使用。 The error message returned because the service has been activated. You can log on to the console to manage it.
400 OperationFailed.NoAvailablePaymentMethod No payment method is specified for your account. We recommend that you add a payment method. The error message returned because no payment method is specified for your account. Specify a payment method and try again.
400 OperationFailed.BasicInfoUncompleted Your information is incomplete. Complete your information before the operation. The error message returned because your basic information is incomplete. Complete your basic information and try again.
400 PayFor.CreditPayInsufficientBalance 额度不足,请联系您的渠道合作伙伴提升额度。 The error message returned because your Alibaba Cloud account does not have a sufficient balance. Contact your channel partner to top up your account balance.
400 NoPermission.AliyunServiceRoleForCEN No permission to open AliyunServiceRole for CEN. The error message returned because you do not have the required permissions.
400 OperationFailed.PurchaseQuantityLimit You have exceeded the maximum quantity you can purchase. The error message returned because the number of instances has reached the upper limit and you cannot purchase more.
400 OperationFailed.QuotaNotEnough The quota is not enough. The error message returned because the resource quota is exhausted and you cannot create more.
400 OperationFailed.ConcurrentOperation The operation failed caused by concurrent operation. The error message returned because the concurrent operations failed. Do not frequently perform this operation. Try again later.
400 OperationFailed.Risk 系统检测到您的支付方式存在风险,请通过邮件或站内信中的链接完成验证。验证完成后重新下单。
400 OperationFailed.UseStoredCardFailed Operation failed because use stored card failed. The error message returned because you failed to complete the payment with the specified stored-value card.
400 PayFor.AccountMoneyValidateError 账号可用金额不足. The error message returned because your Alibaba Cloud account does not have a sufficient balance.
400 EntityNotExist.Account The role not exists: AliyunServiceRoleForCEN. The error message returned because AliyunServiceRoleForCEN does not exist.
400 OperationFailed.InsufficientAvailableQuota Operation failed due to the account quota is insufficient. The available amount of the account is insufficient.
400 OperationFailed.NoRealNameAuthentication No real-name authentication was applied. No real-name authentication was performed.
400 OperationFailed.ContainsForbiddenLabel You cannot place the order because orders are prohibited by a label. You cannot place the order because orders are prohibited by a label.
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.