Sha256: c0071b49bd0c42e16b6cfad134cfc940959f2c1060b295bb83d5828883370fd5
Contents?: true
Size: 524 Bytes
Versions: 1
Compression:
Stored size: 524 Bytes
Contents
require "datadog_api_client" api_instance = DatadogAPIClient::V1::ServiceLevelObjectivesAPI.new slo_id = "slo_id_example" # String | The ID of the service level objective. opts = { force: "force_example", # String | Delete the monitor even if it's referenced by other resources (for example SLO, composite monitor). } begin # Delete an SLO result = api_instance.delete_slo(slo_id, opts) p result rescue DatadogAPIClient::V1::APIError => e puts "Error when calling ServiceLevelObjectivesAPI->delete_slo: #{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-objectives/DeleteSLO.rb |