Mengubah nama atau deskripsi koneksi peering VPC.
Deskripsi operasi
-
ModifyVpcPeerConnection is an asynchronous operation. After you send a request, the system returns a RequestId, while running the task in the background. Call the GetVpcPeerConnectionAttribute operation to query the status of the VPC peering connection.
-
Updating indicates that the instance is being modified.
-
Activated indicates that the modification is complete.
-
-
The ModifyVpcPeerConnection operation does not support concurrent requests to modify the same VPC peering connection.
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. Panjang nama harus 1 hingga 128 karakter dan tidak boleh diawali dengan |
vpcpeername |
| Description |
string |
No |
Deskripsi baru koneksi peering VPC. Panjang deskripsi harus 1 hingga 256 karakter dan tidak boleh diawali dengan |
newdescription |
| Bandwidth |
integer |
No |
Bandwidth baru koneksi peering VPC. Unit: Mbps. Nilai harus berupa bilangan bulat yang lebih besar dari 0. |
100 |
| DryRun |
boolean |
No |
Apakah akan menjalankan dry run. Nilai valid:
|
false |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Buat token unik pada klien Anda untuk setiap permintaan. Token hanya dapat berisi karakter ASCII. Catatan
Jika Anda tidak menentukan parameter ini, sistem secara otomatis menggunakan RequestId permintaan sebagai ClientToken. RequestId mungkin berbeda untuk setiap permintaan. |
0c593ea1-3bea-11e9-b96b-88e9fe637760 |
| LinkType |
string |
No |
Tipe tautan. Nilai valid: Platinum dan Gold. Nilai default adalah Gold. Catatan
Jika Anda menentukan parameter ini, pastikan Anda membuat koneksi peering lintas wilayah. |
Gold |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. |
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.