Class: DatadogAPIClient::V2::FleetScheduleRecurrenceRule

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/fleet_schedule_recurrence_rule.rb

Overview

Defines the recurrence pattern for the schedule. Specifies when deployments should be automatically triggered based on maintenance windows.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



39
40
41
# File 'lib/datadog_api_client/v2/models/fleet_schedule_recurrence_rule.rb', line 39

def additional_properties
  @additional_properties
end

#days_of_weekObject

List of days of the week when the schedule should trigger. Valid values are: "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun".



27
28
29
# File 'lib/datadog_api_client/v2/models/fleet_schedule_recurrence_rule.rb', line 27

def days_of_week
  @days_of_week
end

#maintenance_window_durationObject

Duration of the maintenance window in minutes.



30
31
32
# File 'lib/datadog_api_client/v2/models/fleet_schedule_recurrence_rule.rb', line 30

def maintenance_window_duration
  @maintenance_window_duration
end

#start_maintenance_windowObject

Start time of the maintenance window in 24-hour clock format (HH:MM). Deployments will be triggered at this time on the specified days.



34
35
36
# File 'lib/datadog_api_client/v2/models/fleet_schedule_recurrence_rule.rb', line 34

def start_maintenance_window
  @start_maintenance_window
end

#timezoneObject

Timezone for the schedule in IANA Time Zone Database format (e.g., "America/New_York", "UTC").



37
38
39
# File 'lib/datadog_api_client/v2/models/fleet_schedule_recurrence_rule.rb', line 37

def timezone
  @timezone
end