1. Packages
  2. Datadog
  3. API Docs
  4. getApmRetentionFiltersOrder
Datadog v4.30.0 published on Wednesday, Jul 17, 2024 by Pulumi

datadog.getApmRetentionFiltersOrder

Explore with Pulumi AI

datadog logo
Datadog v4.30.0 published on Wednesday, Jul 17, 2024 by Pulumi

    Provides a Datadog APM Retention Filters API order datasource. This can be used to retrieve APM retention filters order.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as datadog from "@pulumi/datadog";
    
    const foo = datadog.getApmRetentionFiltersOrder({});
    
    import pulumi
    import pulumi_datadog as datadog
    
    foo = datadog.get_apm_retention_filters_order()
    
    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.GetApmRetentionFiltersOrder(ctx, nil, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Datadog = Pulumi.Datadog;
    
    return await Deployment.RunAsync(() => 
    {
        var foo = Datadog.GetApmRetentionFiltersOrder.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.datadog.DatadogFunctions;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var foo = DatadogFunctions.getApmRetentionFiltersOrder();
    
        }
    }
    
    variables:
      foo:
        fn::invoke:
          Function: datadog:getApmRetentionFiltersOrder
          Arguments: {}
    

    Using getApmRetentionFiltersOrder

    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 getApmRetentionFiltersOrder(opts?: InvokeOptions): Promise<GetApmRetentionFiltersOrderResult>
    function getApmRetentionFiltersOrderOutput(opts?: InvokeOptions): Output<GetApmRetentionFiltersOrderResult>
    def get_apm_retention_filters_order(opts: Optional[InvokeOptions] = None) -> GetApmRetentionFiltersOrderResult
    def get_apm_retention_filters_order_output(opts: Optional[InvokeOptions] = None) -> Output[GetApmRetentionFiltersOrderResult]
    func GetApmRetentionFiltersOrder(ctx *Context, opts ...InvokeOption) (*GetApmRetentionFiltersOrderResult, error)
    func GetApmRetentionFiltersOrderOutput(ctx *Context, opts ...InvokeOption) GetApmRetentionFiltersOrderResultOutput

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

    public static class GetApmRetentionFiltersOrder 
    {
        public static Task<GetApmRetentionFiltersOrderResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetApmRetentionFiltersOrderResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetApmRetentionFiltersOrderResult> getApmRetentionFiltersOrder(InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: datadog:index/getApmRetentionFiltersOrder:getApmRetentionFiltersOrder
      arguments:
        # arguments dictionary

    getApmRetentionFiltersOrder Result

    The following output properties are available:

    FilterIds List<string>
    The filter IDs list. The order of filters IDs in this attribute defines the overall APM retention filters order.
    Id string
    The ID of this resource.
    FilterIds []string
    The filter IDs list. The order of filters IDs in this attribute defines the overall APM retention filters order.
    Id string
    The ID of this resource.
    filterIds List<String>
    The filter IDs list. The order of filters IDs in this attribute defines the overall APM retention filters order.
    id String
    The ID of this resource.
    filterIds string[]
    The filter IDs list. The order of filters IDs in this attribute defines the overall APM retention filters order.
    id string
    The ID of this resource.
    filter_ids Sequence[str]
    The filter IDs list. The order of filters IDs in this attribute defines the overall APM retention filters order.
    id str
    The ID of this resource.
    filterIds List<String>
    The filter IDs list. The order of filters IDs in this attribute defines the overall APM retention filters order.
    id String
    The ID of this resource.

    Package Details

    Repository
    Datadog pulumi/pulumi-datadog
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the datadog Terraform Provider.
    datadog logo
    Datadog v4.30.0 published on Wednesday, Jul 17, 2024 by Pulumi