ゲートウェイ並行性ルールをクエリします。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
mse:ListGatewayIsolationRule |
list |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| FilterParams |
string |
必須 |
POP 専用 |
param |
| AcceptLanguage |
string |
任意 |
返される結果が表示される言語。 値: zh (デフォルト): 中国語、en: 英語 |
zh |
レスポンスフィールド
|
パラメーター |
型 |
説明 |
例 |
|
object |
RestResult<PageResult |
||
| RequestId |
string |
リクエスト ID です。 |
6F025D43-8632-5716-AE9B-7EDDF16C**** |
| Data |
object |
返されるデータ。 |
|
| PageNumber |
integer |
インスタンスリストのページ番号 |
1 |
| TotalSize |
integer |
クエリされたインスタンスの総数 |
1 |
| PageSize |
integer |
入力時に設定された 1 ページあたりの行数 |
100 |
| Result |
array |
返された結果。 |
|
|
object |
返されたコレクション。 |
||
| Id |
integer |
並行性ルールの ID です。 |
358 |
| GatewayId |
integer |
ゲートウェイIDです。 |
14407 |
| GatewayUniqueId |
string |
ゲートウェイの一意の ID です。 |
gw-e2d226bba4b2445c9e29fa7f8216**** |
| RouteId |
integer |
ルーティング ID です。 |
52853 |
| RouteName |
string |
ルーティング名。 |
routeName |
| MaxConcurrency |
integer |
全体同時実行のしきい値。 |
100 |
| LimitMode |
integer |
しきい値変換モード。 0: 単一マシン 1: クラスタ 2: クラスタから単一マシン |
0 |
| BehaviorType |
integer |
Webフォールバック動作タイプ。 0: 指定されたコンテンツを返します。 1: 指定されたページにリダイレクトします。 |
0 |
| BodyEncoding |
integer |
エンコードタイプ。 0: プレーンテキスト。 1: JSON。 |
0 |
| ResponseStatusCode |
integer |
HTTP ステータスコードです。 |
429 |
| ResponseContentBody |
string |
HTTP レスポンステキストです。 |
text |
| ResponseRedirectUrl |
string |
リダイレクト URL です。 |
www.******.com |
| ResponseAdditionalHeaders |
string |
カスタムヘッダー。キーと値のペアとして入力します。 |
key:value |
| Enable |
integer |
ルールが有効になっているかどうかを示します。 0: 無効。 1: 有効。 |
0 |
| IdList |
array |
フィルタリングされたルール ID |
|
|
integer |
ルール ID です。 |
358 |
|
| Results |
array |
返された結果セットです。 |
|
|
object |
返されたコレクションです。 |
||
| Id |
integer |
並行性ルールの ID です。 |
358 |
| GatewayId |
integer |
ゲートウェイID。 |
14407 |
| GatewayUniqueId |
string |
ゲートウェイの一意の ID です。 |
gw-e2d226bba4b2445c9e29fa7f8216**** |
| RouteId |
integer |
ルーティング ID です。 |
52853 |
| RouteName |
string |
ルーティング名。 |
routeName |
| MaxConcurrency |
integer |
全体的な同時実行のしきい値。 |
100 |
| LimitMode |
integer |
しきい値変換タイプ。 0: 単一マシン。 1: クラスタ。 2: 単一マシンからクラスタ。 |
1 |
| BehaviorType |
integer |
Webフォールバック動作タイプ。 0: 指定されたコンテンツを返します。 1: 指定されたページにリダイレクトします。 |
0 |
| BodyEncoding |
integer |
エンコードタイプです。 0: プレーンテキスト。 1: JSON。 |
0 |
| ResponseStatusCode |
integer |
HTTP ステータスコードです。 |
429 |
| ResponseContentBody |
string |
HTTP レスポンステキストです。 |
text |
| ResponseRedirectUrl |
string |
リダイレクト URL です。 |
www.******.com |
| ResponseAdditionalHeaders |
string |
カスタムヘッダー。キーと値のペアとして入力します。 |
key=value |
| Enable |
integer |
ルールが有効かどうかを示します。 0: 無効。 1: 有効。 |
0 |
| IdList |
array |
フィルター処理されたルール ID |
|
|
integer |
ルール ID です。 |
358 |
例
成功レスポンス
JSONJSON
{
"RequestId": "6F025D43-8632-5716-AE9B-7EDDF16C****",
"Data": {
"PageNumber": 1,
"TotalSize": 1,
"PageSize": 100,
"Result": [
{
"Id": 358,
"GatewayId": 14407,
"GatewayUniqueId": "gw-e2d226bba4b2445c9e29fa7f8216****",
"RouteId": 52853,
"RouteName": "routeName",
"MaxConcurrency": 100,
"LimitMode": 0,
"BehaviorType": 0,
"BodyEncoding": 0,
"ResponseStatusCode": 429,
"ResponseContentBody": "text",
"ResponseRedirectUrl": "www.******.com",
"ResponseAdditionalHeaders": "key:value",
"Enable": 0,
"IdList": [
358
]
}
],
"Results": [
{
"Id": 358,
"GatewayId": 14407,
"GatewayUniqueId": "gw-e2d226bba4b2445c9e29fa7f8216****",
"RouteId": 52853,
"RouteName": "routeName",
"MaxConcurrency": 100,
"LimitMode": 1,
"BehaviorType": 0,
"BodyEncoding": 0,
"ResponseStatusCode": 429,
"ResponseContentBody": "text",
"ResponseRedirectUrl": "www.******.com",
"ResponseAdditionalHeaders": "key=value",
"Enable": 0,
"IdList": [
358
]
}
]
}
}
エラーコード
|
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 |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。