Menambahkan zona ke titik akhir.
Deskripsi operasi
-
AddZoneToVpcEndpoint adalah operasi asinkron. Setelah mengirim permintaan, sistem akan mengembalikan ID permintaan dan menjalankan tugas di latar belakang. Anda dapat memanggil operasi ListVpcEndpointZones untuk mengecek status zona tersebut.
Jika zona berada dalam status Creating, zona sedang dalam proses penambahan.
Jika zona berada dalam status Wait, zona telah berhasil ditambahkan.
-
Anda tidak dapat memanggil operasi AddZoneToVpcEndpoint secara berulang untuk menambahkan zona ke titik akhir dalam periode waktu tertentu.
Coba sekarang
Test
RAM authorization
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah dari titik akhir. Anda dapat memanggil operasi DescribeRegions untuk menanyakan daftar wilayah terbaru. |
cn-hangzhou |
| ZoneId |
string |
Yes |
ID zona yang ingin Anda tambahkan. |
cn-hangzhou-b |
| VSwitchId |
string |
Yes |
ID vSwitch di zona yang ingin Anda tambahkan. Sistem secara otomatis membuat endpoint ENI di vSwitch tersebut. |
vsw-hjkshjvdkdvd**** |
| ip |
string |
No |
Alamat IP dari endpoint elastic network interface (ENI) di zona yang ingin Anda tambahkan. |
192.XX.XX.32 |
| EndpointId |
string |
Yes |
ID titik akhir tempat Anda ingin menambahkan zona. |
ep-hp33b2e43fays7s8**** |
| DryRun |
boolean |
No |
Menentukan apakah hanya melakukan dry run tanpa menjalankan permintaan sebenarnya. Nilai yang valid:
|
false |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Anda dapat menggunakan klien untuk menghasilkan token, tetapi Anda harus memastikan bahwa token tersebut unik di antara permintaan yang berbeda. Token hanya boleh berisi karakter ASCII. |
0c593ea1-3bea-11e9-b96b-88e9fe637760 |
| RegionId |
string |
Yes |
ID wilayah dari titik akhir. Anda dapat memanggil operasi DescribeRegions untuk menanyakan daftar wilayah terbaru. |
cn-hangzhou |
| Ipv6Address |
string |
No |
Alamat IPv6 dari endpoint ENI di zona yang ingin Anda tambahkan. |
2408:4005:3b6:****:6955:c3cb:34c:**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
0c593ea1-3bea-11e9-b96b-88e9fe637760 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "0c593ea1-3bea-11e9-b96b-88e9fe637760"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | OperationDenied.EndpointProtected | The operation is not allowed because of EndpointProtected. | |
| 400 | EndpointNotFound | The specified Endpoint does not exist. | |
| 400 | EndpointOperationDenied | The specified operation of endpoint is not allowed. | |
| 400 | EndpointLocked | The specified Endpoint is locked. | |
| 400 | EndpointConnectionOperationDenied | The endpoint is being connected. | |
| 400 | EndpointZoneDuplicated | The zone is duplicated for the Endpoint. | |
| 400 | EndpointServiceNotSupportedZone | The specified endpoint service does not support the zone. | |
| 400 | QuotaMisMatched | The resource you applied for has exceeded the quota. | |
| 400 | EndpointDuplicated | The endpoint of the service already exists and cannot be created again. | |
| 400 | EndpointServiceDeleted | The specified Service is already deleted. | |
| 400 | EndpointServiceResourceNotFound | The specified service resource is not found. | |
| 400 | VSwitchNotFound | The specified VSwitch does not exist. | |
| 400 | EniIpUnavailable | The specified IP address is unavailable. | |
| 400 | EndpointProtected | The specified Endpoint is protected. | |
| 400 | VSwitchStatusNotAllowed | The specified vswitch status is not Available. | |
| 400 | VpcNatServiceException | The vpcNat service is busy | |
| 400 | ResourceNotEnough.VSwitchIp | The specified resource of VSwitchIp is not enough. | |
| 400 | OperationDenied.VSwitchNotSupportDualstack | The specified VSwitch does not support dualstack. | |
| 400 | OperationDenied.AddressIpVersionNotSupportSpecifyIpv6 | The AddressIpVersion of the endpoint does not support specifying IPv6 address. | |
| 400 | IllegalParam.Ip | The specified parameter IP is invalid. | |
| 400 | IllegalParam.Ipv6Address | The specified parameter Ipv6Address is invalid. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.