Sha256: dc26b665ee3a8912f28fe0782005739ad268de30bd1ce1ee620ce363962f04bf

Contents?: true

Size: 450 Bytes

Versions: 12

Compression:

Stored size: 450 Bytes

Contents

# List all rule outcomes returns "OK" response with pagination

require "datadog_api_client"
DatadogAPIClient.configure do |config|
  config.unstable_operations["v2.list_scorecard_outcomes".to_sym] = true
end
api_instance = DatadogAPIClient::V2::ServiceScorecardsAPI.new
opts = {
  page_size: 2,
  fields_outcome: "state",
  filter_outcome_service_name: "my-service",
}
api_instance.list_scorecard_outcomes_with_pagination(opts) { |item| puts item }

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
datadog_api_client-2.28.1 examples/v2/service-scorecards/ListScorecardOutcomes_2663454275.rb
datadog_api_client-2.27.1 examples/v2/service-scorecards/ListScorecardOutcomes_2663454275.rb
datadog_api_client-2.26.1 examples/v2/service-scorecards/ListScorecardOutcomes_2663454275.rb
datadog_api_client-2.26.0 examples/v2/service-scorecards/ListScorecardOutcomes_2663454275.rb
datadog_api_client-2.25.0 examples/v2/service-scorecards/ListScorecardOutcomes_2663454275.rb
datadog_api_client-2.24.0 examples/v2/service-scorecards/ListScorecardOutcomes_2663454275.rb
datadog_api_client-2.22.0 examples/v2/service-scorecards/ListScorecardOutcomes_2663454275.rb
datadog_api_client-2.21.0 examples/v2/service-scorecards/ListScorecardOutcomes_2663454275.rb
datadog_api_client-2.20.0 examples/v2/service-scorecards/ListScorecardOutcomes_2663454275.rb
datadog_api_client-2.19.0 examples/v2/service-scorecards/ListScorecardOutcomes_2663454275.rb
datadog_api_client-2.18.0 examples/v2/service-scorecards/ListScorecardOutcomes_2663454275.rb
datadog_api_client-2.17.0 examples/v2/service-scorecards/ListScorecardOutcomes_2663454275.rb