Class: DatadogAPIClient::V2::FleetScheduleCreateAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::FleetScheduleCreateAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/fleet_schedule_create_attributes.rb
Overview
Attributes for creating a new schedule.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#name ⇒ Object
readonly
Human-readable name for the schedule.
-
#query ⇒ Object
readonly
Query used to filter and select target hosts for scheduled deployments.
-
#rule ⇒ Object
readonly
Defines the recurrence pattern for the schedule.
-
#status ⇒ Object
The status of 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.
46 47 48 |
# File 'lib/datadog_api_client/v2/models/fleet_schedule_create_attributes.rb', line 46 def additional_properties @additional_properties end |
#name ⇒ Object
Human-readable name for the schedule.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/fleet_schedule_create_attributes.rb', line 25 def name @name end |
#query ⇒ Object
Query used to filter and select target hosts for scheduled deployments. Uses the Datadog query syntax.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/fleet_schedule_create_attributes.rb', line 28 def query @query end |
#rule ⇒ Object
Defines the recurrence pattern for the schedule. Specifies when deployments should be automatically triggered based on maintenance windows.
32 33 34 |
# File 'lib/datadog_api_client/v2/models/fleet_schedule_create_attributes.rb', line 32 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.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/fleet_schedule_create_attributes.rb', line 37 def status @status end |
#version_to_latest ⇒ Object
Number of major versions behind the latest to target for upgrades.
- 0: Always upgrade to the latest version (default)
- 1: Upgrade to latest minus 1 major version
- 2: Upgrade to latest minus 2 major versions Maximum value is 2.
44 45 46 |
# File 'lib/datadog_api_client/v2/models/fleet_schedule_create_attributes.rb', line 44 def version_to_latest @version_to_latest end |