Sha256: d75fa7e5a33ca1150eca532dcb85c79c422a42a96521fca3cb2f151a6a314d87

Contents?: true

Size: 335 Bytes

Versions: 12

Compression:

Stored size: 335 Bytes

Contents

# Get a custom destination returns "OK" response

require "datadog_api_client"
api_instance = DatadogAPIClient::V2::LogsCustomDestinationsAPI.new

# there is a valid "custom_destination" in the system
CUSTOM_DESTINATION_DATA_ID = ENV["CUSTOM_DESTINATION_DATA_ID"]
p api_instance.get_logs_custom_destination(CUSTOM_DESTINATION_DATA_ID)

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
datadog_api_client-2.31.1 examples/v2/logs-custom-destinations/GetLogsCustomDestination.rb
datadog_api_client-2.31.0 examples/v2/logs-custom-destinations/GetLogsCustomDestination.rb
datadog_api_client-2.30.0 examples/v2/logs-custom-destinations/GetLogsCustomDestination.rb
datadog_api_client-2.29.1 examples/v2/logs-custom-destinations/GetLogsCustomDestination.rb
datadog_api_client-2.28.1 examples/v2/logs-custom-destinations/GetLogsCustomDestination.rb
datadog_api_client-2.27.1 examples/v2/logs-custom-destinations/GetLogsCustomDestination.rb
datadog_api_client-2.26.1 examples/v2/logs-custom-destinations/GetLogsCustomDestination.rb
datadog_api_client-2.26.0 examples/v2/logs-custom-destinations/GetLogsCustomDestination.rb
datadog_api_client-2.25.0 examples/v2/logs-custom-destinations/GetLogsCustomDestination.rb
datadog_api_client-2.24.0 examples/v2/logs-custom-destinations/GetLogsCustomDestination.rb
datadog_api_client-2.22.0 examples/v2/logs-custom-destinations/GetLogsCustomDestination.rb
datadog_api_client-2.21.0 examples/v2/logs-custom-destinations/GetLogsCustomDestination.rb