1. Packages
  2. Packages
  3. Dynatrace
  4. API Docs
  5. ProcessGroupRum
Viewing docs for Dynatrace v0.36.0
published on Tuesday, Jun 9, 2026 by Pulumiverse
dynatrace logo
Viewing docs for Dynatrace v0.36.0
published on Tuesday, Jun 9, 2026 by Pulumiverse

    This resource requires the API token scopes Read settings (settings.read) and Write settings (settings.write)

    Dynatrace Documentation

    • Real User Monitoring for process groups - https://www.dynatrace.com/support/help/how-to-use-dynatrace/real-user-monitoring/setup-and-configuration/web-applications/additional-configuration/rum-for-process-groups

    • Settings API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings (schemaId: builtin:rum.processgroup)

    Export Example Usage

    • terraform-provider-dynatrace -export dynatrace.ProcessGroupRum downloads all real user monitoring configuration for process groups

    The full documentation of the export feature is available here.

    Resource Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as dynatrace from "@pulumiverse/dynatrace";
    
    const processGroup = dynatrace.getEntity({
        entitySelector: "type(\"PROCESS_GROUP\")",
    });
    const rum = new dynatrace.ProcessGroupRum("rum", {
        enable: false,
        processGroupId: processGroup.then(processGroup => processGroup.id),
    });
    
    import pulumi
    import pulumi_dynatrace as dynatrace
    import pulumiverse_dynatrace as dynatrace
    
    process_group = dynatrace.get_entity(entity_selector="type(\"PROCESS_GROUP\")")
    rum = dynatrace.ProcessGroupRum("rum",
        enable=False,
        process_group_id=process_group.id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumiverse/pulumi-dynatrace/sdk/go/dynatrace"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		processGroup, err := dynatrace.GetEntity(ctx, &dynatrace.GetEntityArgs{
    			EntitySelector: pulumi.StringRef("type(\"PROCESS_GROUP\")"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		_, err = dynatrace.NewProcessGroupRum(ctx, "rum", &dynatrace.ProcessGroupRumArgs{
    			Enable:         pulumi.Bool(false),
    			ProcessGroupId: pulumi.String(pulumi.String(processGroup.Id)),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Dynatrace = Pulumiverse.Dynatrace;
    
    return await Deployment.RunAsync(() => 
    {
        var processGroup = Dynatrace.GetEntity.Invoke(new()
        {
            EntitySelector = "type(\"PROCESS_GROUP\")",
        });
    
        var rum = new Dynatrace.ProcessGroupRum("rum", new()
        {
            Enable = false,
            ProcessGroupId = processGroup.Apply(getEntityResult => getEntityResult.Id),
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.dynatrace.DynatraceFunctions;
    import com.pulumi.dynatrace.inputs.GetEntityArgs;
    import com.pulumi.dynatrace.ProcessGroupRum;
    import com.pulumi.dynatrace.ProcessGroupRumArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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 processGroup = DynatraceFunctions.getEntity(GetEntityArgs.builder()
                .entitySelector("type(\"PROCESS_GROUP\")")
                .build());
    
            var rum = new ProcessGroupRum("rum", ProcessGroupRumArgs.builder()
                .enable(false)
                .processGroupId(processGroup.id())
                .build());
    
        }
    }
    
    resources:
      rum:
        type: dynatrace:ProcessGroupRum
        properties:
          enable: false
          processGroupId: ${processGroup.id}
    variables:
      processGroup:
        fn::invoke:
          function: dynatrace:getEntity
          arguments:
            entitySelector: type("PROCESS_GROUP")
    
    pulumi {
      required_providers {
        dynatrace = {
          source = "pulumi/dynatrace"
        }
      }
    }
    
    data "dynatrace_getentity" "processGroup" {
      entity_selector = "type(\"PROCESS_GROUP\")"
    }
    
    resource "dynatrace_processgrouprum" "rum" {
      enable           = false
      process_group_id = data.dynatrace_getentity.processGroup.id
    }
    

    Create ProcessGroupRum Resource

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

    Constructor syntax

    new ProcessGroupRum(name: string, args: ProcessGroupRumArgs, opts?: CustomResourceOptions);
    @overload
    def ProcessGroupRum(resource_name: str,
                        args: ProcessGroupRumArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def ProcessGroupRum(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        enable: Optional[bool] = None,
                        process_group_id: Optional[str] = None)
    func NewProcessGroupRum(ctx *Context, name string, args ProcessGroupRumArgs, opts ...ResourceOption) (*ProcessGroupRum, error)
    public ProcessGroupRum(string name, ProcessGroupRumArgs args, CustomResourceOptions? opts = null)
    public ProcessGroupRum(String name, ProcessGroupRumArgs args)
    public ProcessGroupRum(String name, ProcessGroupRumArgs args, CustomResourceOptions options)
    
    type: dynatrace:ProcessGroupRum
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "dynatrace_processgrouprum" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args ProcessGroupRumArgs
    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 ProcessGroupRumArgs
    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 ProcessGroupRumArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ProcessGroupRumArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ProcessGroupRumArgs
    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 processGroupRumResource = new Dynatrace.ProcessGroupRum("processGroupRumResource", new()
    {
        Enable = false,
        ProcessGroupId = "string",
    });
    
    example, err := dynatrace.NewProcessGroupRum(ctx, "processGroupRumResource", &dynatrace.ProcessGroupRumArgs{
    	Enable:         pulumi.Bool(false),
    	ProcessGroupId: pulumi.String("string"),
    })
    
    resource "dynatrace_processgrouprum" "processGroupRumResource" {
      enable           = false
      process_group_id = "string"
    }
    
    var processGroupRumResource = new ProcessGroupRum("processGroupRumResource", ProcessGroupRumArgs.builder()
        .enable(false)
        .processGroupId("string")
        .build());
    
    process_group_rum_resource = dynatrace.ProcessGroupRum("processGroupRumResource",
        enable=False,
        process_group_id="string")
    
    const processGroupRumResource = new dynatrace.ProcessGroupRum("processGroupRumResource", {
        enable: false,
        processGroupId: "string",
    });
    
    type: dynatrace:ProcessGroupRum
    properties:
        enable: false
        processGroupId: string
    

    ProcessGroupRum 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 ProcessGroupRum resource accepts the following input properties:

    Enable bool
    Allows OneAgent to:

    • automatically inject the RUM JavaScript tag into each page delivered by this process group
    • provide the necessary info to correlate RUM data with server-side PurePaths
    • forward beacons to the cluster
    • deliver the monitoring code
    ProcessGroupId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    Enable bool
    Allows OneAgent to:

    • automatically inject the RUM JavaScript tag into each page delivered by this process group
    • provide the necessary info to correlate RUM data with server-side PurePaths
    • forward beacons to the cluster
    • deliver the monitoring code
    ProcessGroupId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    enable bool
    Allows OneAgent to:

    • automatically inject the RUM JavaScript tag into each page delivered by this process group
    • provide the necessary info to correlate RUM data with server-side PurePaths
    • forward beacons to the cluster
    • deliver the monitoring code
    process_group_id string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    enable Boolean
    Allows OneAgent to:

    • automatically inject the RUM JavaScript tag into each page delivered by this process group
    • provide the necessary info to correlate RUM data with server-side PurePaths
    • forward beacons to the cluster
    • deliver the monitoring code
    processGroupId String
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    enable boolean
    Allows OneAgent to:

    • automatically inject the RUM JavaScript tag into each page delivered by this process group
    • provide the necessary info to correlate RUM data with server-side PurePaths
    • forward beacons to the cluster
    • deliver the monitoring code
    processGroupId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    enable bool
    Allows OneAgent to:

    • automatically inject the RUM JavaScript tag into each page delivered by this process group
    • provide the necessary info to correlate RUM data with server-side PurePaths
    • forward beacons to the cluster
    • deliver the monitoring code
    process_group_id str
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    enable Boolean
    Allows OneAgent to:

    • automatically inject the RUM JavaScript tag into each page delivered by this process group
    • provide the necessary info to correlate RUM data with server-side PurePaths
    • forward beacons to the cluster
    • deliver the monitoring code
    processGroupId String
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ProcessGroupRum 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 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 ProcessGroupRum Resource

    Get an existing ProcessGroupRum 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?: ProcessGroupRumState, opts?: CustomResourceOptions): ProcessGroupRum
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            enable: Optional[bool] = None,
            process_group_id: Optional[str] = None) -> ProcessGroupRum
    func GetProcessGroupRum(ctx *Context, name string, id IDInput, state *ProcessGroupRumState, opts ...ResourceOption) (*ProcessGroupRum, error)
    public static ProcessGroupRum Get(string name, Input<string> id, ProcessGroupRumState? state, CustomResourceOptions? opts = null)
    public static ProcessGroupRum get(String name, Output<String> id, ProcessGroupRumState state, CustomResourceOptions options)
    resources:  _:    type: dynatrace:ProcessGroupRum    get:      id: ${id}
    import {
      to = dynatrace_processgrouprum.example
      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:
    Enable bool
    Allows OneAgent to:

    • automatically inject the RUM JavaScript tag into each page delivered by this process group
    • provide the necessary info to correlate RUM data with server-side PurePaths
    • forward beacons to the cluster
    • deliver the monitoring code
    ProcessGroupId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    Enable bool
    Allows OneAgent to:

    • automatically inject the RUM JavaScript tag into each page delivered by this process group
    • provide the necessary info to correlate RUM data with server-side PurePaths
    • forward beacons to the cluster
    • deliver the monitoring code
    ProcessGroupId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    enable bool
    Allows OneAgent to:

    • automatically inject the RUM JavaScript tag into each page delivered by this process group
    • provide the necessary info to correlate RUM data with server-side PurePaths
    • forward beacons to the cluster
    • deliver the monitoring code
    process_group_id string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    enable Boolean
    Allows OneAgent to:

    • automatically inject the RUM JavaScript tag into each page delivered by this process group
    • provide the necessary info to correlate RUM data with server-side PurePaths
    • forward beacons to the cluster
    • deliver the monitoring code
    processGroupId String
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    enable boolean
    Allows OneAgent to:

    • automatically inject the RUM JavaScript tag into each page delivered by this process group
    • provide the necessary info to correlate RUM data with server-side PurePaths
    • forward beacons to the cluster
    • deliver the monitoring code
    processGroupId string
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    enable bool
    Allows OneAgent to:

    • automatically inject the RUM JavaScript tag into each page delivered by this process group
    • provide the necessary info to correlate RUM data with server-side PurePaths
    • forward beacons to the cluster
    • deliver the monitoring code
    process_group_id str
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
    enable Boolean
    Allows OneAgent to:

    • automatically inject the RUM JavaScript tag into each page delivered by this process group
    • provide the necessary info to correlate RUM data with server-side PurePaths
    • forward beacons to the cluster
    • deliver the monitoring code
    processGroupId String
    The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.

    Package Details

    Repository
    dynatrace pulumiverse/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Viewing docs for Dynatrace v0.36.0
    published on Tuesday, Jun 9, 2026 by Pulumiverse

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial