Anda dapat memanggil operasi EnableVpcEndpointConnection untuk menerima permintaan koneksi titik akhir.
Deskripsi operasi
-
EnableVpcEndpointConnection adalah operasi asinkron. Setelah mengirim permintaan, sistem akan mengembalikan ID permintaan, tetapi koneksi titik akhir tidak langsung terbentuk. Sistem akan membuat koneksi tersebut di latar belakang. Anda dapat memanggil operasi GetVpcEndpointAttribute untuk memeriksa status koneksi titik akhir:
Jika status koneksi adalah Connecting, koneksi titik akhir sedang dalam proses pembentukan.
Jika status koneksi adalah Connected, 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 tempat layanan titik akhir ditempatkan. Panggil operasi DescribeRegions untuk menampilkan 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 dalam Mbps. Catatan
Jika resource backend adalah Application Load Balancer (ALB) atau Classic Load Balancer (CLB), nilai yang valid adalah 100 hingga 10.240. Jika resource backend adalah Network Load Balancer (NLB), nilai yang valid adalah 100 hingga 25.600. |
3072 |
| RegionId |
string |
Yes |
ID wilayah tempat layanan titik akhir ditempatkan. Panggil operasi DescribeRegions untuk menampilkan daftar wilayah terbaru. |
cn-huhehaote |
| TrafficControlMode |
string |
No |
Catatan
|
BandwidthLimit |
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. | |
| 400 | EndpointConnectionNotFound | The specified endpoint connection does not exist. | |
| 400 | EndpointConnectionOperationDenied | The endpoint is being connected. | |
| 400 | EndpointOperationDenied | 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. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.