Mengubah informasi jaringan dengan memanggil ModifyVSwitchAttribute.
Deskripsi operasi
Laju panggilan API: 100 panggilan per detik.
Laju panggilan per pengguna: 5 panggilan per detik.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:ModifyVSwitchAttribute |
update |
*全部资源
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| VSwitchId |
string |
Yes |
ID vSwitch. |
n-**** |
| VSwitchName |
string |
No |
Nama vSwitch.
|
Test-switch |
| Description |
string |
No |
Deskripsi.
|
this is my first vswitch |
| EnableIPv6 |
boolean |
No |
||
| Ipv6CidrBlock |
string |
No |
2408:XXXX:0:a600::/110 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Respons. |
||
| RequestId |
string |
ID permintaan. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
Contoh
Respons sukses
JSONformat
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NoPermission | Permission denied. | |
| 400 | Invalid%s | The specified parameter %s is invalid. | |
| 400 | Missing%s | You must specify the parameter %s. | |
| 400 | IncorrectVSwitchStatus | The current status of virtual switch does not support this operation. | |
| 400 | InvalidVSwitchId.NotFound | Specified virtual switch does not exist. | |
| 400 | CallInterface | Call Interface Happen Error. | |
| 400 | Network.SecondaryCidrNotFound | The network secondary CIDR is not found. | |
| 400 | VSwitch.Ipv6AlreadyEnabled | IPv6 is already enabled on the vSwitch. | |
| 400 | VSwitch.Ipv6CidrBlockOverlapped | The specified IPv6 CIDR block overlaps with existing vSwitches. | |
| 400 | VSwitch.CidrHasUsedIps | Unreleased IP addresses exist in the CIDR block. | |
| 400 | VSwitch.InvalidIpv6CidrBlock | Invalid IPv6 CIDR value. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.