Memperbarui konfigurasi rilis canary untuk pengiriman pesan.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:UpdateMessageQueueRoute |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| Tags |
array |
No |
Tag lingkungan aplikasi yang akan diabaikan. |
|
|
string |
No |
The tag of an application environment to be ignored. |
gray |
|
| Region |
string |
Yes |
ID wilayah. |
cn-hangzhou |
| Enable |
boolean |
No |
Apakah akan mengaktifkan fitur rilis canary untuk pengiriman pesan pada aplikasi. Nilai valid:
|
true |
| AppId |
string |
Yes |
ID aplikasi. |
hkhon1po62@c3df23522baa898 |
| FilterSide |
string |
No |
Sisi tempat Paket difilter saat fitur rilis canary untuk pengiriman pesan diaktifkan. |
Server |
| Namespace |
string |
No |
Nama namespace Microservices Engine (MSE). |
default |
| AppName |
string |
No |
Nama aplikasi. |
example-app |
| AcceptLanguage |
string |
No |
Bahasa tanggapan. Nilai valid:
|
zh |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The returned data. |
||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| RequestId |
string |
The request ID. |
E3919C62-876A-5926-A0BC-18351A24FA35 |
| Message |
string |
The returned message. |
success |
| Data |
string |
The returned data. |
True |
| Code |
integer |
The status code returned. The value 200 indicates that the request was successful. Other values indicate that the request failed. |
200 |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
Contoh
Respons sukses
JSONformat
{
"HttpStatusCode": 200,
"RequestId": "E3919C62-876A-5926-A0BC-18351A24FA35",
"Message": "success",
"Data": "True",
"Code": 200,
"Success": true
}
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.