Datadog

Pulumi Official
Package maintained by Pulumi
v4.9.0 published on Thursday, May 26, 2022 by Pulumi

getSecurityMonitoringFilters

Use this data source to retrieve information about existing security monitoring filters for use in other resources.

Example Usage

using Pulumi;
using Datadog = Pulumi.Datadog;

class MyStack : Stack
{
    public MyStack()
    {
        var test = Output.Create(Datadog.GetSecurityMonitoringFilters.InvokeAsync());
    }

}
package main

import (
	"github.com/pulumi/pulumi-datadog/sdk/v4/go/datadog"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := datadog.GetSecurityMonitoringFilters(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var test = Output.of(DatadogFunctions.getSecurityMonitoringFilters());

    }
}
import pulumi
import pulumi_datadog as datadog

test = datadog.get_security_monitoring_filters()
import * as pulumi from "@pulumi/pulumi";
import * as datadog from "@pulumi/datadog";

const test = pulumi.output(datadog.getSecurityMonitoringFilters());
variables:
  test:
    Fn::Invoke:
      Function: datadog:getSecurityMonitoringFilters
      Arguments: {}

Using getSecurityMonitoringFilters

function getSecurityMonitoringFilters(opts?: InvokeOptions): Promise<GetSecurityMonitoringFiltersResult>
def get_security_monitoring_filters(opts: Optional[InvokeOptions] = None) -> GetSecurityMonitoringFiltersResult
func GetSecurityMonitoringFilters(ctx *Context, opts ...InvokeOption) (*GetSecurityMonitoringFiltersResult, error)

> Note: This function is named GetSecurityMonitoringFilters in the Go SDK.

public static class GetSecurityMonitoringFilters 
{
    public static Task<GetSecurityMonitoringFiltersResult> InvokeAsync(InvokeOptions? opts = null)
}
public static CompletableFuture<GetSecurityMonitoringFiltersResult> getSecurityMonitoringFilters(InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: datadog:index/getSecurityMonitoringFilters:getSecurityMonitoringFilters
  Arguments:
    # Arguments dictionary

getSecurityMonitoringFilters Result

The following output properties are available:

Filters List<GetSecurityMonitoringFiltersFilter>
FiltersIds List<string>
Id string

The provider-assigned unique ID for this managed resource.

Filters []GetSecurityMonitoringFiltersFilter
FiltersIds []string
Id string

The provider-assigned unique ID for this managed resource.

filters List<GetSecurityMonitoringFiltersFilter>
filtersIds List<String>
id String

The provider-assigned unique ID for this managed resource.

filters GetSecurityMonitoringFiltersFilter[]
filtersIds string[]
id string

The provider-assigned unique ID for this managed resource.

filters Sequence[GetSecurityMonitoringFiltersFilter]
filters_ids Sequence[str]
id str

The provider-assigned unique ID for this managed resource.

filters List<Property Map>
filtersIds List<String>
id String

The provider-assigned unique ID for this managed resource.

Supporting Types

GetSecurityMonitoringFiltersFilter

GetSecurityMonitoringFiltersFilterExclusionFilter

Name string
Query string
Name string
Query string
name String
query String
name string
query string
name str
query str
name String
query String

Package Details

Repository
https://github.com/pulumi/pulumi-datadog
License
Apache-2.0
Notes

This Pulumi package is based on the datadog Terraform Provider.