Class: DatadogAPIClient::V1::SLOCorrectionCreateRequestAttributes

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#_endObject

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_propertiesObject

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

#categoryObject

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

#descriptionObject

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

#durationObject

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

#rruleObject

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_idObject

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_queryObject

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

#startObject

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

#timezoneObject

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