Menambahkan zona ke Titik akhir.
Deskripsi operasi
-
AddZoneToVpcEndpoint is an asynchronous operation. After you send a request, the system returns a request ID and runs the task in the background. You can call the ListVpcEndpointZones operation to query the state of the zone.
-
If the zone is in the Creating state, the zone is being added.
-
If the zone is in the Wait state, the zone is added.
-
-
You cannot repeatedly call the AddZoneToVpcEndpoint operation to add a zone to an endpoint within a specified period of time.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
privatelink:AddZoneToVpcEndpoint |
create |
*VpcEndpoint
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID Wilayah Titik akhir. Anda dapat memanggil operasi DescribeRegions untuk mengkueri 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 ENI Titik akhir di vSwitch. |
vsw-hjkshjvdkdvd**** |
| ip |
string |
No |
Alamat IP antarmuka jaringan elastis (ENI) Titik akhir di zona yang ingin Anda tambahkan. |
192.XX.XX.32 |
| EndpointId |
string |
Yes |
ID Titik akhir yang ingin Anda tambahkan zonanya. |
ep-hp33b2e43fays7s8**** |
| DryRun |
boolean |
No |
Apakah akan menjalankan dry run saja, tanpa menjalankan permintaan aktual. Nilai 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 dapat berisi karakter ASCII. |
0c593ea1-3bea-11e9-b96b-88e9fe637760 |
| RegionId |
string |
Yes |
The region ID of the endpoint. You can call the DescribeRegions operation to query the most recent region list. |
cn-hangzhou |
| Ipv6Address |
string |
No |
Alamat IPv6 ENI Titik akhir di zona yang ingin Anda tambahkan. |
2408:4005:3b6:****:6955:c3cb:34c:**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
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.