Mengikat instance Server Load Balancer (SLB) ke aplikasi yang dideploy pada kluster Elastic Compute Service (ECS).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
edas:ConfigApplication |
none |
*Application
|
None | None |
Sintaks permintaan
POST /pop/v5/app/slb/bind_slb HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
ID aplikasi. Anda dapat menanyakan ID aplikasi dengan memanggil operasi ListApplication. Untuk informasi selengkapnya, lihat ListApplication. |
93fdd228-*****-ed2ae98de18d |
| SlbId |
string |
Yes |
ID instance SLB. |
lb-uf6j54m3a****cj01jx8 |
| ListenerPort |
integer |
Yes |
Port listener untuk instance SLB. |
80 |
| VServerGroupId |
string |
No |
ID kelompok vServer untuk instance SLB. |
rsp-2ze****6l***** |
| ListenerProtocol |
string |
Yes |
Protokol listener untuk instance SLB. |
tcp |
| DeployGroupId |
string |
No |
ID kelompok instans yang aplikasinya ingin Anda ikat. Anda dapat memanggil operasi ListDeployGroup untuk menanyakan ID kelompok tersebut. Untuk informasi selengkapnya, lihat ListDeployGroup. |
577f4c50-16ee-43d8-****-**** |
| VServerGroupName |
string |
No |
Nama kelompok vServer. |
****/31405/internet-test-ack-test****/default/clusterid |
| ListenerHealthCheckUrl |
string |
No |
URL pemeriksaan kesehatan. |
/_ehc.html |
| VForwardingUrlRule |
string |
No |
Aturan pengalihan Pendengar SLB. |
example.com/forwarding |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| ChangeOrderId |
string |
ID proses perubahan untuk operasi ini. |
cd65b247-****-475b-ad4b-7039040d625c |
| Code |
integer |
Kode status HTTP yang dikembalikan. |
200 |
| Message |
string |
Pesan yang dikembalikan. |
success |
| RequestId |
string |
ID permintaan. |
03FD1520-0FD6-436A-****-265318D7**** |
Contoh
Respons sukses
JSONformat
{
"ChangeOrderId": "cd65b247-****-475b-ad4b-7039040d625c",
"Code": 200,
"Message": "success",
"RequestId": "03FD1520-0FD6-436A-****-265318D7****"
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.