Sha256: 8a26537fbaa221d0e9b4ad09cd9f4a87029cc58a7f7d0fb212bc9438aeea5d98

Contents?: true

Size: 487 Bytes

Versions: 8

Compression:

Stored size: 487 Bytes

Contents

# Bulk Delete SLO Timeframes returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V1::ServiceLevelObjectivesAPI.new

body = DatadogAPIClient::V1::SLOBulkDelete.new({
  id1: [
    DatadogAPIClient::V1::SLOTimeframe::SEVEN_DAYS,
    DatadogAPIClient::V1::SLOTimeframe::THIRTY_DAYS,
  ], id2: [
    DatadogAPIClient::V1::SLOTimeframe::SEVEN_DAYS,
    DatadogAPIClient::V1::SLOTimeframe::THIRTY_DAYS,
  ],
})
p api_instance.delete_slo_timeframe_in_bulk(body)

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
datadog_api_client-2.2.0 examples/v1/service-level-objectives/DeleteSLOTimeframeInBulk.rb
datadog_api_client-2.1.0 examples/v1/service-level-objectives/DeleteSLOTimeframeInBulk.rb
datadog_api_client-2.0.2 examples/v1/service-level-objectives/DeleteSLOTimeframeInBulk.rb
datadog_api_client-2.0.1 examples/v1/service-level-objectives/DeleteSLOTimeframeInBulk.rb
datadog_api_client-2.0.0 examples/v1/service-level-objectives/DeleteSLOTimeframeInBulk.rb
datadog_api_client-1.11.0 examples/v1/service-level-objectives/DeleteSLOTimeframeInBulk.rb
datadog_api_client-1.10.0 examples/v1/service-level-objectives/DeleteSLOTimeframeInBulk.rb
datadog_api_client-1.9.0 examples/v1/service-level-objectives/DeleteSLOTimeframeInBulk.rb