Sha256: eadf018881613f01c7702963e40149a2d45c3f7b1b59b13ebdfef896a4731c07
Contents?: true
Size: 570 Bytes
Versions: 1
Compression:
Stored size: 570 Bytes
Contents
require "datadog_api_client" DatadogAPIClient::V1.configure do |config| config.unstable_operations[:create_slo_correction] = true end api_instance = DatadogAPIClient::V1::ServiceLevelObjectiveCorrectionsAPI.new body = DatadogAPIClient::V1::SLOCorrectionCreateRequest.new # SLOCorrectionCreateRequest | Create an SLO Correction begin # Create an SLO correction result = api_instance.create_slo_correction(body) p result rescue DatadogAPIClient::V1::APIError => e puts "Error when calling ServiceLevelObjectiveCorrectionsAPI->create_slo_correction: #{e}" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
datadog_api_client-1.7.0 | examples/generated/v1/service-level-objective-corrections/CreateSLOCorrection.rb |