プラグイン構成を更新します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
mse:UpdatePluginConfig |
update |
*Gateway
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| Id |
integer |
任意 |
プラグイン構成の ID。 |
1 |
GatewayId
deprecated
|
integer |
任意 |
ゲートウェイの ID。 |
1 |
| GatewayUniqueId |
string |
任意 |
ゲートウェイの一意な ID。 |
gw-ubuwqygbq4783gqb2y3f87q**** |
| PluginId |
integer |
任意 |
ゲートウェープラグインの ID。 |
2 |
| Enable |
boolean |
任意 |
プラグインを有効にするかどうかを指定します。 |
true |
| Config |
string |
任意 |
The plug-in configuration. Configurations of WebAssembly plug-ins are in the YAML format, and configurations of Lua plug-ins are in the Lua code. |
|
| ConfigLevel |
integer |
必須 |
プラグインの範囲。
|
0 |
| ResourceIdList |
array |
任意 |
ConfigLevel で区別されるドメイン ID またはルート ID のリスト。 |
|
|
integer |
任意 |
ID 値。 |
200 |
|
GmtCreate
deprecated
|
string |
任意 |
作成時間。 |
1667309705000 |
GmtModified
deprecated
|
string |
任意 |
更新時間。 |
1667309705000 |
| AcceptLanguage |
string |
任意 |
応答の言語。有効な値:
|
zh |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
RestResult |
||
| RequestId |
string |
リクエスト ID。 |
03A3E2F4-6804-5663-9D5D-2EC47A1***** |
| Success |
boolean |
リクエストが成功したかどうかを示します。 |
true |
| Code |
integer |
コード。 |
200 |
| ErrorCode |
string |
エラーコード。 |
500 |
| HttpStatusCode |
integer |
HTTP 状態コード。 |
200 |
| Message |
string |
応答メッセージ。 |
success |
| DynamicMessage |
string |
動的エラーメッセージ内のプレースホルダー。 |
コード |
| Data |
integer |
ID 値。 |
1 |
例
成功レスポンス
JSONJSON
{
"RequestId": "03A3E2F4-6804-5663-9D5D-2EC47A1*****",
"Success": true,
"Code": 200,
"ErrorCode": "500",
"HttpStatusCode": 200,
"Message": "success",
"DynamicMessage": "code",
"Data": 1
}
エラーコード
|
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 |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。