Sha256: 14ae65f8e9da4747af30acad764ccbe579be92fddcf6c3679b967c9aaed232ff

Contents?: true

Size: 303 Bytes

Versions: 1

Compression:

Stored size: 303 Bytes

Contents

# Get estimated cost across multi-org account with month returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::UsageMeteringAPI.new
opts = {
  start_month: (Time.now + -5 * 86400),
  end_month: (Time.now + -3 * 86400),
}
p api_instance.get_estimated_cost_by_org(opts)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
datadog_api_client-1.11.0 examples/v2/usage-metering/GetEstimatedCostByOrg_1171921972.rb