この操作では、ゲートウェイエントリの SLB インスタンスを照会します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
mse:ListGatewaySlb |
get |
*Gateway
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| GatewayUniqueId |
string |
任意 |
ゲートウェイの一意の ID です。 |
gw-1cef5440bf2d484db419fb264d4f**** |
| AcceptLanguage |
string |
任意 |
応答メッセージの言語です。有効な値:
|
zh |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
データ構造。 |
||
| RequestId |
string |
リクエスト ID。 |
EAB345F4-3AC3-560C-B653-65717703**** |
| HttpStatusCode |
integer |
HTTP ステータスコード。 |
200 |
| Message |
string |
応答メッセージ。 |
Succ |
| Code |
integer |
リターンコード。 |
200 |
| Success |
boolean |
リクエストが成功したかどうかを示します。有効な値:
|
true |
| Data |
array<object> |
応答データ。 |
|
|
array<object> |
データ構造。 |
||
| Id |
string |
レコードの一意の ID。 |
ID |
| SlbId |
string |
SLB インスタンスの ID。 |
lb-bp1kmnli3hdpreptw2ah3 |
| SlbIp |
string |
SLB インスタンスの IP アドレス。 |
121.199.XX.XX |
| SlbPort |
string |
SLB インスタンスのポート。 |
80,443 |
| Type |
string |
ネットワークタイプ。有効な値:
|
PUB_NET |
| GatewayId |
string |
ゲートウェイの ID。 |
1 |
| GmtCreate |
string |
レコードの作成時間。 |
2022-01-14 14:39:16 |
| GatewaySlbMode |
string |
SLB 関連付けのソース。 |
UserSelect |
| GatewaySlbStatus |
string |
SLB インスタンスの関連付けステータス。 |
Ready |
| StatusDesc |
string |
ステータスの詳細な説明。 |
Associating |
| VServerGroupId |
string |
HTTP vServer グループの ID。 |
353 |
| HttpPort |
integer |
vServer グループの HTTP ポート。 |
80 |
| HttpsPort |
integer |
vServer グループの HTTPS ポート。 |
443 |
| ServiceWeight |
integer |
サービスの重み。 |
80 |
| EditEnable |
boolean |
エントリが編集可能かどうかを示します。 |
false |
| HttpsVServerGroupId |
string |
HTTPS vServer グループの ID。 |
353 |
| VsMetaInfo |
string |
vServer グループのメタデータ。 |
[{"protocol":"HTTP","vServerGroupName":"k8s/80/****","port":80,"vServerGroupId":"rsp-bp***"},{"protocol":"HTTPS","vServerGroupName":"k8s/443/***","port":443,"vServerGroupId":"rsp-bp*****"}] |
| VServiceList |
array<object> |
SLB リスナーの詳細。 |
|
|
object |
|||
| Port |
string |
リスナーポート。 |
443 |
| Protocol |
string |
プロトコルタイプ。有効な値:
|
HTTPS |
| VServerGroupId |
string |
vServer グループの ID。 |
rsp-bp183l2x70*** |
| VServerGroupName |
string |
vServer グループの名前。 |
k8s/31**0/***/istio-system/clusterid |
| SlbType |
string |
SLB インスタンスのタイプ。 |
例
成功レスポンス
JSONJSON
{
"RequestId": "EAB345F4-3AC3-560C-B653-65717703****",
"HttpStatusCode": 200,
"Message": "Succ",
"Code": 200,
"Success": true,
"Data": [
{
"Id": "ID",
"SlbId": "lb-bp1kmnli3hdpreptw2ah3",
"SlbIp": "121.199.XX.XX",
"SlbPort": "80,443",
"Type": "PUB_NET",
"GatewayId": "1",
"GmtCreate": "2022-01-14 14:39:16",
"GatewaySlbMode": "UserSelect",
"GatewaySlbStatus": "Ready",
"StatusDesc": "Associating",
"VServerGroupId": "353",
"HttpPort": 80,
"HttpsPort": 443,
"ServiceWeight": 80,
"EditEnable": false,
"HttpsVServerGroupId": "353",
"VsMetaInfo": "[{\"protocol\":\"HTTP\",\"vServerGroupName\":\"k8s/80/****\",\"port\":80,\"vServerGroupId\":\"rsp-bp***\"},{\"protocol\":\"HTTPS\",\"vServerGroupName\":\"k8s/443/***\",\"port\":443,\"vServerGroupId\":\"rsp-bp*****\"}]",
"VServiceList": [
{
"Port": "443",
"Protocol": "HTTPS",
"VServerGroupId": "rsp-bp183l2x70***",
"VServerGroupName": "k8s/31**0/***/istio-system/clusterid"
}
],
"SlbType": ""
}
]
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | |
| 400 | InvalidParameter | Parameter error:%s | |
| 500 | InternalError | Console error. Try again later:%s | |
| 403 | NoPermission | You are not authorized to perform this operation:%s | |
| 404 | NotFound | Not found:%s |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。