Sha256: ecac90bc1f0c85aa22485eaf2c027409a5a600610f392909f9554812331e9e2f
Contents?: true
Size: 509 Bytes
Versions: 1
Compression:
Stored size: 509 Bytes
Contents
require "datadog_api_client" api_instance = DatadogAPIClient::V1::LogsPipelinesAPI.new pipeline_id = "pipeline_id_example" # String | ID of the pipeline to delete. body = DatadogAPIClient::V1::LogsPipeline.new({ name: "name_example" }) # LogsPipeline | New definition of the pipeline. begin # Update a pipeline result = api_instance.update_logs_pipeline(pipeline_id, body) p result rescue DatadogAPIClient::V1::APIError => e puts "Error when calling LogsPipelinesAPI->update_logs_pipeline: #{e}" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
datadog_api_client-1.7.0 | examples/generated/v1/logs-pipelines/UpdateLogsPipeline.rb |