Class: DatadogAPIClient::V2::FleetScheduleRecurrenceRule
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::FleetScheduleRecurrenceRule
- 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
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#days_of_week ⇒ Object
readonly
List of days of the week when the schedule should trigger.
-
#maintenance_window_duration ⇒ Object
readonly
Duration of the maintenance window in minutes.
-
#start_maintenance_window ⇒ Object
readonly
Start time of the maintenance window in 24-hour clock format (HH:MM).
-
#timezone ⇒ Object
readonly
Timezone for the schedule in IANA Time Zone Database format (e.g., "America/New_York", "UTC").
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
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_week ⇒ Object
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_duration ⇒ Object
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_window ⇒ Object
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 |
#timezone ⇒ Object
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 |