Sha256: cc3cfa561434cf6b062c184b7cc4c9e6076c8537b0e93194e5da9071871610e3

Contents?: true

Size: 412 Bytes

Versions: 5

Compression:

Stored size: 412 Bytes

Contents

# Get an SLO correction for an SLO returns "OK" response

require "datadog_api_client"
DatadogAPIClient::V2.configure do |config|
  config.unstable_operations[:get_slo_correction] = true
end
api_instance = DatadogAPIClient::V1::ServiceLevelObjectiveCorrectionsAPI.new

# there is a valid "correction" for "slo"
CORRECTION_DATA_ID = ENV["CORRECTION_DATA_ID"]
p api_instance.get_slo_correction(CORRECTION_DATA_ID)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
datadog_api_client-1.9.0 examples/v1/service-level-objective-corrections/GetSLOCorrection.rb
datadog_api_client-1.8.0 examples/v1/service-level-objective-corrections/GetSLOCorrection.rb
datadog_api_client-1.7.0 examples/v1/service-level-objective-corrections/GetSLOCorrection.rb
datadog_api_client-1.6.0 examples/v1/service-level-objective-corrections/GetSLOCorrection.rb
datadog_api_client-1.5.0 examples/v1/service-level-objective-corrections/GetSLOCorrection.rb