Menerima permintaan koneksi titik akhir.
Deskripsi operasi
Operasi EnableVpcEndpointConnection bersifat asinkron. Setelah mengirim permintaan, sistem akan mengembalikan ID permintaan, namun koneksi titik akhir tidak langsung terbentuk. Sistem membangun koneksi tersebut di latar belakang. Anda dapat memanggil operasi GetVpcEndpointAttribute untuk memeriksa status koneksi titik akhir:
Jika status koneksi adalah Connecting, berarti koneksi titik akhir sedang dalam proses pembentukan.
Jika status koneksi adalah Connected, berarti koneksi titik akhir telah berhasil dibentuk.
Operasi EnableVpcEndpointConnection tidak mendukung pemanggilan konkuren untuk menerima permintaan koneksi titik akhir dari Akun Alibaba Cloud yang sama.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
privatelink:EnableVpcEndpointConnection |
update |
*VpcEndpointService
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah dari koneksi titik akhir yang ingin Anda terima. Panggil operasi DescribeRegions untuk menanyakan daftar wilayah terbaru. |
cn-huhehaote |
| ClientToken |
string |
No |
Token klien yang digunakan untuk memastikan idempotensi permintaan. Pastikan token klien bersifat unik untuk setiap permintaan. Token hanya boleh berisi karakter ASCII. |
0c593ea1-3bea-11e9-b96b-88e9fe637760 |
| DryRun |
boolean |
No |
Menentukan apakah akan melakukan dry run. Nilai yang valid:
|
false |
| ServiceId |
string |
Yes |
ID layanan titik akhir. |
epsrv-hp3vpx8yqxblby3i**** |
| EndpointId |
string |
Yes |
ID titik akhir. |
ep-hp33b2e43fays7s8**** |
| Bandwidth |
integer |
No |
Bandwidth koneksi titik akhir. Satuan: Mbps. Nilai yang valid: 100 hingga 10240. Catatan Bandwidth koneksi titik akhir berkisar antara 100 hingga 10.240 Mbps. Bandwidth default adalah 3.072 Mbps. Jika Classic Load Balancer (CLB) atau Application Load Balancer (ALB) merupakan sumber daya layanan, Anda dapat mengubah bandwidth koneksi sesuai kebutuhan. Network Load Balancer (NLB) tidak mendukung pembatasan bandwidth. |
3072 |
| RegionId |
string |
Yes |
ID wilayah dari koneksi titik akhir yang ingin Anda terima. Panggil operasi DescribeRegions untuk menanyakan daftar wilayah terbaru. |
cn-huhehaote |
| TrafficControlMode |
string |
No |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|
||
| RequestId |
string |
ID permintaan. |
0ED8D006-F706-4D23-88ED-E11ED28DCAC0 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "0ED8D006-F706-4D23-88ED-E11ED28DCAC0"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | EndpointServiceNotFound | The specified Service does not exist. | The specified Service does not exist. |
| 400 | EndpointConnectionNotFound | The specified endpoint connection does not exist. | The specified endpoint connection does not exist. |
| 400 | EndpointConnectionOperationDenied | The endpoint is being connected. | The endpoint is being connected. |
| 400 | EndpointOperationDenied | The specified operation of endpoint is not allowed. | The specified operation of endpoint is not allowed. |
| 400 | OperationDenied.NoAvailableServiceResource | The operation is not allowed because of there are no resource in some available zones of endpoint service. | The operation is not allowed because of there are no resource in some available zones of endpoint service. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.