Schedule
Last updated
Last updated
A Schedule is a time schedule of when a User will use a query.
Package : spaceone.api.statistics.v1
Schedule Methods:
Method | Request | Response |
---|---|---|
Adds a new Schedule. When creating, topic
and queries to be used should be specified. The time interval of the Schedule should be also specified to run queries repeatedly. The run set by Schedule starts every hour on the hour.
POST /statistics/v1/schedule/add
Updates a specific Schedule. You can make changes in Schedule settings, including time intervals.
POST /statistics/schedule/update
Enables a specific Schedule. If a Schedule is enabled, the query usage will be scheduled by the time interval specified.
POST /statistics/v1/schedule/enable
Disables a specific Schedule. If a Schedule is disabled, the query usage will not be scheduled.
POST /statistics/v1/schedule/disable
Deletes a specific Schedule. You must specify the schedule_id
of the Schedule to delete.
POST /statistics/v1/schedule/delete
Gets a specific Schedule. Prints detailed information about the Schedule, including the schedule interval and state
.
POST /statistics/v1/schedule/get
Gets a list of all Schedules. You can use a query to get a filtered list of Schedules.
POST /statistics/v1/schedule/list
POST /statistics/v1/schedule/stat
topic (string) Required
options (Struct) Required
schedule (Scheduled) Required
tags (Struct)
aggregate (StatAggregate) Required
page (StatPage)
schedule_id (string) Required
topic (string) Required
state (State) Required
options (Struct) Required
schedule (Scheduled) Required
tags (Struct) Required
domain_id (string) Required
created_at (string) Required
last_scheduled_at (string) Required
query (Query)
schedule_id (string)
topic (string)
state (string)
schedule_id (string) Required
query (StatisticsQuery) Required
cron (string) Required
interval (int32) Required
minutes (int32) Repeated
Required
hours (int32) Repeated
Required
results (ScheduleInfo) Repeated
Required
total_count (int32) Required
schedule_id (string) Required
schedule (Scheduled)
tags (Struct)