Class: DatadogAPIClient::V2::FleetScheduleAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::FleetScheduleAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/fleet_schedule_attributes.rb
Overview
Attributes of a schedule in the response.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#created_at_unix ⇒ Object
Unix timestamp (seconds since epoch) when the schedule was created.
-
#created_by ⇒ Object
User handle of the person who created the schedule.
-
#name ⇒ Object
Human-readable name for the schedule.
-
#query ⇒ Object
Query used to filter and select target hosts for scheduled deployments.
-
#rule ⇒ Object
Defines the recurrence pattern for the schedule.
-
#status ⇒ Object
The status of the schedule.
-
#updated_at_unix ⇒ Object
Unix timestamp (seconds since epoch) when the schedule was last updated.
-
#updated_by ⇒ Object
User handle of the person who last updated the schedule.
-
#version_to_latest ⇒ Object
readonly
Number of major versions behind the latest to target for upgrades.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
58 59 60 |
# File 'lib/datadog_api_client/v2/models/fleet_schedule_attributes.rb', line 58 def additional_properties @additional_properties end |
#created_at_unix ⇒ Object
Unix timestamp (seconds since epoch) when the schedule was created.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/fleet_schedule_attributes.rb', line 25 def created_at_unix @created_at_unix end |
#created_by ⇒ Object
User handle of the person who created the schedule.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/fleet_schedule_attributes.rb', line 28 def created_by @created_by end |
#name ⇒ Object
Human-readable name for the schedule.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/fleet_schedule_attributes.rb', line 31 def name @name end |
#query ⇒ Object
Query used to filter and select target hosts for scheduled deployments. Uses the Datadog query syntax.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/fleet_schedule_attributes.rb', line 34 def query @query end |
#rule ⇒ Object
Defines the recurrence pattern for the schedule. Specifies when deployments should be automatically triggered based on maintenance windows.
38 39 40 |
# File 'lib/datadog_api_client/v2/models/fleet_schedule_attributes.rb', line 38 def rule @rule end |
#status ⇒ Object
The status of the schedule.
active: The schedule is active and will create deployments according to its recurrence rule.inactive: The schedule is inactive and will not create any deployments.
43 44 45 |
# File 'lib/datadog_api_client/v2/models/fleet_schedule_attributes.rb', line 43 def status @status end |
#updated_at_unix ⇒ Object
Unix timestamp (seconds since epoch) when the schedule was last updated.
46 47 48 |
# File 'lib/datadog_api_client/v2/models/fleet_schedule_attributes.rb', line 46 def updated_at_unix @updated_at_unix end |
#updated_by ⇒ Object
User handle of the person who last updated the schedule.
49 50 51 |
# File 'lib/datadog_api_client/v2/models/fleet_schedule_attributes.rb', line 49 def updated_by @updated_by end |
#version_to_latest ⇒ Object
Number of major versions behind the latest to target for upgrades.
- 0: Always upgrade to the latest version
- 1: Upgrade to latest minus 1 major version
- 2: Upgrade to latest minus 2 major versions Maximum value is 2.
56 57 58 |
# File 'lib/datadog_api_client/v2/models/fleet_schedule_attributes.rb', line 56 def version_to_latest @version_to_latest end |