Modifies cluster inspection configurations.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cs:UpdateClusterInspectConfig |
update |
*Cluster
|
None | None |
Request syntax
PUT /clusters/{clusterId}/inspectConfig HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| clusterId |
string |
Yes |
The cluster ID. |
c82e6987e2961451182edacd74faf**** |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| enabled |
boolean |
No |
Specifies whether to enable cluster inspection. |
true |
| scheduleTime |
string |
No |
The inspection period defined using RFC5545 Recurrence Rule. You must specify BYHOUR and BYMINUTE. Only FREQ=DAILY is supported. COUNT or UNTIL is not supported. |
FREQ=DAILY;BYHOUR=10;BYMINUTE=15 |
| disabledCheckItems |
array |
No |
The list of disabled inspection check items. |
|
|
string |
No |
The name of the disabled inspection check item. |
NginxIngressServiceAnnotationMultiTargets |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| requestId |
string |
The request ID. |
49511F2D-D56A-5C24-B9AE-C8491E09B*** |
Examples
Success response
JSON format
{
"requestId": "49511F2D-D56A-5C24-B9AE-C8491E09B***"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.