Memanggil operasi UpdateVirtualPhysicalConnection untuk memodifikasi informasi tentang koneksi fisik bersama.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:UpdateVirtualPhysicalConnection |
update |
*PhysicalConnection
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| VlanId |
integer |
Yes |
VLAN ID dari koneksi fisik bersama. Nilai yang valid: 0 hingga 2999.
|
1 |
| InstanceId |
string |
Yes |
ID dari instance koneksi fisik bersama. |
pc-bp1mrgfbtmc9brre7**** |
| Token |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Anda dapat menggunakan klien untuk membuat nilai tersebut, tetapi Anda harus memastikan bahwa nilai tersebut unik di antara permintaan yang berbeda. Nilai ClientToken hanya dapat berisi karakter ASCII. Catatan
Jika Anda tidak menentukan parameter ini, sistem secara otomatis menggunakan RequestId dari permintaan API sebagai ClientToken. RequestId mungkin berbeda untuk setiap permintaan API. |
CBCE910E-D396-4944-8**** |
| DryRun |
boolean |
No |
Menentukan apakah akan melakukan dry run. Nilai yang valid:
|
false |
| ExpectSpec |
string |
No |
Nilai bandwidth yang diharapkan dari koneksi fisik bersama. Nilai bandwidth hanya berlaku setelah pembayaran selesai. Nilai yang valid: 50M, 100M, 200M, 300M, 400M, 500M, 1G, 2G, 5G, 8G, dan 10G. Catatan
Nilai bandwidth 2G, 5G, 8G, dan 10G tidak tersedia secara default. Untuk menggunakan nilai bandwidth tersebut, hubungi manajer akun Anda. Satuan: M menunjukkan Mbit/s, dan G menunjukkan Gbit/s. |
50M |
| RegionId |
string |
Yes |
ID region dari koneksi fisik bersama. Anda dapat memanggil operasi DescribeRegions untuk mengkueri daftar region terbaru. |
cn-hangzhou |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Hasil yang dikembalikan. |
||
| RequestId |
string |
ID permintaan. |
7035627E-1C1D-5BC7-A830-F897A35912D1 |
| Success |
string |
Menunjukkan apakah VLAN ID dari koneksi fisik bersama dimodifikasi.
|
true |
Contoh
Respons sukses
JSONformat
{
"RequestId": "7035627E-1C1D-5BC7-A830-F897A35912D1",
"Success": "true"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalParam.VlanId | The param of VlanId is illegal. | |
| 400 | ResourceNotFound.PhysicalConnectionId | The specified PhysicalConnectionId [%s] is not found. | |
| 400 | ResourceNotEnough.Bandwidth | The specified resource of Bandwidth is not enough. | |
| 400 | IllegalParam.Bandwidth | The param of bandwidth is illegal. | |
| 400 | Forbidden.PhysicalConnection | Only parent physical connection account is allowed to modify the virtual physical connection. | |
| 400 | OperationFailed.PhysicalConnectionFinancialLocked | Update failed, the physical connection is financial locked. | |
| 400 | OperationFailed.PhysicalConnectionTerminated | Update failed, the physical connection is terminated. | |
| 400 | OperationDenied.CreateVpconn | You are not allowed to create virtual physical connection. Please contact your CBM. | |
| 400 | IncorrectStatus.VBR | The status of VBR is incorrect. | |
| 400 | IllegalParam.Spec | The param of Spec is illegal. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.