ゲートウェイのブラックリストとホワイトリストを取得します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
mse:GatewayBlackWhiteList |
get |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| PageNumber |
integer |
任意 |
ページ番号。有効値: 0 より大きい整数。 デフォルト値: 1。 |
1 |
| PageSize |
integer |
任意 |
1 ページあたりのエントリ数。デフォルト値: 1。 |
1 |
| FilterParams |
object |
任意 |
filterParams から解析 |
|
| GatewayId |
integer |
任意 |
ゲートウェイ ID。 |
81 |
| GatewayUniqueId |
string |
任意 |
ゲートウェイの一意の識別子( GatewayId と GatewayUniqueId の両方が存在する場合、 GatewayId が優先されます)。 |
gw-5017305290e14centbrveca**** |
| ResourceType |
string |
任意 |
まだ使用できません。 |
"" |
| Type |
string |
任意 |
まだ使用できません。 |
"" |
| IsWhite |
boolean |
任意 |
まだ使用できません。 |
"" |
| SearchType |
string |
任意 |
検索タイプ:
|
IP |
| SearchContent |
string |
任意 |
検索コンテンツ。 |
1.1.1.1 |
| OrderItem |
string |
任意 |
まだ使用できません。 |
"" |
| DescSort |
boolean |
任意 |
まだ使用できません。 |
"" |
| AcceptLanguage |
string |
任意 |
返される結果が表示される言語。値: zh (デフォルト): 中国語、 en: 英語 |
zh |
レスポンスフィールド
|
パラメーター |
型 |
説明 |
例 |
|
object |
RestResult<PageResult |
||
| RequestId |
string |
リクエスト ID。 |
58E06A0A-BD2C-47A0-99C2-B100F353**** |
| Success |
boolean |
リクエストの結果。有効値:
|
true |
| Code |
integer |
コードは success と同期するためにのみ使用されます |
200 |
| ErrorCode |
string |
エラーコード。 |
Success |
| HttpStatusCode |
integer |
HTTP ステータスコード。 |
200 |
| Message |
string |
返されたメッセージ。 |
OK |
| DynamicCode |
string |
動的エラーメッセージのプレースホルダー。現在使用されていないため、無視してください。 |
code |
| DynamicMessage |
string |
動的メッセージ。現在使用されていないため、無視してください。 |
The specified parameter is invalid. |
| Data |
object |
返されたデータ。 |
|
| PageNumber |
integer |
インスタンスリストのページ番号 |
1 |
| TotalSize |
integer |
見つかったインスタンスの総数 |
1 |
| PageSize |
integer |
入力時に設定された 1 ページあたりの行数 |
1 |
| Result |
array |
返されたコレクション。 |
|
|
object |
|||
| Id |
integer |
ブラックリストまたはホワイトリスト ID。 |
549 |
| ResourceId |
integer |
リソース ID。 |
549 |
| ResourceType |
string |
有効な粒度:
|
GATEWAY |
| Content |
string |
ブラックリストコンテンツ。 |
1.1.1.1 |
| IsWhite |
boolean |
ホワイトリストかどうかを示します。 |
true |
| Type |
string |
ブラックリストまたはホワイトリストのタイプ。現在は IP ブラックリストまたはホワイトリストに固定されています。 |
IP |
| Status |
string |
ブラックリストまたはホワイトリストのステータス。
|
on |
| GatewayId |
integer |
ゲートウェイ ID。 |
81 |
| GatewayUniqueId |
string |
ゲートウェイの一意の識別子。 |
gw-5017305290e14centbrveca**** |
| GmtCreate |
string |
作成時間。 |
2024-08-02T02:43:40.000+0000 |
| GmtModified |
string |
変更時間。 |
2024-08-02T02:43:40.000+0000 |
| ResourceIdJsonList |
string |
リソース ID の JSON リスト。
|
[234] |
| Note |
string |
備考。 |
|
| ResourceIdNameJson |
string |
リソース名説明。 |
{} |
| Name |
string |
ブラックリスト名。 |
test |
例
成功レスポンス
JSONJSON
{
"RequestId": "58E06A0A-BD2C-47A0-99C2-B100F353****",
"Success": true,
"Code": 200,
"ErrorCode": "Success",
"HttpStatusCode": 200,
"Message": "OK",
"DynamicCode": "code",
"DynamicMessage": "The specified parameter is invalid.",
"Data": {
"PageNumber": 1,
"TotalSize": 1,
"PageSize": 1,
"Result": [
{
"Id": 549,
"ResourceId": 549,
"ResourceType": "GATEWAY",
"Content": "1.1.1.1",
"IsWhite": true,
"Type": "IP",
"Status": "on",
"GatewayId": 81,
"GatewayUniqueId": "gw-5017305290e14centbrveca****",
"GmtCreate": "2024-08-02T02:43:40.000+0000",
"GmtModified": "2024-08-02T02:43:40.000+0000",
"ResourceIdJsonList": "[234]",
"Note": "",
"ResourceIdNameJson": "{}",
"Name": "test"
}
]
}
}
エラーコード
|
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 |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。