Sha256: 72cc4f3a04739db7b1d9bf645134f1494fdf7f7d3e94a945f229733112f9da81
Contents?: true
Size: 533 Bytes
Versions: 1
Compression:
Stored size: 533 Bytes
Contents
require "datadog_api_client" api_instance = DatadogAPIClient::V1::LogsIndexesAPI.new name = "name_example" # String | Name of the log index. body = DatadogAPIClient::V1::LogsIndexUpdateRequest.new({ filter: DatadogAPIClient::V1::LogsFilter.new }) # LogsIndexUpdateRequest | Object containing the new `LogsIndexUpdateRequest`. begin # Update an index result = api_instance.update_logs_index(name, body) p result rescue DatadogAPIClient::V1::APIError => e puts "Error when calling LogsIndexesAPI->update_logs_index: #{e}" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
datadog_api_client-1.7.0 | examples/generated/v1/logs-indexes/UpdateLogsIndex.rb |