Sha256: 055db1c2d8a8b9322a87813071c60abb651c1c66f0ef07dd7b0d584a03332a27

Contents?: true

Size: 322 Bytes

Versions: 4

Compression:

Stored size: 322 Bytes

Contents

# Get estimated cost across your account returns "OK" response

require "datadog_api_client"
DatadogAPIClient::V2.configure do |config|
  config.unstable_operations["v2.get_estimated_cost_by_org".to_sym] = true
end
api_instance = DatadogAPIClient::V2::UsageMeteringAPI.new
p api_instance.get_estimated_cost_by_org("view")

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
datadog_api_client-2.1.0 examples/v2/usage-metering/GetEstimatedCostByOrg.rb
datadog_api_client-2.0.2 examples/v2/usage-metering/GetEstimatedCostByOrg.rb
datadog_api_client-2.0.1 examples/v2/usage-metering/GetEstimatedCostByOrg.rb
datadog_api_client-2.0.0 examples/v2/usage-metering/GetEstimatedCostByOrg.rb