Sha256: 2c0135b636329b0e9a203e9f48f71365e52add1bcf716f37375689452e81cd9d

Contents?: true

Size: 266 Bytes

Versions: 2

Compression:

Stored size: 266 Bytes

Contents

# GetEstimatedCostByOrg with start_date returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::UsageMeteringAPI.new
opts = {
  view: "sub-org",
  start_date: (Time.now + -5 * 86400),
}
p api_instance.get_estimated_cost_by_org(opts)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
datadog_api_client-2.3.0 examples/v2/usage-metering/GetEstimatedCostByOrg_2734954020.rb
datadog_api_client-2.2.0 examples/v2/usage-metering/GetEstimatedCostByOrg_2734954020.rb