published on Tuesday, Jun 9, 2026 by Pulumiverse
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
Process deep monitoring - https://www.dynatrace.com/support/help/platform-modules/infrastructure-monitoring/process-groups/configuration/pg-monitoring
Settings API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings (schemaId:
builtin:process-group.monitoring.state)
Export Example Usage
terraform-provider-dynatrace -export dynatrace.ProcessGroupMonitoringdownloads all existing process group monitoring configuration
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 monitoring = new dynatrace.ProcessGroupMonitoring("monitoring", {
monitoringState: "MONITORING_ON",
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\")")
monitoring = dynatrace.ProcessGroupMonitoring("monitoring",
monitoring_state="MONITORING_ON",
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.NewProcessGroupMonitoring(ctx, "monitoring", &dynatrace.ProcessGroupMonitoringArgs{
MonitoringState: pulumi.String("MONITORING_ON"),
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 monitoring = new Dynatrace.ProcessGroupMonitoring("monitoring", new()
{
MonitoringState = "MONITORING_ON",
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.ProcessGroupMonitoring;
import com.pulumi.dynatrace.ProcessGroupMonitoringArgs;
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 monitoring = new ProcessGroupMonitoring("monitoring", ProcessGroupMonitoringArgs.builder()
.monitoringState("MONITORING_ON")
.processGroupId(processGroup.id())
.build());
}
}
resources:
monitoring:
type: dynatrace:ProcessGroupMonitoring
properties:
monitoringState: MONITORING_ON
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_processgroupmonitoring" "monitoring" {
monitoring_state = "MONITORING_ON"
process_group_id = data.dynatrace_getentity.processGroup.id
}
Create ProcessGroupMonitoring Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ProcessGroupMonitoring(name: string, args: ProcessGroupMonitoringArgs, opts?: CustomResourceOptions);@overload
def ProcessGroupMonitoring(resource_name: str,
args: ProcessGroupMonitoringArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ProcessGroupMonitoring(resource_name: str,
opts: Optional[ResourceOptions] = None,
monitoring_state: Optional[str] = None,
process_group_id: Optional[str] = None)func NewProcessGroupMonitoring(ctx *Context, name string, args ProcessGroupMonitoringArgs, opts ...ResourceOption) (*ProcessGroupMonitoring, error)public ProcessGroupMonitoring(string name, ProcessGroupMonitoringArgs args, CustomResourceOptions? opts = null)
public ProcessGroupMonitoring(String name, ProcessGroupMonitoringArgs args)
public ProcessGroupMonitoring(String name, ProcessGroupMonitoringArgs args, CustomResourceOptions options)
type: dynatrace:ProcessGroupMonitoring
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "dynatrace_processgroupmonitoring" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ProcessGroupMonitoringArgs
- 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 ProcessGroupMonitoringArgs
- 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 ProcessGroupMonitoringArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProcessGroupMonitoringArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProcessGroupMonitoringArgs
- 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 processGroupMonitoringResource = new Dynatrace.ProcessGroupMonitoring("processGroupMonitoringResource", new()
{
MonitoringState = "string",
ProcessGroupId = "string",
});
example, err := dynatrace.NewProcessGroupMonitoring(ctx, "processGroupMonitoringResource", &dynatrace.ProcessGroupMonitoringArgs{
MonitoringState: pulumi.String("string"),
ProcessGroupId: pulumi.String("string"),
})
resource "dynatrace_processgroupmonitoring" "processGroupMonitoringResource" {
monitoring_state = "string"
process_group_id = "string"
}
var processGroupMonitoringResource = new ProcessGroupMonitoring("processGroupMonitoringResource", ProcessGroupMonitoringArgs.builder()
.monitoringState("string")
.processGroupId("string")
.build());
process_group_monitoring_resource = dynatrace.ProcessGroupMonitoring("processGroupMonitoringResource",
monitoring_state="string",
process_group_id="string")
const processGroupMonitoringResource = new dynatrace.ProcessGroupMonitoring("processGroupMonitoringResource", {
monitoringState: "string",
processGroupId: "string",
});
type: dynatrace:ProcessGroupMonitoring
properties:
monitoringState: string
processGroupId: string
ProcessGroupMonitoring 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 ProcessGroupMonitoring resource accepts the following input properties:
- Monitoring
State string - Possible Values:
DEFAULT,MONITORING_OFF,MONITORING_ON - Process
Group stringId - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- Monitoring
State string - Possible Values:
DEFAULT,MONITORING_OFF,MONITORING_ON - Process
Group stringId - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- monitoring_
state string - Possible Values:
DEFAULT,MONITORING_OFF,MONITORING_ON - process_
group_ stringid - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- monitoring
State String - Possible Values:
DEFAULT,MONITORING_OFF,MONITORING_ON - process
Group StringId - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- monitoring
State string - Possible Values:
DEFAULT,MONITORING_OFF,MONITORING_ON - process
Group stringId - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- monitoring_
state str - Possible Values:
DEFAULT,MONITORING_OFF,MONITORING_ON - process_
group_ strid - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- monitoring
State String - Possible Values:
DEFAULT,MONITORING_OFF,MONITORING_ON - process
Group StringId - 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 ProcessGroupMonitoring 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 ProcessGroupMonitoring Resource
Get an existing ProcessGroupMonitoring 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?: ProcessGroupMonitoringState, opts?: CustomResourceOptions): ProcessGroupMonitoring@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
monitoring_state: Optional[str] = None,
process_group_id: Optional[str] = None) -> ProcessGroupMonitoringfunc GetProcessGroupMonitoring(ctx *Context, name string, id IDInput, state *ProcessGroupMonitoringState, opts ...ResourceOption) (*ProcessGroupMonitoring, error)public static ProcessGroupMonitoring Get(string name, Input<string> id, ProcessGroupMonitoringState? state, CustomResourceOptions? opts = null)public static ProcessGroupMonitoring get(String name, Output<String> id, ProcessGroupMonitoringState state, CustomResourceOptions options)resources: _: type: dynatrace:ProcessGroupMonitoring get: id: ${id}import {
to = dynatrace_processgroupmonitoring.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.
- Monitoring
State string - Possible Values:
DEFAULT,MONITORING_OFF,MONITORING_ON - Process
Group stringId - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- Monitoring
State string - Possible Values:
DEFAULT,MONITORING_OFF,MONITORING_ON - Process
Group stringId - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- monitoring_
state string - Possible Values:
DEFAULT,MONITORING_OFF,MONITORING_ON - process_
group_ stringid - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- monitoring
State String - Possible Values:
DEFAULT,MONITORING_OFF,MONITORING_ON - process
Group StringId - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- monitoring
State string - Possible Values:
DEFAULT,MONITORING_OFF,MONITORING_ON - process
Group stringId - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- monitoring_
state str - Possible Values:
DEFAULT,MONITORING_OFF,MONITORING_ON - process_
group_ strid - The scope of this settings. If the settings should cover the whole environment, just don't specify any scope.
- monitoring
State String - Possible Values:
DEFAULT,MONITORING_OFF,MONITORING_ON - process
Group StringId - 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
dynatraceTerraform Provider.
published on Tuesday, Jun 9, 2026 by Pulumiverse