Retrieves the rules for graceful start and shutdown.
Operation description
You can call the FetchLosslessRuleList operation to retrieve the configuration rules for graceful start and shutdown.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mse:FetchLosslessRuleList |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-beijing |
| AppName |
string |
No |
The application name. |
spring-boot-sample |
| Namespace |
string |
No |
The namespace. |
default |
| AppId |
string |
No |
The application ID. |
hyaziyb6sc@86827c61f5ed8fc |
| PageNumber |
integer |
Yes |
The page number. |
1 |
| PageSize |
integer |
Yes |
The number of entries to return on each page. |
10 |
| AcceptLanguage |
string |
No |
The language of the response. Valid values:
|
zh-CN |
Response elements
|
Parameter |
Type |
Description |
Example |
|
object |
The return value. |
||
| RequestId |
string |
The request ID. |
56D9E600-6348-4260-B35F-583413F**** |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
True |
| Code |
integer |
The response code. |
200 |
| ErrorCode |
string |
The error code. |
Success |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Message |
string |
The message. |
success |
| Data |
object |
The response data. |
|
| PageNumber |
integer |
The page number. |
1 |
| PageSize |
integer |
The number of entries returned per page. |
10 |
| TotalSize |
integer |
The total number of entries. |
36 |
| Results |
array |
The response data. |
|
|
object |
The response data. |
||
| AppName |
string |
The application name. |
echo-demo |
| AppId |
string |
The application ID. |
hkhon1po62@24810bf4364aea1 |
| Count |
integer |
The total number of instances. |
3 |
| Enable |
boolean |
Indicates whether graceful start is enabled. Valid values:
|
true |
| WarmupTime |
integer |
The prefetching duration. Unit: seconds. |
60 |
| DelayTime |
integer |
The registration latency. Unit: seconds. |
60 |
| FuncType |
integer |
The slope of the prefetching curve. |
2 |
| Aligned |
boolean |
Indicates whether service registration is complete before readiness probe. |
true |
| Related |
boolean |
Indicates whether service prefetching is complete before readiness probe. |
false |
| LossLessDetail |
boolean |
Specifies whether to display online and offline processing details. |
false |
| Notice |
boolean |
Indicates whether notification is enabled. |
true |
Examples
Success response
JSON format
{
"RequestId": "56D9E600-6348-4260-B35F-583413F****",
"Success": true,
"Code": 200,
"ErrorCode": "Success",
"HttpStatusCode": 200,
"Message": "success",
"Data": {
"PageNumber": 1,
"PageSize": 10,
"TotalSize": 36,
"Results": [
{
"AppName": "echo-demo",
"AppId": "hkhon1po62@24810bf4364aea1",
"Count": 3,
"Enable": true,
"WarmupTime": 60,
"DelayTime": 60,
"FuncType": 2,
"Aligned": true,
"Related": false,
"LossLessDetail": false,
"Notice": true
}
]
}
}
Error codes
|
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 |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.