Memanggil operasi CreatePhysicalConnectionOccupancyOrder untuk membuat pesanan pembayaran biaya okupasi sumber daya.
Deskripsi operasi
Anda hanya dapat memanggil operasi ini ketika sirkuit Express Connect berada dalam status Complete dan menunggu pembayaran.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah sirkuit Express Connect. Anda dapat memanggil operasi DescribeRegions untuk mengkueri daftar wilayah terbaru. |
cn-hangzhou |
| PhysicalConnectionId |
string |
Yes |
ID sirkuit Express Connect. |
pc-bp1hp0wr072f6**** |
| Period |
integer |
No |
Durasi langganan.
|
1 |
| InstanceChargeType |
string |
No |
Metode penagihan instans. Nilai valid: PrePaid: langganan. Jika Anda memilih metode penagihan ini, pastikan akun Alibaba Cloud Anda mendukung pembayaran saldo atau pembayaran kredit. |
PrePaid |
| AutoPay |
boolean |
No |
Apakah akan mengaktifkan pembayaran otomatis. Nilai valid:
|
false |
| PricingCycle |
string |
No |
Siklus penagihan langganan. Nilai valid:
|
Month |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Anda dapat menggunakan klien untuk menghasilkan nilai ini, tetapi Anda harus memastikan nilainya unik di antara permintaan yang berbeda. |
CBCE910E-D396-4944 |
| AutoRenew |
boolean |
No |
Apakah akan mengaktifkan perpanjangan otomatis. Nilai valid:
|
false |
| AutoRenewDuration |
integer |
No |
Durasi perpanjangan otomatis. Unit: bulan. Nilai valid: 0 hingga 2147483647. Nilai default: 1. |
1 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
9B9300FE-11E2-4E3B-949C-BED3B44DD26D |
| Data |
object |
Informasi detail tentang data. |
|
| OrderId |
string |
ID pesanan. |
50187055895**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "9B9300FE-11E2-4E3B-949C-BED3B44DD26D",
"Data": {
"OrderId": "50187055895****"
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IAbs.InvalidStatus.ValueNotSupported | status is not supported. | |
| 400 | InvalidPrice.NotFound | Pricing plan result not found. | |
| 400 | InvalidPhysicalConnectionChargeType.Malformed | Specified Physical Connection ChargeType is not valid. | |
| 400 | InvalidPhysicalConnectionPeriod.Malformed | Specified Physical Connection Period is not valid. | |
| 400 | InvalidPhysicalConnectionPricingCycle.Malformed | Specified Physical Connection PricingCycle is not valid. | |
| 400 | Forbidden.NotAllowedInState | The request does not allow in this state. | |
| 400 | INSTANCE.STATUS.NOT.ALLOW | Instance status not allow | |
| 400 | Abs.InstanceNotExist | The specified instance does not exist. | |
| 400 | IncorrectStatus.PhysicalConnection | Invalid physical connection status. | |
| 404 | InvalidRegionId.NotFound | The RegionId provided does not exist in our records. | |
| 404 | InvalidPhysicalConnectionId.NotFound | The PhysicalConnectionId provided does not exist in our records. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.