OBJECT

TanzuHubPolicySchedule

Schedule for policy execution on a schedule basis.

link GraphQL Schema definition

  • type TanzuHubPolicySchedule {
  • # Date of the month that tasks run. Returns a date between 1-31.If 29 is returned
  • # then it will run on 29th of every month expect February(28)
  • # i.e. it will be skipped for February.Returned for Monthly interval only.
  • dayOfMonth: Int
  • # Day of week.
  • dayOfWeek: [TanzuHubPolicyDaysOfWeek!]
  • # Frequency that the schedule runs for the specified interval. For example, if the
  • # interval is Hourly, a frequency of 2 means the task runs every 2 hours.
  • frequency: Int!
  • # Interval or repeat frequency at which the schedule runs.
  • # NOTE:
  • # 1) When a `WEEK` interval is selected then `dayOfWeek` is required.
  • # 2) When a `MONTH` interval is selceted then `dayOfMonth` is required.
  • interval: TanzuHubPolicyIntervalType!
  • # Time during the day it should run at - any value between 00:00 to 23:59
  • # NOTE: runAt is not applicable for 'HOURLY' intervals.
  • runAt: TanzuHubPolicyRunAt
  • }