Mengaitkan Instance Server Load Balancer (SLB) dengan gerbang.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:AddGatewaySlb |
create |
*Gateway
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| SlbId |
string |
Yes |
ID Instance SLB. |
lb-bp18t6jjskwxh6wy1**** |
| Type |
string |
No |
Tipe sumber layanan. Nilai valid:
|
PUB_NET |
| GatewayUniqueId |
string |
Yes |
ID unik gerbang. |
gw-9cdcf8e4f58144059e73ff4c5ef9**** |
| VServerGroupId |
string |
No |
ID kelompok layanan virtual HTTP. |
353 |
| ServiceWeight |
integer |
No |
Bobot layanan. |
80 |
| HttpPort |
integer |
No |
Nomor Port HTTP (kelompok layanan virtual). |
80 |
| HttpsPort |
integer |
No |
Nomor Port HTTPS (kelompok layanan virtual). |
443 |
| HttpsVServerGroupId |
string |
No |
ID kelompok layanan virtual HTTPS. |
353 |
| VServiceList |
array<object> |
No |
Informasi Pemantauan SLB. |
|
|
object |
No |
|||
| VServerGroupId |
string |
No |
The ID of the virtual server group. |
rsp-bp1j**t0fyl** |
| VServerGroupName |
string |
No |
The name of the virtual server group. |
k8s/31**0/***/istio-system/clusterid |
| Port |
integer |
No |
The port number. |
443 |
| Protocol |
string |
No |
The protocol type. Valid values:
|
HTTPS |
| AcceptLanguage |
string |
No |
Bahasa tanggapan. Nilai valid:
|
zh |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The ID of the request. |
316F5F64-F73D-42DC-8632-01E308B6**** |
| HttpStatusCode |
integer |
The HTTP status code returned. |
200 |
| Message |
string |
The message returned.
|
The request is successfully processed. |
| Code |
integer |
The response code returned. |
200 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Data |
string |
The data returned. |
lb-uf6dqr4ondqi5w3df7hdf |
Contoh
Respons sukses
JSONformat
{
"RequestId": "316F5F64-F73D-42DC-8632-01E308B6****",
"HttpStatusCode": 200,
"Message": "The request is successfully processed.\n",
"Code": 200,
"Success": true,
"Data": "lb-uf6dqr4ondqi5w3df7hdf"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | Invalid request: %s |
| 400 | InvalidParameter | Parameter error:%s | Request parameter error: %s |
| 500 | InternalError | Console error. Try again later:%s | Console error. Try again later: %s |
| 403 | NoPermission | You are not authorized to perform this operation:%s | You do not have the permission to use this interface:%s |
| 404 | NotFound | Not found:%s | The resource does not exist:%s |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.