1. Packages
  2. Packages
  3. Dynatrace
  4. API Docs
  5. UserGroup
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

    Dynatrace Managed only

    To utilize this resource, please define the environment variables DT_CLUSTER_URL and DT_CLUSTER_API_TOKEN with the cluster API token scope Service Provider API (ServiceProviderAPI).

    Dynatrace Documentation

    • User and group management - https://docs.dynatrace.com/managed/manage/identity-access-management/user-and-group-management

    • User management API - https://www.dynatrace.com/support/help/dynatrace-api/account-management-api/user-management-api

    Export Example Usage

    • terraform-provider-dynatrace -export dynatrace.UserGroup downloads all existing user 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 config = new pulumi.Config();
    const cluster = config.get("cluster") || "<the-id-of-your-dynatrace-cluster>";
    const environment = config.get("environment") || "<the-id-of-an-environment-within-your-cluster";
    const terraform = new dynatrace.UserGroup("terraform", {
        name: "Anonymous",
        ldapGroups: ["Anonymous"],
    });
    const terraformUser = new dynatrace.User("terraform", {
        email: "me@example.com",
        firstName: "John",
        groups: [terraform.id],
        lastName: "Doe",
        userName: "me@example.com",
    });
    const terraformCluster = new dynatrace.Policy("terraform_cluster", {
        name: "terraform_cluster",
        cluster: cluster,
        statementQuery: "ALLOW settings:objects:read, settings:schemas:read WHERE settings:schemaId = \"terraform-cluster\";",
    });
    const terraformEnv = new dynatrace.Policy("terraform_env", {
        name: "terraform_env",
        environment: environment,
        statementQuery: "ALLOW environment:roles:viewer;",
    });
    const terraformClusterBinding = new dynatrace.PolicyBindings("terraform_cluster_binding", {
        cluster: cluster,
        group: terraform.id,
        policies: [terraformCluster.id],
    });
    const terraformEnvBinding = new dynatrace.PolicyBindings("terraform_env_binding", {
        environment: environment,
        group: terraform.id,
        policies: [terraformEnv.id],
    });
    
    import pulumi
    import pulumiverse_dynatrace as dynatrace
    
    config = pulumi.Config()
    cluster = config.get("cluster")
    if cluster is None:
        cluster = "<the-id-of-your-dynatrace-cluster>"
    environment = config.get("environment")
    if environment is None:
        environment = "<the-id-of-an-environment-within-your-cluster"
    terraform = dynatrace.UserGroup("terraform",
        name="Anonymous",
        ldap_groups=["Anonymous"])
    terraform_user = dynatrace.User("terraform",
        email="me@example.com",
        first_name="John",
        groups=[terraform.id],
        last_name="Doe",
        user_name="me@example.com")
    terraform_cluster = dynatrace.Policy("terraform_cluster",
        name="terraform_cluster",
        cluster=cluster,
        statement_query="ALLOW settings:objects:read, settings:schemas:read WHERE settings:schemaId = \"terraform-cluster\";")
    terraform_env = dynatrace.Policy("terraform_env",
        name="terraform_env",
        environment=environment,
        statement_query="ALLOW environment:roles:viewer;")
    terraform_cluster_binding = dynatrace.PolicyBindings("terraform_cluster_binding",
        cluster=cluster,
        group=terraform.id,
        policies=[terraform_cluster.id])
    terraform_env_binding = dynatrace.PolicyBindings("terraform_env_binding",
        environment=environment,
        group=terraform.id,
        policies=[terraform_env.id])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    	"github.com/pulumiverse/pulumi-dynatrace/sdk/go/dynatrace"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		cluster := "<the-id-of-your-dynatrace-cluster>"
    		if param := cfg.Get("cluster"); param != "" {
    			cluster = param
    		}
    		environment := "<the-id-of-an-environment-within-your-cluster"
    		if param := cfg.Get("environment"); param != "" {
    			environment = param
    		}
    		terraform, err := dynatrace.NewUserGroup(ctx, "terraform", &dynatrace.UserGroupArgs{
    			Name: pulumi.String("Anonymous"),
    			LdapGroups: pulumi.StringArray{
    				pulumi.String("Anonymous"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = dynatrace.NewUser(ctx, "terraform", &dynatrace.UserArgs{
    			Email:     pulumi.String("me@example.com"),
    			FirstName: pulumi.String("John"),
    			Groups: pulumi.StringArray{
    				terraform.ID(),
    			},
    			LastName: pulumi.String("Doe"),
    			UserName: pulumi.String("me@example.com"),
    		})
    		if err != nil {
    			return err
    		}
    		terraformCluster, err := dynatrace.NewPolicy(ctx, "terraform_cluster", &dynatrace.PolicyArgs{
    			Name:           pulumi.String("terraform_cluster"),
    			Cluster:        pulumi.String(pulumi.String(cluster)),
    			StatementQuery: pulumi.String("ALLOW settings:objects:read, settings:schemas:read WHERE settings:schemaId = \"terraform-cluster\";"),
    		})
    		if err != nil {
    			return err
    		}
    		terraformEnv, err := dynatrace.NewPolicy(ctx, "terraform_env", &dynatrace.PolicyArgs{
    			Name:           pulumi.String("terraform_env"),
    			Environment:    pulumi.String(pulumi.String(environment)),
    			StatementQuery: pulumi.String("ALLOW environment:roles:viewer;"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = dynatrace.NewPolicyBindings(ctx, "terraform_cluster_binding", &dynatrace.PolicyBindingsArgs{
    			Cluster: pulumi.String(pulumi.String(cluster)),
    			Group:   terraform.ID(),
    			Policies: pulumi.StringArray{
    				terraformCluster.ID(),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = dynatrace.NewPolicyBindings(ctx, "terraform_env_binding", &dynatrace.PolicyBindingsArgs{
    			Environment: pulumi.String(pulumi.String(environment)),
    			Group:       terraform.ID(),
    			Policies: pulumi.StringArray{
    				terraformEnv.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 config = new Config();
        var cluster = config.Get("cluster") ?? "<the-id-of-your-dynatrace-cluster>";
        var environment = config.Get("environment") ?? "<the-id-of-an-environment-within-your-cluster";
        var terraform = new Dynatrace.UserGroup("terraform", new()
        {
            Name = "Anonymous",
            LdapGroups = new[]
            {
                "Anonymous",
            },
        });
    
        var terraformUser = new Dynatrace.User("terraform", new()
        {
            Email = "me@example.com",
            FirstName = "John",
            Groups = new[]
            {
                terraform.Id,
            },
            LastName = "Doe",
            UserName = "me@example.com",
        });
    
        var terraformCluster = new Dynatrace.Policy("terraform_cluster", new()
        {
            Name = "terraform_cluster",
            Cluster = cluster,
            StatementQuery = "ALLOW settings:objects:read, settings:schemas:read WHERE settings:schemaId = \"terraform-cluster\";",
        });
    
        var terraformEnv = new Dynatrace.Policy("terraform_env", new()
        {
            Name = "terraform_env",
            Environment = environment,
            StatementQuery = "ALLOW environment:roles:viewer;",
        });
    
        var terraformClusterBinding = new Dynatrace.PolicyBindings("terraform_cluster_binding", new()
        {
            Cluster = cluster,
            Group = terraform.Id,
            Policies = new[]
            {
                terraformCluster.Id,
            },
        });
    
        var terraformEnvBinding = new Dynatrace.PolicyBindings("terraform_env_binding", new()
        {
            Environment = environment,
            Group = terraform.Id,
            Policies = new[]
            {
                terraformEnv.Id,
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.dynatrace.UserGroup;
    import com.pulumi.dynatrace.UserGroupArgs;
    import com.pulumi.dynatrace.User;
    import com.pulumi.dynatrace.UserArgs;
    import com.pulumi.dynatrace.Policy;
    import com.pulumi.dynatrace.PolicyArgs;
    import com.pulumi.dynatrace.PolicyBindings;
    import com.pulumi.dynatrace.PolicyBindingsArgs;
    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 config = ctx.config();
            final var cluster = config.get("cluster").orElse("<the-id-of-your-dynatrace-cluster>");
            final var environment = config.get("environment").orElse("<the-id-of-an-environment-within-your-cluster");
            var terraform = new UserGroup("terraform", UserGroupArgs.builder()
                .name("Anonymous")
                .ldapGroups("Anonymous")
                .build());
    
            var terraformUser = new User("terraformUser", UserArgs.builder()
                .email("me@example.com")
                .firstName("John")
                .groups(terraform.id())
                .lastName("Doe")
                .userName("me@example.com")
                .build());
    
            var terraformCluster = new Policy("terraformCluster", PolicyArgs.builder()
                .name("terraform_cluster")
                .cluster(cluster)
                .statementQuery("ALLOW settings:objects:read, settings:schemas:read WHERE settings:schemaId = \"terraform-cluster\";")
                .build());
    
            var terraformEnv = new Policy("terraformEnv", PolicyArgs.builder()
                .name("terraform_env")
                .environment(environment)
                .statementQuery("ALLOW environment:roles:viewer;")
                .build());
    
            var terraformClusterBinding = new PolicyBindings("terraformClusterBinding", PolicyBindingsArgs.builder()
                .cluster(cluster)
                .group(terraform.id())
                .policies(terraformCluster.id())
                .build());
    
            var terraformEnvBinding = new PolicyBindings("terraformEnvBinding", PolicyBindingsArgs.builder()
                .environment(environment)
                .group(terraform.id())
                .policies(terraformEnv.id())
                .build());
    
        }
    }
    
    configuration:
      cluster:
        type: string
        default: <the-id-of-your-dynatrace-cluster>
      environment:
        type: string
        default: <the-id-of-an-environment-within-your-cluster
    resources:
      terraform:
        type: dynatrace:UserGroup
        properties:
          name: Anonymous
          ldapGroups:
            - Anonymous
      terraformUser:
        type: dynatrace:User
        name: terraform
        properties:
          email: me@example.com
          firstName: John
          groups:
            - ${terraform.id}
          lastName: Doe
          userName: me@example.com
      terraformCluster:
        type: dynatrace:Policy
        name: terraform_cluster
        properties:
          name: terraform_cluster
          cluster: ${cluster}
          statementQuery: ALLOW settings:objects:read, settings:schemas:read WHERE settings:schemaId = "terraform-cluster";
      terraformEnv:
        type: dynatrace:Policy
        name: terraform_env
        properties:
          name: terraform_env
          environment: ${environment}
          statementQuery: ALLOW environment:roles:viewer;
      terraformClusterBinding:
        type: dynatrace:PolicyBindings
        name: terraform_cluster_binding
        properties:
          cluster: ${cluster}
          group: ${terraform.id}
          policies:
            - ${terraformCluster.id}
      terraformEnvBinding:
        type: dynatrace:PolicyBindings
        name: terraform_env_binding
        properties:
          environment: ${environment}
          group: ${terraform.id}
          policies:
            - ${terraformEnv.id}
    
    pulumi {
      required_providers {
        dynatrace = {
          source = "pulumi/dynatrace"
        }
      }
    }
    
    resource "dynatrace_usergroup" "terraform" {
      name        = "Anonymous"
      ldap_groups = ["Anonymous"]
    }
    resource "dynatrace_user" "terraform" {
      email      = "me@example.com"
      first_name = "John"
      groups     = [dynatrace_usergroup.terraform.id]
      last_name  = "Doe"
      user_name  = "me@example.com"
    }
    resource "dynatrace_policy" "terraform_cluster" {
      name            = "terraform_cluster"
      cluster         = var.cluster
      statement_query = "ALLOW settings:objects:read, settings:schemas:read WHERE settings:schemaId = \"terraform-cluster\";"
    }
    resource "dynatrace_policy" "terraform_env" {
      name            = "terraform_env"
      environment     = var.environment
      statement_query = "ALLOW environment:roles:viewer;"
    }
    resource "dynatrace_policybindings" "terraform_cluster_binding" {
      cluster  = var.cluster
      group    = dynatrace_usergroup.terraform.id
      policies = [dynatrace_policy.terraform_cluster.id]
    }
    resource "dynatrace_policybindings" "terraform_env_binding" {
      environment = var.environment
      group       = dynatrace_usergroup.terraform.id
      policies    = [dynatrace_policy.terraform_env.id]
    }
    variable "cluster" {
      type    = string
      default = "<the-id-of-your-dynatrace-cluster>"
    }
    variable "environment" {
      type    = string
      default = "<the-id-of-an-environment-within-your-cluster"
    }
    

    Create UserGroup Resource

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

    Constructor syntax

    new UserGroup(name: string, args?: UserGroupArgs, opts?: CustomResourceOptions);
    @overload
    def UserGroup(resource_name: str,
                  args: Optional[UserGroupArgs] = None,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def UserGroup(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  access_account: Optional[bool] = None,
                  cluster_admin: Optional[bool] = None,
                  ldap_groups: Optional[Sequence[str]] = None,
                  manage_account: Optional[bool] = None,
                  name: Optional[str] = None,
                  permissions: Optional[UserGroupPermissionsArgs] = None,
                  sso_groups: Optional[Sequence[str]] = None)
    func NewUserGroup(ctx *Context, name string, args *UserGroupArgs, opts ...ResourceOption) (*UserGroup, error)
    public UserGroup(string name, UserGroupArgs? args = null, CustomResourceOptions? opts = null)
    public UserGroup(String name, UserGroupArgs args)
    public UserGroup(String name, UserGroupArgs args, CustomResourceOptions options)
    
    type: dynatrace:UserGroup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "dynatrace_usergroup" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args UserGroupArgs
    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 UserGroupArgs
    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 UserGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args UserGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args UserGroupArgs
    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 userGroupResource = new Dynatrace.UserGroup("userGroupResource", new()
    {
        AccessAccount = false,
        ClusterAdmin = false,
        LdapGroups = new[]
        {
            "string",
        },
        ManageAccount = false,
        Name = "string",
        Permissions = new Dynatrace.Inputs.UserGroupPermissionsArgs
        {
            Grants = new[]
            {
                new Dynatrace.Inputs.UserGroupPermissionsGrantArgs
                {
                    Permission = "string",
                    Environments = new[]
                    {
                        "string",
                    },
                },
            },
        },
        SsoGroups = new[]
        {
            "string",
        },
    });
    
    example, err := dynatrace.NewUserGroup(ctx, "userGroupResource", &dynatrace.UserGroupArgs{
    	AccessAccount: pulumi.Bool(false),
    	ClusterAdmin:  pulumi.Bool(false),
    	LdapGroups: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	ManageAccount: pulumi.Bool(false),
    	Name:          pulumi.String("string"),
    	Permissions: &dynatrace.UserGroupPermissionsArgs{
    		Grants: dynatrace.UserGroupPermissionsGrantArray{
    			&dynatrace.UserGroupPermissionsGrantArgs{
    				Permission: pulumi.String("string"),
    				Environments: pulumi.StringArray{
    					pulumi.String("string"),
    				},
    			},
    		},
    	},
    	SsoGroups: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    resource "dynatrace_usergroup" "userGroupResource" {
      access_account = false
      cluster_admin  = false
      ldap_groups    = ["string"]
      manage_account = false
      name           = "string"
      permissions = {
        grants = [{
          "permission"   = "string"
          "environments" = ["string"]
        }]
      }
      sso_groups = ["string"]
    }
    
    var userGroupResource = new UserGroup("userGroupResource", UserGroupArgs.builder()
        .accessAccount(false)
        .clusterAdmin(false)
        .ldapGroups("string")
        .manageAccount(false)
        .name("string")
        .permissions(UserGroupPermissionsArgs.builder()
            .grants(UserGroupPermissionsGrantArgs.builder()
                .permission("string")
                .environments("string")
                .build())
            .build())
        .ssoGroups("string")
        .build());
    
    user_group_resource = dynatrace.UserGroup("userGroupResource",
        access_account=False,
        cluster_admin=False,
        ldap_groups=["string"],
        manage_account=False,
        name="string",
        permissions={
            "grants": [{
                "permission": "string",
                "environments": ["string"],
            }],
        },
        sso_groups=["string"])
    
    const userGroupResource = new dynatrace.UserGroup("userGroupResource", {
        accessAccount: false,
        clusterAdmin: false,
        ldapGroups: ["string"],
        manageAccount: false,
        name: "string",
        permissions: {
            grants: [{
                permission: "string",
                environments: ["string"],
            }],
        },
        ssoGroups: ["string"],
    });
    
    type: dynatrace:UserGroup
    properties:
        accessAccount: false
        clusterAdmin: false
        ldapGroups:
            - string
        manageAccount: false
        name: string
        permissions:
            grants:
                - environments:
                    - string
                  permission: string
        ssoGroups:
            - string
    

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

    AccessAccount bool
    If true, then the group has the access account rights
    ClusterAdmin bool
    If true, then the group has the cluster administrator rights
    LdapGroups List<string>
    LDAP group names
    ManageAccount bool
    If true, then the group has the manage account rights
    Name string
    The name of the user group
    Permissions Pulumiverse.Dynatrace.Inputs.UserGroupPermissions
    Permissions for environments
    SsoGroups List<string>
    SSO group names. If defined it's used to map SSO group name to Dynatrace group name, otherwise mapping is done by group name
    AccessAccount bool
    If true, then the group has the access account rights
    ClusterAdmin bool
    If true, then the group has the cluster administrator rights
    LdapGroups []string
    LDAP group names
    ManageAccount bool
    If true, then the group has the manage account rights
    Name string
    The name of the user group
    Permissions UserGroupPermissionsArgs
    Permissions for environments
    SsoGroups []string
    SSO group names. If defined it's used to map SSO group name to Dynatrace group name, otherwise mapping is done by group name
    access_account bool
    If true, then the group has the access account rights
    cluster_admin bool
    If true, then the group has the cluster administrator rights
    ldap_groups list(string)
    LDAP group names
    manage_account bool
    If true, then the group has the manage account rights
    name string
    The name of the user group
    permissions object
    Permissions for environments
    sso_groups list(string)
    SSO group names. If defined it's used to map SSO group name to Dynatrace group name, otherwise mapping is done by group name
    accessAccount Boolean
    If true, then the group has the access account rights
    clusterAdmin Boolean
    If true, then the group has the cluster administrator rights
    ldapGroups List<String>
    LDAP group names
    manageAccount Boolean
    If true, then the group has the manage account rights
    name String
    The name of the user group
    permissions UserGroupPermissions
    Permissions for environments
    ssoGroups List<String>
    SSO group names. If defined it's used to map SSO group name to Dynatrace group name, otherwise mapping is done by group name
    accessAccount boolean
    If true, then the group has the access account rights
    clusterAdmin boolean
    If true, then the group has the cluster administrator rights
    ldapGroups string[]
    LDAP group names
    manageAccount boolean
    If true, then the group has the manage account rights
    name string
    The name of the user group
    permissions UserGroupPermissions
    Permissions for environments
    ssoGroups string[]
    SSO group names. If defined it's used to map SSO group name to Dynatrace group name, otherwise mapping is done by group name
    access_account bool
    If true, then the group has the access account rights
    cluster_admin bool
    If true, then the group has the cluster administrator rights
    ldap_groups Sequence[str]
    LDAP group names
    manage_account bool
    If true, then the group has the manage account rights
    name str
    The name of the user group
    permissions UserGroupPermissionsArgs
    Permissions for environments
    sso_groups Sequence[str]
    SSO group names. If defined it's used to map SSO group name to Dynatrace group name, otherwise mapping is done by group name
    accessAccount Boolean
    If true, then the group has the access account rights
    clusterAdmin Boolean
    If true, then the group has the cluster administrator rights
    ldapGroups List<String>
    LDAP group names
    manageAccount Boolean
    If true, then the group has the manage account rights
    name String
    The name of the user group
    permissions Property Map
    Permissions for environments
    ssoGroups List<String>
    SSO group names. If defined it's used to map SSO group name to Dynatrace group name, otherwise mapping is done by group name

    Outputs

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

    Get an existing UserGroup 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?: UserGroupState, opts?: CustomResourceOptions): UserGroup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            access_account: Optional[bool] = None,
            cluster_admin: Optional[bool] = None,
            ldap_groups: Optional[Sequence[str]] = None,
            manage_account: Optional[bool] = None,
            name: Optional[str] = None,
            permissions: Optional[UserGroupPermissionsArgs] = None,
            sso_groups: Optional[Sequence[str]] = None) -> UserGroup
    func GetUserGroup(ctx *Context, name string, id IDInput, state *UserGroupState, opts ...ResourceOption) (*UserGroup, error)
    public static UserGroup Get(string name, Input<string> id, UserGroupState? state, CustomResourceOptions? opts = null)
    public static UserGroup get(String name, Output<String> id, UserGroupState state, CustomResourceOptions options)
    resources:  _:    type: dynatrace:UserGroup    get:      id: ${id}
    import {
      to = dynatrace_usergroup.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:
    AccessAccount bool
    If true, then the group has the access account rights
    ClusterAdmin bool
    If true, then the group has the cluster administrator rights
    LdapGroups List<string>
    LDAP group names
    ManageAccount bool
    If true, then the group has the manage account rights
    Name string
    The name of the user group
    Permissions Pulumiverse.Dynatrace.Inputs.UserGroupPermissions
    Permissions for environments
    SsoGroups List<string>
    SSO group names. If defined it's used to map SSO group name to Dynatrace group name, otherwise mapping is done by group name
    AccessAccount bool
    If true, then the group has the access account rights
    ClusterAdmin bool
    If true, then the group has the cluster administrator rights
    LdapGroups []string
    LDAP group names
    ManageAccount bool
    If true, then the group has the manage account rights
    Name string
    The name of the user group
    Permissions UserGroupPermissionsArgs
    Permissions for environments
    SsoGroups []string
    SSO group names. If defined it's used to map SSO group name to Dynatrace group name, otherwise mapping is done by group name
    access_account bool
    If true, then the group has the access account rights
    cluster_admin bool
    If true, then the group has the cluster administrator rights
    ldap_groups list(string)
    LDAP group names
    manage_account bool
    If true, then the group has the manage account rights
    name string
    The name of the user group
    permissions object
    Permissions for environments
    sso_groups list(string)
    SSO group names. If defined it's used to map SSO group name to Dynatrace group name, otherwise mapping is done by group name
    accessAccount Boolean
    If true, then the group has the access account rights
    clusterAdmin Boolean
    If true, then the group has the cluster administrator rights
    ldapGroups List<String>
    LDAP group names
    manageAccount Boolean
    If true, then the group has the manage account rights
    name String
    The name of the user group
    permissions UserGroupPermissions
    Permissions for environments
    ssoGroups List<String>
    SSO group names. If defined it's used to map SSO group name to Dynatrace group name, otherwise mapping is done by group name
    accessAccount boolean
    If true, then the group has the access account rights
    clusterAdmin boolean
    If true, then the group has the cluster administrator rights
    ldapGroups string[]
    LDAP group names
    manageAccount boolean
    If true, then the group has the manage account rights
    name string
    The name of the user group
    permissions UserGroupPermissions
    Permissions for environments
    ssoGroups string[]
    SSO group names. If defined it's used to map SSO group name to Dynatrace group name, otherwise mapping is done by group name
    access_account bool
    If true, then the group has the access account rights
    cluster_admin bool
    If true, then the group has the cluster administrator rights
    ldap_groups Sequence[str]
    LDAP group names
    manage_account bool
    If true, then the group has the manage account rights
    name str
    The name of the user group
    permissions UserGroupPermissionsArgs
    Permissions for environments
    sso_groups Sequence[str]
    SSO group names. If defined it's used to map SSO group name to Dynatrace group name, otherwise mapping is done by group name
    accessAccount Boolean
    If true, then the group has the access account rights
    clusterAdmin Boolean
    If true, then the group has the cluster administrator rights
    ldapGroups List<String>
    LDAP group names
    manageAccount Boolean
    If true, then the group has the manage account rights
    name String
    The name of the user group
    permissions Property Map
    Permissions for environments
    ssoGroups List<String>
    SSO group names. If defined it's used to map SSO group name to Dynatrace group name, otherwise mapping is done by group name

    Supporting Types

    UserGroupPermissions, UserGroupPermissionsArgs

    Grants List<Pulumiverse.Dynatrace.Inputs.UserGroupPermissionsGrant>
    A permission granted to one or multiple environments
    Grants []UserGroupPermissionsGrant
    A permission granted to one or multiple environments
    grants list(object)
    A permission granted to one or multiple environments
    grants List<UserGroupPermissionsGrant>
    A permission granted to one or multiple environments
    grants UserGroupPermissionsGrant[]
    A permission granted to one or multiple environments
    grants Sequence[UserGroupPermissionsGrant]
    A permission granted to one or multiple environments
    grants List<Property Map>
    A permission granted to one or multiple environments

    UserGroupPermissionsGrant, UserGroupPermissionsGrantArgs

    Permission string
    The permission. Possible values are VIEWER, MANAGE_SETTINGS, AGENT_INSTALL, LOG_VIEWER, VIEW_SENSITIVE_REQUEST_DATA, CONFIGURE_REQUEST_CAPTURE_DATA, REPLAY_SESSION_DATA, REPLAY_SESSION_DATA_WITHOUT_MASKING, MANAGE_SECURITY_PROBLEMS and MANAGE_SUPPORT_TICKETS.
    Environments List<string>
    The ids of the environments this permission grants the user access to.
    Permission string
    The permission. Possible values are VIEWER, MANAGE_SETTINGS, AGENT_INSTALL, LOG_VIEWER, VIEW_SENSITIVE_REQUEST_DATA, CONFIGURE_REQUEST_CAPTURE_DATA, REPLAY_SESSION_DATA, REPLAY_SESSION_DATA_WITHOUT_MASKING, MANAGE_SECURITY_PROBLEMS and MANAGE_SUPPORT_TICKETS.
    Environments []string
    The ids of the environments this permission grants the user access to.
    permission string
    The permission. Possible values are VIEWER, MANAGE_SETTINGS, AGENT_INSTALL, LOG_VIEWER, VIEW_SENSITIVE_REQUEST_DATA, CONFIGURE_REQUEST_CAPTURE_DATA, REPLAY_SESSION_DATA, REPLAY_SESSION_DATA_WITHOUT_MASKING, MANAGE_SECURITY_PROBLEMS and MANAGE_SUPPORT_TICKETS.
    environments list(string)
    The ids of the environments this permission grants the user access to.
    permission String
    The permission. Possible values are VIEWER, MANAGE_SETTINGS, AGENT_INSTALL, LOG_VIEWER, VIEW_SENSITIVE_REQUEST_DATA, CONFIGURE_REQUEST_CAPTURE_DATA, REPLAY_SESSION_DATA, REPLAY_SESSION_DATA_WITHOUT_MASKING, MANAGE_SECURITY_PROBLEMS and MANAGE_SUPPORT_TICKETS.
    environments List<String>
    The ids of the environments this permission grants the user access to.
    permission string
    The permission. Possible values are VIEWER, MANAGE_SETTINGS, AGENT_INSTALL, LOG_VIEWER, VIEW_SENSITIVE_REQUEST_DATA, CONFIGURE_REQUEST_CAPTURE_DATA, REPLAY_SESSION_DATA, REPLAY_SESSION_DATA_WITHOUT_MASKING, MANAGE_SECURITY_PROBLEMS and MANAGE_SUPPORT_TICKETS.
    environments string[]
    The ids of the environments this permission grants the user access to.
    permission str
    The permission. Possible values are VIEWER, MANAGE_SETTINGS, AGENT_INSTALL, LOG_VIEWER, VIEW_SENSITIVE_REQUEST_DATA, CONFIGURE_REQUEST_CAPTURE_DATA, REPLAY_SESSION_DATA, REPLAY_SESSION_DATA_WITHOUT_MASKING, MANAGE_SECURITY_PROBLEMS and MANAGE_SUPPORT_TICKETS.
    environments Sequence[str]
    The ids of the environments this permission grants the user access to.
    permission String
    The permission. Possible values are VIEWER, MANAGE_SETTINGS, AGENT_INSTALL, LOG_VIEWER, VIEW_SENSITIVE_REQUEST_DATA, CONFIGURE_REQUEST_CAPTURE_DATA, REPLAY_SESSION_DATA, REPLAY_SESSION_DATA_WITHOUT_MASKING, MANAGE_SECURITY_PROBLEMS and MANAGE_SUPPORT_TICKETS.
    environments List<String>
    The ids of the environments this permission grants the user access to.

    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