ゲートウェイルートのリトライポリシーを変更します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
mse:UpdateGatewayRouteRetry |
update |
*Gateway
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| Id |
integer |
必須 |
関連レコードの ID。 |
508 |
| GatewayId |
integer |
任意 |
ゲートウェイ ID。 |
501 |
| RetryJSON |
object |
必須 |
リトライポリシー。 |
|
| Attempts |
integer |
任意 |
リトライ回数。 |
2 |
| RetryOn |
array |
任意 |
リトライをトリガーする条件。 |
|
|
string |
任意 |
特定の条件。 |
5xx |
|
| HttpCodes |
array |
任意 |
HTTP ステータスコード。 |
|
|
string |
任意 |
HTTP ステータスコード。 |
||
| Status |
string |
任意 |
リトライポリシーのステータス。 |
off |
| GatewayUniqueId |
string |
必須 |
ゲートウェイの一意の ID。 |
gw-3f97e2989c344f35ab3fd62b19f1d10a |
| AcceptLanguage |
string |
任意 |
応答メッセージの言語。有効な値:
|
zh |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答のスキーマ |
||
| RequestId |
string |
リクエスト ID。 |
9297B27D-D932-5E9F-93B9-99D6C5F3A879 |
| HttpStatusCode |
integer |
HTTP ステータスコード。 |
200 |
| Message |
string |
返されるメッセージ。 |
You are not authorized to perform this operation. |
| Code |
integer |
応答コード。 |
200 |
| Success |
boolean |
リクエストが成功したかどうかを示します。有効な値:
|
true |
| Data |
integer |
返されるデータ。 |
640 |
例
成功レスポンス
JSONJSON
{
"RequestId": "9297B27D-D932-5E9F-93B9-99D6C5F3A879",
"HttpStatusCode": 200,
"Message": "You are not authorized to perform this operation.",
"Code": 200,
"Success": true,
"Data": 640
}
エラーコード
|
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 |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。