Datadog v4.28.1 published on Monday, Jun 24, 2024 by Pulumi
datadog.getLogsPipelines
Explore with Pulumi AI
Use this data source to list all existing logs pipelines for use in other resources.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as datadog from "@pulumi/datadog";
// Gets all pipelines
const pipelines = datadog.getLogsPipelines({});
// Using data source to set pipeline order
const lpo = new datadog.LogsPipelineOrder("lpo", {
name: "lpo",
pipelines: pipelines.then(pipelines => .map(pipeline => (pipeline.id))),
});
import pulumi
import pulumi_datadog as datadog
# Gets all pipelines
pipelines = datadog.get_logs_pipelines()
# Using data source to set pipeline order
lpo = datadog.LogsPipelineOrder("lpo",
name="lpo",
pipelines=[pipeline.id for pipeline in pipelines.logs_pipelines])
Coming soon!
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Datadog = Pulumi.Datadog;
return await Deployment.RunAsync(() =>
{
// Gets all pipelines
var pipelines = Datadog.GetLogsPipelines.Invoke();
// Using data source to set pipeline order
var lpo = new Datadog.LogsPipelineOrder("lpo", new()
{
Name = "lpo",
Pipelines = .Select(pipeline =>
{
return pipeline.Id;
}).ToList(),
});
});
Coming soon!
Coming soon!
Using getLogsPipelines
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getLogsPipelines(args: GetLogsPipelinesArgs, opts?: InvokeOptions): Promise<GetLogsPipelinesResult>
function getLogsPipelinesOutput(args: GetLogsPipelinesOutputArgs, opts?: InvokeOptions): Output<GetLogsPipelinesResult>
def get_logs_pipelines(is_read_only: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetLogsPipelinesResult
def get_logs_pipelines_output(is_read_only: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetLogsPipelinesResult]
func GetLogsPipelines(ctx *Context, args *GetLogsPipelinesArgs, opts ...InvokeOption) (*GetLogsPipelinesResult, error)
func GetLogsPipelinesOutput(ctx *Context, args *GetLogsPipelinesOutputArgs, opts ...InvokeOption) GetLogsPipelinesResultOutput
> Note: This function is named GetLogsPipelines
in the Go SDK.
public static class GetLogsPipelines
{
public static Task<GetLogsPipelinesResult> InvokeAsync(GetLogsPipelinesArgs args, InvokeOptions? opts = null)
public static Output<GetLogsPipelinesResult> Invoke(GetLogsPipelinesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetLogsPipelinesResult> getLogsPipelines(GetLogsPipelinesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: datadog:index/getLogsPipelines:getLogsPipelines
arguments:
# arguments dictionary
The following arguments are supported:
- Is
Read stringOnly - Filter parameter for retrieved pipelines
- Is
Read stringOnly - Filter parameter for retrieved pipelines
- is
Read StringOnly - Filter parameter for retrieved pipelines
- is
Read stringOnly - Filter parameter for retrieved pipelines
- is_
read_ stronly - Filter parameter for retrieved pipelines
- is
Read StringOnly - Filter parameter for retrieved pipelines
getLogsPipelines Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Logs
Pipelines List<GetLogs Pipelines Logs Pipeline> - List of logs pipelines
- Is
Read stringOnly - Filter parameter for retrieved pipelines
- Id string
- The provider-assigned unique ID for this managed resource.
- Logs
Pipelines []GetLogs Pipelines Logs Pipeline - List of logs pipelines
- Is
Read stringOnly - Filter parameter for retrieved pipelines
- id String
- The provider-assigned unique ID for this managed resource.
- logs
Pipelines List<GetLogs Pipelines Logs Pipeline> - List of logs pipelines
- is
Read StringOnly - Filter parameter for retrieved pipelines
- id string
- The provider-assigned unique ID for this managed resource.
- logs
Pipelines GetLogs Pipelines Logs Pipeline[] - List of logs pipelines
- is
Read stringOnly - Filter parameter for retrieved pipelines
- id str
- The provider-assigned unique ID for this managed resource.
- logs_
pipelines Sequence[GetLogs Pipelines Logs Pipeline] - List of logs pipelines
- is_
read_ stronly - Filter parameter for retrieved pipelines
- id String
- The provider-assigned unique ID for this managed resource.
- logs
Pipelines List<Property Map> - List of logs pipelines
- is
Read StringOnly - Filter parameter for retrieved pipelines
Supporting Types
GetLogsPipelinesLogsPipeline
- Filters
List<Get
Logs Pipelines Logs Pipeline Filter> - Pipelines filter
- Id string
- ID of the pipeline
- Is
Enabled bool - Whether or not the pipeline is enabled.
- Is
Read boolOnly - Whether or not the pipeline can be edited.
- Name string
- The name of the pipeline.
- Type string
- Whether or not the pipeline can be edited.
- Filters
[]Get
Logs Pipelines Logs Pipeline Filter - Pipelines filter
- Id string
- ID of the pipeline
- Is
Enabled bool - Whether or not the pipeline is enabled.
- Is
Read boolOnly - Whether or not the pipeline can be edited.
- Name string
- The name of the pipeline.
- Type string
- Whether or not the pipeline can be edited.
- filters
List<Get
Logs Pipelines Logs Pipeline Filter> - Pipelines filter
- id String
- ID of the pipeline
- is
Enabled Boolean - Whether or not the pipeline is enabled.
- is
Read BooleanOnly - Whether or not the pipeline can be edited.
- name String
- The name of the pipeline.
- type String
- Whether or not the pipeline can be edited.
- filters
Get
Logs Pipelines Logs Pipeline Filter[] - Pipelines filter
- id string
- ID of the pipeline
- is
Enabled boolean - Whether or not the pipeline is enabled.
- is
Read booleanOnly - Whether or not the pipeline can be edited.
- name string
- The name of the pipeline.
- type string
- Whether or not the pipeline can be edited.
- filters
Sequence[Get
Logs Pipelines Logs Pipeline Filter] - Pipelines filter
- id str
- ID of the pipeline
- is_
enabled bool - Whether or not the pipeline is enabled.
- is_
read_ boolonly - Whether or not the pipeline can be edited.
- name str
- The name of the pipeline.
- type str
- Whether or not the pipeline can be edited.
- filters List<Property Map>
- Pipelines filter
- id String
- ID of the pipeline
- is
Enabled Boolean - Whether or not the pipeline is enabled.
- is
Read BooleanOnly - Whether or not the pipeline can be edited.
- name String
- The name of the pipeline.
- type String
- Whether or not the pipeline can be edited.
GetLogsPipelinesLogsPipelineFilter
- Query string
- Pipeline filter criteria.
- Query string
- Pipeline filter criteria.
- query String
- Pipeline filter criteria.
- query string
- Pipeline filter criteria.
- query str
- Pipeline filter criteria.
- query String
- Pipeline filter criteria.
Package Details
- Repository
- Datadog pulumi/pulumi-datadog
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
datadog
Terraform Provider.