Sha256: 6752d78637a93ea05259fb67cbfcf743e114193d6e4cc530e180cffaa30cdf14
Contents?: true
Size: 443 Bytes
Versions: 1
Compression:
Stored size: 443 Bytes
Contents
require "datadog_api_client" api_instance = DatadogAPIClient::V1::DowntimesAPI.new downtime_id = 123456 # Integer | ID of the downtime to update. body = DatadogAPIClient::V1::Downtime.new # Downtime | Update a downtime request body. begin # Update a downtime result = api_instance.update_downtime(downtime_id, body) p result rescue DatadogAPIClient::V1::APIError => e puts "Error when calling DowntimesAPI->update_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/UpdateDowntime.rb |