Class: DatadogAPIClient::V1::SLOCorrectionCreateRequestAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V1::SLOCorrectionCreateRequestAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb
Overview
The attribute object associated with the SLO correction to be created.
Exactly one of slo_id or slo_query must be provided.
Instance Attribute Summary collapse
-
#_end ⇒ Object
Ending time of the correction in epoch seconds.
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#category ⇒ Object
readonly
Category the SLO correction belongs to.
-
#description ⇒ Object
Description of the correction being made.
-
#duration ⇒ Object
Length of time (in seconds) for a specified
rrulerecurring SLO correction. -
#rrule ⇒ Object
The recurrence rules as defined in the iCalendar RFC 5545.
-
#slo_id ⇒ Object
ID of the single SLO that this correction applies to.
-
#slo_query ⇒ Object
Query that matches the SLOs this correction applies to.
-
#start ⇒ Object
readonly
Starting time of the correction in epoch seconds.
-
#timezone ⇒ Object
The timezone to display in the UI for the correction times (defaults to "UTC").
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#_end ⇒ Object
Ending time of the correction in epoch seconds.
36 37 38 |
# File 'lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb', line 36 def _end @_end end |
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
56 57 58 |
# File 'lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb', line 56 def additional_properties @additional_properties end |
#category ⇒ Object
Category the SLO correction belongs to.
27 28 29 |
# File 'lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb', line 27 def category @category end |
#description ⇒ Object
Description of the correction being made.
30 31 32 |
# File 'lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb', line 30 def description @description end |
#duration ⇒ Object
Length of time (in seconds) for a specified rrule recurring SLO correction.
33 34 35 |
# File 'lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb', line 33 def duration @duration end |
#rrule ⇒ Object
The recurrence rules as defined in the iCalendar RFC 5545. The supported rules for SLO corrections
are FREQ, INTERVAL, COUNT, UNTIL and BYDAY.
40 41 42 |
# File 'lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb', line 40 def rrule @rrule end |
#slo_id ⇒ Object
ID of the single SLO that this correction applies to.
43 44 45 |
# File 'lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb', line 43 def slo_id @slo_id end |
#slo_query ⇒ Object
Query that matches the SLOs this correction applies to. The query uses the Events search syntax and can filter SLOs by SLO tags.
48 49 50 |
# File 'lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb', line 48 def slo_query @slo_query end |
#start ⇒ Object
Starting time of the correction in epoch seconds.
51 52 53 |
# File 'lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb', line 51 def start @start end |
#timezone ⇒ Object
The timezone to display in the UI for the correction times (defaults to "UTC").
54 55 56 |
# File 'lib/datadog_api_client/v1/models/slo_correction_create_request_attributes.rb', line 54 def timezone @timezone end |