CreateInspectionSchedule
Creates a configuration for a scheduled inspection task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
kvstore:CreateInspectionSchedule |
create |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ScheduleName |
string |
No |
The name of the timed scheduling. |
test-sche |
| CronExpression |
string |
No |
The cron expression for the periodic schedule. |
0 0 2 * * ? |
| Timezone |
string |
No |
The time zone. |
Asia/Shanghai |
| InstanceIds |
string |
No |
The list of associated instance IDs. Note
|
r-bp1zxszhcgatnx**** |
| InspectionItems |
string |
No |
The specified inspection items. Valid values:
|
RESOURCE_USAGE |
| InspectionWindow |
string |
No |
The time window. |
1h |
| ReportLanguage |
string |
No |
The language of the report. |
zh-CN |
| InstanceId |
string |
Yes |
The ID of the assistant instance. |
ta-bp11iljddg37xxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
561AFBF1-BE20-44DB-9BD1-6988B53E**** |
Examples
Success response
JSON format
{
"RequestId": "561AFBF1-BE20-44DB-9BD1-6988B53E****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.