Mengikat instans Network Load Balancer (NLB) ke aplikasi.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sae:BindNlb |
create |
*全部资源
|
None | None |
Sintaks permintaan
POST /pop/v1/sam/app/nlb HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
No |
ID aplikasi target. |
7171a6ca-d1cd-4928-8642-7d5cfe69**** |
| NlbId |
string |
No |
ID instans NLB. |
nlb-7z7jjbzz44d82c9*** |
| Listeners |
string |
No |
Pendengar, ditentukan sebagai string berformat JSON. Setiap objek pendengar berisi bidang berikut:
|
|
| ZoneMappings |
string |
No |
Pemetaan antara zona dan vSwitch, berupa string berformat JSON. Anda dapat menambahkan hingga 10 zona. Jika wilayah saat ini mendukung dua zona atau lebih, Anda harus menentukan setidaknya dua zona. Setiap objek
|
vsw-sersdf**** cn-hangzhou-a |
| AddressType |
string |
No |
Tipe alamat instans NLB. Nilai valid:
|
Internet |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response object. |
||
| RequestId |
string |
The request ID. |
91F93257-7A4A-4BD3-9A7E-2F6EAE6D**** |
| Message |
string |
The response message.
|
success |
| TraceId |
string |
The request's trace ID, used for troubleshooting. |
0a06dfe717389800573793090e0589 |
| Data |
object |
The response data. |
|
| ChangeOrderId |
string |
The ID of the change order. You can use this ID to query the task status. |
ba386059-69b1-4e65-b1e5-0682d9fa**** |
| ErrorCode |
string |
The error code.
|
|
| Code |
string |
The HTTP status code.
|
200 |
| Success |
boolean |
Indicates whether the request was successful.
|
true |
Contoh
Respons sukses
JSONformat
{
"RequestId": "91F93257-7A4A-4BD3-9A7E-2F6EAE6D****",
"Message": "success",
"TraceId": "0a06dfe717389800573793090e0589",
"Data": {
"ChangeOrderId": "ba386059-69b1-4e65-b1e5-0682d9fa****"
},
"ErrorCode": "",
"Code": "200",
"Success": true
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.