eventresource.asciidoc 797 B

123456789101112131415161718192021222324252627
  1. [role="xpack"]
  2. [testenv="platinum"]
  3. [[ml-event-resource]]
  4. === Scheduled event resources
  5. An events resource has the following properties:
  6. `calendar_id`::
  7. (string) An identifier for the calendar that contains the scheduled
  8. event. This property is optional in the <<ml-post-calendar-event>>.
  9. `description`::
  10. (string) A description of the scheduled event.
  11. `end_time`::
  12. (date) The timestamp for the end of the scheduled event
  13. in milliseconds since the epoch or ISO 8601 format.
  14. `event_id`::
  15. (string) An automatically-generated identifier for the scheduled event.
  16. `start_time`::
  17. (date) The timestamp for the beginning of the scheduled event
  18. in milliseconds since the epoch or ISO 8601 format.
  19. For more information, see
  20. {stack-ov}/ml-calendars.html[Calendars and Scheduled Events].