Memodifikasi nama atau deskripsi koneksi peering VPC.
Deskripsi operasi
-
ModifyVpcPeerConnection adalah operasi asinkron. Setelah permintaan dikirim, sistem mengembalikan RequestId, sementara tugas dijalankan di latar belakang. Untuk mengecek status koneksi peering VPC, panggil operasi GetVpcPeerConnectionAttribute.
-
Updating menunjukkan bahwa instans sedang dalam proses modifikasi.
-
Activated menunjukkan bahwa modifikasi telah selesai.
-
-
Operasi ModifyVpcPeerConnection tidak mendukung permintaan konkuren untuk memodifikasi koneksi peering VPC yang sama.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:ModifyVpcPeerConnection |
update |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID koneksi peering VPC. |
pcc-lnk0m24khwvtkm**** |
| Name |
string |
No |
Nama baru koneksi peering VPC. Nama harus terdiri dari 1 hingga 128 karakter dan tidak boleh diawali dengan |
vpcpeername |
| Description |
string |
No |
Deskripsi baru koneksi peering VPC. Deskripsi harus terdiri dari 1 hingga 256 karakter dan tidak boleh diawali dengan |
newdescription |
| Bandwidth |
integer |
No |
Bandwidth baru koneksi peering VPC. Satuan: Mbps. Nilainya harus berupa bilangan bulat yang lebih besar dari 0. |
100 |
| DryRun |
boolean |
No |
Menentukan apakah akan melakukan dry run. Nilai yang valid:
|
false |
| ClientToken |
string |
No |
Token client yang digunakan untuk memastikan idempotensi permintaan. Buat token unik pada client Anda untuk setiap permintaan. Token hanya boleh berisi karakter ASCII. Catatan
Jika Anda tidak menentukan parameter ini, sistem secara otomatis menggunakan RequestId dari permintaan sebagai ClientToken. RequestId dapat berbeda untuk setiap permintaan. |
0c593ea1-3bea-11e9-b96b-88e9fe637760 |
| LinkType |
string |
No |
Tipe tautan. Nilai yang valid: Platinum dan Gold. Nilai default adalah Gold. Catatan
Jika Anda menentukan parameter ini, pastikan Anda membuat koneksi peering cross-region. |
Gold |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Objek respons. |
||
| RequestId |
string |
ID permintaan. |
880C99E1-449B-524A-B81F-1EC53D2A7EAC |
Contoh
Respons sukses
JSONformat
{
"RequestId": "880C99E1-449B-524A-B81F-1EC53D2A7EAC"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ResourceNotFound.InstanceId | The specified resource of %s is not found. | |
| 400 | IncorrectStatus.VpcPeer | The status of %s [%s] is incorrect. | |
| 400 | IncorrectBusinessStatus.VpcPeer | The business status of %s [%s] is incorrect. | |
| 400 | OperationFailed.BandwidthCannotBeChangedInSameRegion | The operation failed because the bandwidth cannot be changed in the same region. | |
| 400 | QuotaExceeded.Bandwidth | The quota of bandwidth is exceeded. | |
| 400 | OperationFailed.InterRegionLinkTypeNotSupported | The same region not supported link type feature. | |
| 400 | OperationFailed.RegionIdNotSupportLinkType | The feature link type is not supported in the region. | |
| 400 | OperationFailed.SpecificLinkTypeNotSupported | The operation failed because the special link type of user is not opened. | |
| 400 | OperationDenied.ServiceManagedInstance | Operation is denied because the specified instance belongs to service manager. | |
| 400 | OperationFailed.ChargeTypeNotSupported | Operation failed because the CDT charge type of receiver or accepter does not support the Underlay link type. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.