1. Packages
  2. Datadog Provider
  3. API Docs
  4. RumRetentionFiltersOrder
Datadog v4.49.0 published on Thursday, Apr 17, 2025 by Pulumi

datadog.RumRetentionFiltersOrder

Explore with Pulumi AI

datadog logo
Datadog v4.49.0 published on Thursday, Apr 17, 2025 by Pulumi

    Provides a Datadog RumRetentionFiltersOrder resource. This is used to manage the order of Datadog RUM retention filters. Please note that retention_filter_ids should contain all IDs of retention filters, including the default ones created internally for a given RUM application.

    Create RumRetentionFiltersOrder Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new RumRetentionFiltersOrder(name: string, args: RumRetentionFiltersOrderArgs, opts?: CustomResourceOptions);
    @overload
    def RumRetentionFiltersOrder(resource_name: str,
                                 args: RumRetentionFiltersOrderArgs,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def RumRetentionFiltersOrder(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 application_id: Optional[str] = None,
                                 retention_filter_ids: Optional[Sequence[str]] = None)
    func NewRumRetentionFiltersOrder(ctx *Context, name string, args RumRetentionFiltersOrderArgs, opts ...ResourceOption) (*RumRetentionFiltersOrder, error)
    public RumRetentionFiltersOrder(string name, RumRetentionFiltersOrderArgs args, CustomResourceOptions? opts = null)
    public RumRetentionFiltersOrder(String name, RumRetentionFiltersOrderArgs args)
    public RumRetentionFiltersOrder(String name, RumRetentionFiltersOrderArgs args, CustomResourceOptions options)
    
    type: datadog:RumRetentionFiltersOrder
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args RumRetentionFiltersOrderArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args RumRetentionFiltersOrderArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args RumRetentionFiltersOrderArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RumRetentionFiltersOrderArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RumRetentionFiltersOrderArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var rumRetentionFiltersOrderResource = new Datadog.RumRetentionFiltersOrder("rumRetentionFiltersOrderResource", new()
    {
        ApplicationId = "string",
        RetentionFilterIds = new[]
        {
            "string",
        },
    });
    
    example, err := datadog.NewRumRetentionFiltersOrder(ctx, "rumRetentionFiltersOrderResource", &datadog.RumRetentionFiltersOrderArgs{
    	ApplicationId: pulumi.String("string"),
    	RetentionFilterIds: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var rumRetentionFiltersOrderResource = new RumRetentionFiltersOrder("rumRetentionFiltersOrderResource", RumRetentionFiltersOrderArgs.builder()
        .applicationId("string")
        .retentionFilterIds("string")
        .build());
    
    rum_retention_filters_order_resource = datadog.RumRetentionFiltersOrder("rumRetentionFiltersOrderResource",
        application_id="string",
        retention_filter_ids=["string"])
    
    const rumRetentionFiltersOrderResource = new datadog.RumRetentionFiltersOrder("rumRetentionFiltersOrderResource", {
        applicationId: "string",
        retentionFilterIds: ["string"],
    });
    
    type: datadog:RumRetentionFiltersOrder
    properties:
        applicationId: string
        retentionFilterIds:
            - string
    

    RumRetentionFiltersOrder Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The RumRetentionFiltersOrder resource accepts the following input properties:

    ApplicationId string
    RUM application ID.
    RetentionFilterIds List<string>
    RUM retention filter ID list. The order of IDs in this attribute defines the order of RUM retention filters.
    ApplicationId string
    RUM application ID.
    RetentionFilterIds []string
    RUM retention filter ID list. The order of IDs in this attribute defines the order of RUM retention filters.
    applicationId String
    RUM application ID.
    retentionFilterIds List<String>
    RUM retention filter ID list. The order of IDs in this attribute defines the order of RUM retention filters.
    applicationId string
    RUM application ID.
    retentionFilterIds string[]
    RUM retention filter ID list. The order of IDs in this attribute defines the order of RUM retention filters.
    application_id str
    RUM application ID.
    retention_filter_ids Sequence[str]
    RUM retention filter ID list. The order of IDs in this attribute defines the order of RUM retention filters.
    applicationId String
    RUM application ID.
    retentionFilterIds List<String>
    RUM retention filter ID list. The order of IDs in this attribute defines the order of RUM retention filters.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the RumRetentionFiltersOrder resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing RumRetentionFiltersOrder Resource

    Get an existing RumRetentionFiltersOrder resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: RumRetentionFiltersOrderState, opts?: CustomResourceOptions): RumRetentionFiltersOrder
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            application_id: Optional[str] = None,
            retention_filter_ids: Optional[Sequence[str]] = None) -> RumRetentionFiltersOrder
    func GetRumRetentionFiltersOrder(ctx *Context, name string, id IDInput, state *RumRetentionFiltersOrderState, opts ...ResourceOption) (*RumRetentionFiltersOrder, error)
    public static RumRetentionFiltersOrder Get(string name, Input<string> id, RumRetentionFiltersOrderState? state, CustomResourceOptions? opts = null)
    public static RumRetentionFiltersOrder get(String name, Output<String> id, RumRetentionFiltersOrderState state, CustomResourceOptions options)
    resources:  _:    type: datadog:RumRetentionFiltersOrder    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ApplicationId string
    RUM application ID.
    RetentionFilterIds List<string>
    RUM retention filter ID list. The order of IDs in this attribute defines the order of RUM retention filters.
    ApplicationId string
    RUM application ID.
    RetentionFilterIds []string
    RUM retention filter ID list. The order of IDs in this attribute defines the order of RUM retention filters.
    applicationId String
    RUM application ID.
    retentionFilterIds List<String>
    RUM retention filter ID list. The order of IDs in this attribute defines the order of RUM retention filters.
    applicationId string
    RUM application ID.
    retentionFilterIds string[]
    RUM retention filter ID list. The order of IDs in this attribute defines the order of RUM retention filters.
    application_id str
    RUM application ID.
    retention_filter_ids Sequence[str]
    RUM retention filter ID list. The order of IDs in this attribute defines the order of RUM retention filters.
    applicationId String
    RUM application ID.
    retentionFilterIds List<String>
    RUM retention filter ID list. The order of IDs in this attribute defines the order of RUM retention filters.

    Import

    $ pulumi import datadog:index/rumRetentionFiltersOrder:RumRetentionFiltersOrder testing_rum_retention_filters_order "<application_id>"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.49.0 published on Thursday, Apr 17, 2025 by Pulumi