Memodifikasi kebijakan percobaan ulang untuk rute gateway.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:UpdateGatewayRouteRetry |
update |
*Gateway
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
integer |
Yes |
ID dari catatan yang terkait. |
508 |
| GatewayId |
integer |
No |
ID gateway. |
501 |
| RetryJSON |
object |
Yes |
Kebijakan percobaan ulang. |
|
| Attempts |
integer |
No |
Jumlah percobaan ulang. |
2 |
| RetryOn |
array |
No |
Kondisi yang memicu percobaan ulang. |
|
|
string |
No |
Kondisi spesifik. |
5xx |
|
| HttpCodes |
array |
No |
Kode status HTTP. |
|
|
string |
No |
Kode status HTTP. |
||
| Status |
string |
No |
Status kebijakan percobaan ulang. |
off |
| GatewayUniqueId |
string |
Yes |
ID unik dari gateway. |
gw-3f97e2989c344f35ab3fd62b19f1d10a |
| AcceptLanguage |
string |
No |
Bahasa respons. Nilai yang valid:
|
zh |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema Respons |
||
| RequestId |
string |
ID dari permintaan. |
9297B27D-D932-5E9F-93B9-99D6C5F3A879 |
| HttpStatusCode |
integer |
Kode status HTTP. |
200 |
| Message |
string |
Pesan yang dikembalikan. |
You are not authorized to perform this operation. |
| Code |
integer |
Kode respons. |
200 |
| Success |
boolean |
Menunjukkan apakah permintaan berhasil. Nilai yang valid:
|
true |
| Data |
integer |
Data yang dikembalikan. |
640 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "9297B27D-D932-5E9F-93B9-99D6C5F3A879",
"HttpStatusCode": 200,
"Message": "You are not authorized to perform this operation.",
"Code": 200,
"Success": true,
"Data": 640
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalRequest | Invalid request:%s | Invalid request: %s |
| 400 | InvalidParameter | Parameter error:%s | Request parameter error: %s |
| 500 | InternalError | Console error. Try again later:%s | Console error. Try again later: %s |
| 403 | NoPermission | You are not authorized to perform this operation:%s | You do not have the permission to use this interface:%s |
| 404 | NotFound | Not found:%s | The resource does not exist:%s |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.