published on Saturday, Nov 14, 2026 by Pulumiverse
Dynatracepublished on Saturday, Nov 14, 2026 by Pulumiverse
This resource requires the API token scopes Read settings (
settings.read) and Write settings (settings.write)
This resource allows configuring email recipients for Dynatrace Hub app installation requests.
Dynatrace Documentation
Dynatrace Hub - https://docs.dynatrace.com/docs/manage/hub
Settings API - https://www.dynatrace.com/support/help/dynatrace-api/environment-api/settings (schemaId:
app:dynatrace.hub:manage.permissions)
Export Example Usage
terraform-provider-dynatrace -export dynatrace.HubPermissionsdownloads all existing hub permissions
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 permission = new dynatrace.HubPermissions("permission", {
email: "#name#@dynatrace.com",
description: "This is an example description",
});
import pulumi
import pulumiverse_dynatrace as dynatrace
permission = dynatrace.HubPermissions("permission",
email="#name#@dynatrace.com",
description="This is an example description")
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 {
_, err := dynatrace.NewHubPermissions(ctx, "permission", &dynatrace.HubPermissionsArgs{
Email: pulumi.String("#name#@dynatrace.com"),
Description: pulumi.String("This is an example description"),
})
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 permission = new Dynatrace.HubPermissions("permission", new()
{
Email = "#name#@dynatrace.com",
Description = "This is an example description",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.dynatrace.HubPermissions;
import com.pulumi.dynatrace.HubPermissionsArgs;
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) {
var permission = new HubPermissions("permission", HubPermissionsArgs.builder()
.email("#name#@dynatrace.com")
.description("This is an example description")
.build());
}
}
resources:
permission:
type: dynatrace:HubPermissions
properties:
email: '#name#@dynatrace.com'
description: This is an example description
terraform {
required_providers {
dynatrace = {
source = "pulumi/dynatrace"
}
}
}
resource "dynatrace_hub_permissions" "permission" {
lifecycle {
create_before_destroy = true
}
email = "#name#@dynatrace.com"
description = "This is an example description"
}
Create HubPermissions Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new HubPermissions(name: string, args: HubPermissionsArgs, opts?: CustomResourceOptions);@overload
def HubPermissions(resource_name: str,
args: HubPermissionsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def HubPermissions(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
email: Optional[str] = None)func NewHubPermissions(ctx *Context, name string, args HubPermissionsArgs, opts ...ResourceOption) (*HubPermissions, error)public HubPermissions(string name, HubPermissionsArgs args, CustomResourceOptions? opts = null)
public HubPermissions(String name, HubPermissionsArgs args)
public HubPermissions(String name, HubPermissionsArgs args, CustomResourceOptions options)
type: dynatrace:HubPermissions
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "dynatrace_hub_permissions" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args HubPermissionsArgs
- 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 HubPermissionsArgs
- 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 HubPermissionsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HubPermissionsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args HubPermissionsArgs
- 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 hubPermissionsResource = new Dynatrace.HubPermissions("hubPermissionsResource", new()
{
Description = "string",
Email = "string",
});
example, err := dynatrace.NewHubPermissions(ctx, "hubPermissionsResource", &dynatrace.HubPermissionsArgs{
Description: pulumi.String("string"),
Email: pulumi.String("string"),
})
resource "dynatrace_hub_permissions" "hubPermissionsResource" {
lifecycle {
create_before_destroy = true
}
description = "string"
email = "string"
}
var hubPermissionsResource = new HubPermissions("hubPermissionsResource", HubPermissionsArgs.builder()
.description("string")
.email("string")
.build());
hub_permissions_resource = dynatrace.HubPermissions("hubPermissionsResource",
description="string",
email="string")
const hubPermissionsResource = new dynatrace.HubPermissions("hubPermissionsResource", {
description: "string",
email: "string",
});
type: dynatrace:HubPermissions
properties:
description: string
email: string
HubPermissions 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 HubPermissions resource accepts the following input properties:
- Description string
- Name
- Email string
- Contact Email
- Description string
- Name
- Email string
- Contact Email
- description string
- Name
- email string
- Contact Email
- description String
- Name
- email String
- Contact Email
- description string
- Name
- email string
- Contact Email
- description str
- Name
- email str
- Contact Email
- description String
- Name
- email String
- Contact Email
Outputs
All input properties are implicitly available as output properties. Additionally, the HubPermissions 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 HubPermissions Resource
Get an existing HubPermissions 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?: HubPermissionsState, opts?: CustomResourceOptions): HubPermissions@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
email: Optional[str] = None) -> HubPermissionsfunc GetHubPermissions(ctx *Context, name string, id IDInput, state *HubPermissionsState, opts ...ResourceOption) (*HubPermissions, error)public static HubPermissions Get(string name, Input<string> id, HubPermissionsState? state, CustomResourceOptions? opts = null)public static HubPermissions get(String name, Output<String> id, HubPermissionsState state, CustomResourceOptions options)resources: existingHubPermissions: type: dynatrace:HubPermissions get: id: ${id}import {
to = dynatrace_hub_permissions.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- state HubPermissionsState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state HubPermissionsState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- state HubPermissionsState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- state HubPermissionsState
- Known property values the provider needs, along with the ID, to find the resource. Usually not required.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
- Description string
- Name
- Email string
- Contact Email
- Description string
- Name
- Email string
- Contact Email
- description string
- Name
- email string
- Contact Email
- description String
- Name
- email String
- Contact Email
- description string
- Name
- email string
- Contact Email
- description str
- Name
- email str
- Contact Email
- description String
- Name
- email String
- Contact Email
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatraceTerraform Provider.
Dynatracepublished on Saturday, Nov 14, 2026 by Pulumiverse