Mengikat instans SLB ke aplikasi yang diterapkan di kluster ECS.
Coba sekarang
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.
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 mengkueri ID aplikasi dengan memanggil operasi ListApplication. Untuk informasi selengkapnya, lihat ListApplication. |
93fdd228-*****-ed2ae98de18d |
| SlbId |
string |
Yes |
ID Instans SLB. |
lb-uf6j54m3a****cj01jx8 |
| ListenerPort |
integer |
Yes |
Port pendengar untuk Instans SLB. |
80 |
| VServerGroupId |
string |
No |
ID Kelompok vServer untuk Instans SLB. |
rsp-2ze****6l***** |
| ListenerProtocol |
string |
Yes |
Protokol pendengar untuk Instans SLB. |
tcp |
| DeployGroupId |
string |
No |
ID kelompok instans yang aplikasinya ingin Anda ikat. Anda dapat memanggil operasi ListDeployGroup untuk mengkueri ID kelompok. 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 |
The change process ID for this operation. |
cd65b247-****-475b-ad4b-7039040d625c |
| Code |
integer |
The HTTP status code that is returned. |
200 |
| Message |
string |
The message that is returned. |
success |
| RequestId |
string |
The ID of the request. |
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.