Sha256: 5666fa096c4971963ffe398dd7568705e17fb1e9d4db4b25fe63ced6345d9e53
Contents?: true
Size: 371 Bytes
Versions: 1
Compression:
Stored size: 371 Bytes
Contents
require "datadog_api_client" api_instance = DatadogAPIClient::V1::DowntimesAPI.new body = DatadogAPIClient::V1::Downtime.new # Downtime | Schedule a downtime request body. begin # Schedule a downtime result = api_instance.create_downtime(body) p result rescue DatadogAPIClient::V1::APIError => e puts "Error when calling DowntimesAPI->create_downtime: #{e}" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
datadog_api_client-1.7.0 | examples/generated/v1/downtimes/CreateDowntime.rb |