Sha256: 4d6a46176f90a20414449a4fbbc3b0111cf881dc1bfe9ce2e8adae57bb42b455
Contents?: true
Size: 387 Bytes
Versions: 1
Compression:
Stored size: 387 Bytes
Contents
require "datadog_api_client" api_instance = DatadogAPIClient::V1::DowntimesAPI.new opts = { current_only: true, # Boolean | Only return downtimes that are active when the request is made. } begin # Get all downtimes result = api_instance.list_downtimes(opts) p result rescue DatadogAPIClient::V1::APIError => e puts "Error when calling DowntimesAPI->list_downtimes: #{e}" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
datadog_api_client-1.7.0 | examples/generated/v1/downtimes/ListDowntimes.rb |