Memperbarui versi layanan gerbang.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:UpdateGatewayServiceVersion |
update |
*Gateway
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| ServiceId |
integer |
Yes |
ID layanan. |
575 |
| ServiceVersion |
string |
Yes |
Versi layanan. |
{\"name\":\"v3\",\"labels\":[{\"key\":\"version\",\"value\":\"v3\"}]} |
| GatewayUniqueId |
string |
Yes |
ID unik gerbang. |
gw-eccf313e2224438ba53d95d039e5**** |
| AcceptLanguage |
string |
No |
Bahasa tanggapan. Nilai valid:
|
zh |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The data structure. |
||
| RequestId |
string |
The ID of the request. |
D6580AA6-E285-58D2-B00B-12C051B3B7BF |
| HttpStatusCode |
integer |
The HTTP status code returned. |
200 |
| Message |
string |
The message returned. |
The request is successfully processed. |
| Code |
integer |
The response code returned. |
1 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Data |
integer |
The data of the node. |
614 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "D6580AA6-E285-58D2-B00B-12C051B3B7BF",
"HttpStatusCode": 200,
"Message": "The request is successfully processed.\n",
"Code": 1,
"Success": true,
"Data": 614
}
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.