スイミングレーン ID 別にスイミングレーン情報をクエリします。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
mse:QuerySwimmingLaneById |
get |
*GovernanceNamespace
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| LaneId |
integer |
必須 |
スイミングレーン ID。 |
250 |
| Namespace |
string |
任意 |
MSE 名前空間の名前。 |
default |
| AcceptLanguage |
string |
任意 |
レスポンスの言語。有効な値:
|
zh |
レスポンスフィールド
|
パラメーター |
型 |
説明 |
例 |
|
object |
RestResult |
||
| RequestId |
string |
リクエスト ID。 |
69AD2AA7-DB47-449B-941B-B14409DF**** |
| Success |
boolean |
呼び出しが成功したかどうかを示します。有効な値:
|
true |
| ErrorCode |
string |
エラーコード。 |
mse-100-000 |
| Message |
string |
メッセージ。 |
The request was successfully processed. |
| Data |
object |
返されたデータ。 |
{id:102,name:"test"} |
| name |
string |
スイミングレーン名。 |
test |
| id |
integer |
スイミングレーン ID。 |
1 |
| tag |
string |
スイミングレーンに対応するタグ。 |
gray |
| status |
integer |
スイミングレーンのステータス。 |
1 |
| enable |
boolean |
スイミングレーンスイッチ。 |
true |
| regionId |
string |
リージョン ID。 |
cn-shanghai |
| groupId |
integer |
スイミングレーングループ ID。 |
8 |
| entryRule |
string |
エントリアプリケーションルール。 |
{} |
| entryRules |
array |
エントリアプリケーションルールの詳細。 |
|
|
object |
エントリアプリケーションルール。 |
||
| paths |
array |
パスのリスト。 |
|
|
string |
パス。 |
/ |
|
| path |
string |
パス。 |
/ |
| condition |
string |
条件。 |
AND |
| restItems |
array |
RESTful 一致ルール。 |
|
|
object |
RESTful 一致ルール。 |
||
| type |
string |
一致タイプ。 |
cookie |
| name |
string |
名前。 |
11111 |
| operator |
string |
フィルター オペレーター。 |
rawvalue |
| nameList |
array |
名前。 |
|
|
string |
名前。 |
test |
|
| datum |
string |
数値。 |
x |
| cond |
string |
一致する文字。 |
== |
| divisor |
integer |
除数。 |
10 |
| remainder |
integer |
剰余。 |
10 |
| rate |
integer |
パーセンテージ。 |
30 |
| value |
string |
値。 |
hello |
| enableRules |
boolean |
ルールを有効にするかどうかを指定します。有効な値: |
true |
| gmtCreate |
string |
ルール作成日時 |
1683598484000 |
| gmtModified |
string |
ルールの変更日時 |
1683598484000 |
| gatewaySwimmingLaneRouteJson |
string |
MSE ゲートウェイ ルーティング ルール。 |
{} |
| PathIndependentPercentageEnable |
boolean |
このパラメーターは廃止されました。このパラメーターは、Java ゲートウェイがスイミングレーン グループのエントリとして使用される場合に、パスごとにグレースケールを有効にするかどうかを指定するために使用されます。 |
false |
例
成功レスポンス
JSONJSON
{
"RequestId": "69AD2AA7-DB47-449B-941B-B14409DF****",
"Success": true,
"ErrorCode": "mse-100-000",
"Message": "The request was successfully processed.\n",
"Data": {
"name": "test",
"id": 1,
"tag": "gray",
"status": 1,
"enable": true,
"regionId": "cn-shanghai",
"groupId": 8,
"entryRule": "{}",
"entryRules": [
{
"paths": [
"/"
],
"path": "/",
"condition": "AND",
"restItems": [
{
"type": "cookie",
"name": "11111",
"operator": "rawvalue",
"nameList": [
"test"
],
"datum": "x",
"cond": "==",
"divisor": 10,
"remainder": 10,
"rate": 30,
"value": "hello"
}
]
}
],
"enableRules": true,
"gmtCreate": "1683598484000",
"gmtModified": "1683598484000",
"gatewaySwimmingLaneRouteJson": "{}",
"PathIndependentPercentageEnable": false
}
}
エラーコード
|
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 |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。