Mengubah konfigurasi fitur online dan offline lossless.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:ModifyLosslessRule |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID Wilayah. |
cn-beijing |
| AppName |
string |
No |
Nama aplikasi. |
wx-work-api |
| Namespace |
string |
No |
Namespace layanan mikro tempat aturan diterapkan. |
default |
| AppId |
string |
Yes |
ID aplikasi. |
c644n5frmc@3e75f25fd4***** |
| Enable |
boolean |
Yes |
Apakah akan mengaktifkan aturan peringatan. Nilai valid:
|
false |
| WarmupTime |
integer |
Yes |
Durasi prefetching. |
60 |
| DelayTime |
integer |
Yes |
Latensi pendaftaran. |
1 |
| FuncType |
integer |
Yes |
Kemiringan kurva prefetching. |
1 |
| Aligned |
boolean |
Yes |
Apakah akan menyelaraskan siklus hidup aplikasi di Kluster Kubernetes dengan siklus hidup layanan mikro. |
true |
| Related |
boolean |
Yes |
Apakah akan mengasosiasikan dengan prefetching layanan. |
true |
| LossLessDetail |
boolean |
No |
Apakah akan menampilkan detail pemrosesan online dan offline. |
false |
| Notice |
boolean |
No |
Apakah akan mengaktifkan Notifikasi. |
false |
| 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. |
3369AD10-F1A6-4E6F-B99E-20F51826**** |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| Code |
integer |
响应码。 |
200 |
| ErrorCode |
string |
The error code returned if the request failed. |
mse-100-000 |
| HttpStatusCode |
integer |
HTTP 状态码。 |
200 |
| Message |
string |
The message returned. |
modifyLosslessRule success |
| Data |
any |
返回数据。 |
null |
Contoh
Respons sukses
JSONformat
{
"RequestId": "3369AD10-F1A6-4E6F-B99E-20F51826****",
"Success": true,
"Code": 200,
"ErrorCode": "mse-100-000",
"HttpStatusCode": 200,
"Message": "modifyLosslessRule success",
"Data": "null"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | Parameter error:%s | Request parameter error: %s |
| 400 | IllegalRequest | Invalid request:%s | Invalid request: %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.