Mengkueri daftar koneksi VPC yang ada.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
fc:ListVpcBindings |
get |
*All Resource
|
None | None |
Sintaks permintaan
GET /2021-04-06/services/{serviceName}/bindings HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| serviceName |
string |
Yes |
Nama layanan. |
serviceName |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| X-Fc-Account-Id |
string |
No |
ID akun Alibaba Cloud Anda. |
188077086902**** |
| X-Fc-Date |
string |
No |
Waktu saat fungsi dipanggil. Nilai dalam format EEE,d MMM yyyy HH:mm:ss GMT. |
Wed, 11 May 2022 09:00:00 GMT |
| X-Fc-Trace-Id |
string |
No |
ID permintaan. |
rid281s****** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Returns a list of IDs of bound VPCs. |
||
| vpcIds |
array |
The IDs of bound VPCs. |
|
|
string |
The IDs of bound VPCs. |
vpc-xxxx |
Contoh
Respons sukses
JSONformat
{
"vpcIds": [
"vpc-xxxx"
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.