Mengonfirmasi bahwa koneksi fisik tersedia. Setelah operasi ini dipanggil, status koneksi fisik berubah menjadi Confirmed.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah koneksi fisik. Anda dapat memanggil operasi DescribeRegions untuk mengkueri ID wilayah. |
cn-shanghai |
| PhysicalConnectionId |
string |
Yes |
ID koneksi fisik. |
pc-119mf**** |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Anda dapat menggunakan klien untuk menghasilkan nilai ini, tetapi Anda harus memastikan bahwa nilai tersebut unik di antara permintaan yang berbeda. Token hanya dapat berisi karakter ASCII dan panjangnya tidak boleh melebihi 64 karakter. Catatan
Jika Anda tidak menentukan parameter ini, sistem secara otomatis menggunakan RequestId dari permintaan API sebagai ClientToken. RequestId mungkin berbeda untuk setiap permintaan API. |
02fb3da4-130e-11e9-8e44-0016e0**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
API-20365164-5b0d-460a-83c2-2189972b**** |
Contoh
Respons sukses
JSONformat
{
"RequestId": "API-20365164-5b0d-460a-83c2-2189972b****"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | OperationFailed.PconnTrafficNotEnable | The operation is failed because of PconnTrafficNotEnable. | |
| 400 | ResourceNotFound.PhysicalConnectionId | PhysicalConnection is not found. | |
| 400 | MissingParam.RegionNo | RegionNo is missing. | |
| 400 | MissingParam.AliUid | AliUid is missing. | |
| 400 | MissingParam.PhysicalConnectionId | PhysicalConnectionId is missing. | |
| 400 | InvalidPhysicalConnectionId.NotFound | The specified physicalConnection is not found | |
| 400 | InvalidRegionId.NotFound | The specified RegionId is not found. | |
| 400 | IncorrectStatus.PhysicalConnection | The specified PhysicalConnectionId is not in Allocated state. | |
| 400 | OperationUnsupported.SkipConstruction | You can not skip construction. | |
| 400 | ResourceNotFound.PhysicalConnection | The specified resource of %s is not found. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.