Mengubah kebijakan pengatur waktu entri rute.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:UpdateGatewayRouteTimeout |
update |
*Gateway
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
integer |
Yes |
ID Catatan terkait. |
567 |
| GatewayId |
integer |
No |
ID gerbang. |
85 |
| TimeoutJSON |
object |
No |
Periode pengatur waktu. |
|
| UnitNum |
integer |
No |
The value of the timeout period. |
1 |
| TimeUnit |
string |
No |
The unit of time. A value of s indicates seconds. |
s |
| Status |
string |
No |
The status of the policy. |
off |
| GatewayUniqueId |
string |
Yes |
ID unik gerbang. |
gw-533290d279c1405f9628c64f7c8272ee |
| AcceptLanguage |
string |
No |
Bahasa tanggapan. Nilai valid:
|
zh |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The schema of the response. |
||
| RequestId |
string |
The ID of the request. |
5359729E-A059-5942-98AF-E981E89C99FA |
| HttpStatusCode |
integer |
The HTTP status code returned. |
200 |
| Message |
string |
The message returned. |
You are not authorized to perform this operation. |
| Code |
integer |
The return value. |
200 |
| Success |
boolean |
Indicates whether the request was successful. true: The request was successful. false: The request failed. |
true |
| Data |
integer |
The data of the node. |
400 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "5359729E-A059-5942-98AF-E981E89C99FA",
"HttpStatusCode": 200,
"Message": "You are not authorized to perform this operation.",
"Code": 200,
"Success": true,
"Data": 400
}
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.