Sha256: 17a77bd2ae4ca866d7cfc7a49b2b98eadbe53345f90c123affb3739805ba8b24

Contents?: true

Size: 380 Bytes

Versions: 5

Compression:

Stored size: 380 Bytes

Contents

# Get Corrections For an SLO returns "OK" response

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

# there is a valid "slo" in the system
SLO_DATA_0_ID = ENV["SLO_DATA_0_ID"]
p api_instance.get_slo_corrections(SLO_DATA_0_ID)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
datadog_api_client-1.9.0 examples/v1/service-level-objectives/GetSLOCorrections.rb
datadog_api_client-1.8.0 examples/v1/service-level-objectives/GetSLOCorrections.rb
datadog_api_client-1.7.0 examples/v1/service-level-objectives/GetSLOCorrections.rb
datadog_api_client-1.6.0 examples/v1/service-level-objectives/GetSLOCorrections.rb
datadog_api_client-1.5.0 examples/v1/service-level-objectives/GetSLOCorrections.rb