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 Groups - https://www.dynatrace.com/support/help/how-to-use-dynatrace/process-groups
Settings API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings (schemaId:
builtin:alerting.connectivity-alerts)
Export Example Usage
terraform-provider-dynatrace -export dynatrace.ConnectivityAlertsdownloads all existing process group connectivity alerts
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 alert = new dynatrace.ConnectivityAlerts("alert", {
connectivityAlerts: 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\")")
alert = dynatrace.ConnectivityAlerts("alert",
connectivity_alerts=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.NewConnectivityAlerts(ctx, "alert", &dynatrace.ConnectivityAlertsArgs{
ConnectivityAlerts: 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 alert = new Dynatrace.ConnectivityAlerts("alert", new()
{
EnableConnectivityAlerts = 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.ConnectivityAlerts;
import com.pulumi.dynatrace.ConnectivityAlertsArgs;
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 alert = new ConnectivityAlerts("alert", ConnectivityAlertsArgs.builder()
.connectivityAlerts(false)
.processGroupId(processGroup.id())
.build());
}
}
resources:
alert:
type: dynatrace:ConnectivityAlerts
properties:
connectivityAlerts: 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_connectivityalerts" "alert" {
connectivity_alerts = false
process_group_id = data.dynatrace_getentity.processGroup.id
}
Create ConnectivityAlerts Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ConnectivityAlerts(name: string, args: ConnectivityAlertsArgs, opts?: CustomResourceOptions);@overload
def ConnectivityAlerts(resource_name: str,
args: ConnectivityAlertsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ConnectivityAlerts(resource_name: str,
opts: Optional[ResourceOptions] = None,
connectivity_alerts: Optional[bool] = None,
process_group_id: Optional[str] = None)func NewConnectivityAlerts(ctx *Context, name string, args ConnectivityAlertsArgs, opts ...ResourceOption) (*ConnectivityAlerts, error)public ConnectivityAlerts(string name, ConnectivityAlertsArgs args, CustomResourceOptions? opts = null)
public ConnectivityAlerts(String name, ConnectivityAlertsArgs args)
public ConnectivityAlerts(String name, ConnectivityAlertsArgs args, CustomResourceOptions options)
type: dynatrace:ConnectivityAlerts
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "dynatrace_connectivityalerts" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ConnectivityAlertsArgs
- 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 ConnectivityAlertsArgs
- 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 ConnectivityAlertsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConnectivityAlertsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConnectivityAlertsArgs
- 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 connectivityAlertsResource = new Dynatrace.ConnectivityAlerts("connectivityAlertsResource", new()
{
EnableConnectivityAlerts = false,
ProcessGroupId = "string",
});
example, err := dynatrace.NewConnectivityAlerts(ctx, "connectivityAlertsResource", &dynatrace.ConnectivityAlertsArgs{
ConnectivityAlerts: pulumi.Bool(false),
ProcessGroupId: pulumi.String("string"),
})
resource "dynatrace_connectivityalerts" "connectivityAlertsResource" {
connectivity_alerts = false
process_group_id = "string"
}
var connectivityAlertsResource = new ConnectivityAlerts("connectivityAlertsResource", ConnectivityAlertsArgs.builder()
.connectivityAlerts(false)
.processGroupId("string")
.build());
connectivity_alerts_resource = dynatrace.ConnectivityAlerts("connectivityAlertsResource",
connectivity_alerts=False,
process_group_id="string")
const connectivityAlertsResource = new dynatrace.ConnectivityAlerts("connectivityAlertsResource", {
connectivityAlerts: false,
processGroupId: "string",
});
type: dynatrace:ConnectivityAlerts
properties:
connectivityAlerts: false
processGroupId: string
ConnectivityAlerts 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 ConnectivityAlerts resource accepts the following input properties:
- Enable
Connectivity boolAlerts - TCP connectivity problems
- Process
Group stringId - The scope of this settings
- Connectivity
Alerts bool - TCP connectivity problems
- Process
Group stringId - The scope of this settings
- connectivity_
alerts bool - TCP connectivity problems
- process_
group_ stringid - The scope of this settings
- connectivity
Alerts Boolean - TCP connectivity problems
- process
Group StringId - The scope of this settings
- connectivity
Alerts boolean - TCP connectivity problems
- process
Group stringId - The scope of this settings
- connectivity_
alerts bool - TCP connectivity problems
- process_
group_ strid - The scope of this settings
- connectivity
Alerts Boolean - TCP connectivity problems
- process
Group StringId - The scope of this settings
Outputs
All input properties are implicitly available as output properties. Additionally, the ConnectivityAlerts 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 ConnectivityAlerts Resource
Get an existing ConnectivityAlerts 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?: ConnectivityAlertsState, opts?: CustomResourceOptions): ConnectivityAlerts@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
connectivity_alerts: Optional[bool] = None,
process_group_id: Optional[str] = None) -> ConnectivityAlertsfunc GetConnectivityAlerts(ctx *Context, name string, id IDInput, state *ConnectivityAlertsState, opts ...ResourceOption) (*ConnectivityAlerts, error)public static ConnectivityAlerts Get(string name, Input<string> id, ConnectivityAlertsState? state, CustomResourceOptions? opts = null)public static ConnectivityAlerts get(String name, Output<String> id, ConnectivityAlertsState state, CustomResourceOptions options)resources: _: type: dynatrace:ConnectivityAlerts get: id: ${id}import {
to = dynatrace_connectivityalerts.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.
- Enable
Connectivity boolAlerts - TCP connectivity problems
- Process
Group stringId - The scope of this settings
- Connectivity
Alerts bool - TCP connectivity problems
- Process
Group stringId - The scope of this settings
- connectivity_
alerts bool - TCP connectivity problems
- process_
group_ stringid - The scope of this settings
- connectivity
Alerts Boolean - TCP connectivity problems
- process
Group StringId - The scope of this settings
- connectivity
Alerts boolean - TCP connectivity problems
- process
Group stringId - The scope of this settings
- connectivity_
alerts bool - TCP connectivity problems
- process_
group_ strid - The scope of this settings
- connectivity
Alerts Boolean - TCP connectivity problems
- process
Group StringId - The scope of this settings
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