1. Packages
  2. Packages
  3. Dynatrace
  4. API Docs
  5. DashboardSharing
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 is a child resource of dynatrace_json_dashboard, therefore it is automatically retrieved with the dashboard.

    This resource requires the API token scopes Read configuration (ReadConfig) and Write configuration (WriteConfig)

    Dynatrace Documentation

    • Share Dynatrace dashboards - https://www.dynatrace.com/support/help/how-to-use-dynatrace/dashboards-and-charts/dashboards/share-dashboards

    • Dashboards API - https://www.dynatrace.com/support/help/dynatrace-api/configuration-api/dashboards-api

    Resource Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as dynatrace from "@pulumiverse/dynatrace";
    
    const dashboard = new dynatrace.Dashboard("dashboard", {
        dashboardMetadata: {
            name: "#name#",
            owner: "Dynatrace",
            tags: ["Kubernetes"],
            dynamicFilters: {
                filters: ["KUBERNETES_CLUSTER"],
            },
        },
        tiles: [{
            name: "Markdown",
            tileType: "MARKDOWN",
            configured: true,
            bounds: {
                top: 0,
                width: 684,
                height: 38,
                left: 0,
            },
            markdown: "## Cluster resource overview",
        }],
    });
    const group = new dynatrace.IamGroup("group", {name: "#name#"});
    const user = new dynatrace.IamServiceUser("user", {name: "#name#"});
    const sharing = new dynatrace.DashboardSharing("sharing", {
        dashboardId: dashboard.id,
        permissions: {
            permissions: [
                {
                    level: "VIEW",
                    type: "ALL",
                },
                {
                    level: "EDIT",
                    type: "GROUP",
                    id: group.id,
                },
                {
                    level: "EDIT",
                    type: "USER",
                    id: user.id,
                },
            ],
        },
    });
    
    import pulumi
    import pulumiverse_dynatrace as dynatrace
    
    dashboard = dynatrace.Dashboard("dashboard",
        dashboard_metadata={
            "name": "#name#",
            "owner": "Dynatrace",
            "tags": ["Kubernetes"],
            "dynamic_filters": {
                "filters": ["KUBERNETES_CLUSTER"],
            },
        },
        tiles=[{
            "name": "Markdown",
            "tile_type": "MARKDOWN",
            "configured": True,
            "bounds": {
                "top": 0,
                "width": 684,
                "height": 38,
                "left": 0,
            },
            "markdown": "## Cluster resource overview",
        }])
    group = dynatrace.IamGroup("group", name="#name#")
    user = dynatrace.IamServiceUser("user", name="#name#")
    sharing = dynatrace.DashboardSharing("sharing",
        dashboard_id=dashboard.id,
        permissions={
            "permissions": [
                {
                    "level": "VIEW",
                    "type": "ALL",
                },
                {
                    "level": "EDIT",
                    "type": "GROUP",
                    "id": group.id,
                },
                {
                    "level": "EDIT",
                    "type": "USER",
                    "id": user.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 {
    		dashboard, err := dynatrace.NewDashboard(ctx, "dashboard", &dynatrace.DashboardArgs{
    			DashboardMetadata: &dynatrace.DashboardDashboardMetadataArgs{
    				Name:  pulumi.String("#name#"),
    				Owner: pulumi.String("Dynatrace"),
    				Tags: pulumi.StringArray{
    					pulumi.String("Kubernetes"),
    				},
    				DynamicFilters: &dynatrace.DashboardDashboardMetadataDynamicFiltersArgs{
    					Filters: pulumi.StringArray{
    						pulumi.String("KUBERNETES_CLUSTER"),
    					},
    				},
    			},
    			Tiles: dynatrace.DashboardTileArray{
    				&dynatrace.DashboardTileArgs{
    					Name:       pulumi.String("Markdown"),
    					TileType:   pulumi.String("MARKDOWN"),
    					Configured: pulumi.Bool(true),
    					Bounds: &dynatrace.DashboardTileBoundsArgs{
    						Top:    pulumi.Int(0),
    						Width:  pulumi.Int(684),
    						Height: pulumi.Int(38),
    						Left:   pulumi.Int(0),
    					},
    					Markdown: pulumi.String("## Cluster resource overview"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		group, err := dynatrace.NewIamGroup(ctx, "group", &dynatrace.IamGroupArgs{
    			Name: pulumi.String("#name#"),
    		})
    		if err != nil {
    			return err
    		}
    		user, err := dynatrace.NewIamServiceUser(ctx, "user", &dynatrace.IamServiceUserArgs{
    			Name: pulumi.String("#name#"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = dynatrace.NewDashboardSharing(ctx, "sharing", &dynatrace.DashboardSharingArgs{
    			DashboardId: dashboard.ID(),
    			Permissions: &dynatrace.DashboardSharingPermissionsArgs{
    				Permissions: dynatrace.DashboardSharingPermissionsPermissionArray{
    					&dynatrace.DashboardSharingPermissionsPermissionArgs{
    						Level: pulumi.String("VIEW"),
    						Type:  pulumi.String("ALL"),
    					},
    					&dynatrace.DashboardSharingPermissionsPermissionArgs{
    						Level: pulumi.String("EDIT"),
    						Type:  pulumi.String("GROUP"),
    						Id:    group.ID(),
    					},
    					&dynatrace.DashboardSharingPermissionsPermissionArgs{
    						Level: pulumi.String("EDIT"),
    						Type:  pulumi.String("USER"),
    						Id:    user.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 dashboard = new Dynatrace.Dashboard("dashboard", new()
        {
            DashboardMetadata = new Dynatrace.Inputs.DashboardDashboardMetadataArgs
            {
                Name = "#name#",
                Owner = "Dynatrace",
                Tags = new[]
                {
                    "Kubernetes",
                },
                DynamicFilters = new Dynatrace.Inputs.DashboardDashboardMetadataDynamicFiltersArgs
                {
                    Filters = new[]
                    {
                        "KUBERNETES_CLUSTER",
                    },
                },
            },
            Tiles = new[]
            {
                new Dynatrace.Inputs.DashboardTileArgs
                {
                    Name = "Markdown",
                    TileType = "MARKDOWN",
                    Configured = true,
                    Bounds = new Dynatrace.Inputs.DashboardTileBoundsArgs
                    {
                        Top = 0,
                        Width = 684,
                        Height = 38,
                        Left = 0,
                    },
                    Markdown = "## Cluster resource overview",
                },
            },
        });
    
        var @group = new Dynatrace.IamGroup("group", new()
        {
            Name = "#name#",
        });
    
        var user = new Dynatrace.IamServiceUser("user", new()
        {
            Name = "#name#",
        });
    
        var sharing = new Dynatrace.DashboardSharing("sharing", new()
        {
            DashboardId = dashboard.Id,
            Permissions = new Dynatrace.Inputs.DashboardSharingPermissionsArgs
            {
                Permissions = new[]
                {
                    new Dynatrace.Inputs.DashboardSharingPermissionsPermissionArgs
                    {
                        Level = "VIEW",
                        Type = "ALL",
                    },
                    new Dynatrace.Inputs.DashboardSharingPermissionsPermissionArgs
                    {
                        Level = "EDIT",
                        Type = "GROUP",
                        Id = @group.Id,
                    },
                    new Dynatrace.Inputs.DashboardSharingPermissionsPermissionArgs
                    {
                        Level = "EDIT",
                        Type = "USER",
                        Id = user.Id,
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.dynatrace.Dashboard;
    import com.pulumi.dynatrace.DashboardArgs;
    import com.pulumi.dynatrace.inputs.DashboardDashboardMetadataArgs;
    import com.pulumi.dynatrace.inputs.DashboardDashboardMetadataDynamicFiltersArgs;
    import com.pulumi.dynatrace.inputs.DashboardTileArgs;
    import com.pulumi.dynatrace.inputs.DashboardTileBoundsArgs;
    import com.pulumi.dynatrace.IamGroup;
    import com.pulumi.dynatrace.IamGroupArgs;
    import com.pulumi.dynatrace.IamServiceUser;
    import com.pulumi.dynatrace.IamServiceUserArgs;
    import com.pulumi.dynatrace.DashboardSharing;
    import com.pulumi.dynatrace.DashboardSharingArgs;
    import com.pulumi.dynatrace.inputs.DashboardSharingPermissionsArgs;
    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 dashboard = new Dashboard("dashboard", DashboardArgs.builder()
                .dashboardMetadata(DashboardDashboardMetadataArgs.builder()
                    .name("#name#")
                    .owner("Dynatrace")
                    .tags("Kubernetes")
                    .dynamicFilters(DashboardDashboardMetadataDynamicFiltersArgs.builder()
                        .filters("KUBERNETES_CLUSTER")
                        .build())
                    .build())
                .tiles(DashboardTileArgs.builder()
                    .name("Markdown")
                    .tileType("MARKDOWN")
                    .configured(true)
                    .bounds(DashboardTileBoundsArgs.builder()
                        .top(0)
                        .width(684)
                        .height(38)
                        .left(0)
                        .build())
                    .markdown("## Cluster resource overview")
                    .build())
                .build());
    
            var group = new IamGroup("group", IamGroupArgs.builder()
                .name("#name#")
                .build());
    
            var user = new IamServiceUser("user", IamServiceUserArgs.builder()
                .name("#name#")
                .build());
    
            var sharing = new DashboardSharing("sharing", DashboardSharingArgs.builder()
                .dashboardId(dashboard.id())
                .permissions(DashboardSharingPermissionsArgs.builder()
                    .permissions(                
                        DashboardSharingPermissionsPermissionArgs.builder()
                            .level("VIEW")
                            .type("ALL")
                            .build(),
                        DashboardSharingPermissionsPermissionArgs.builder()
                            .level("EDIT")
                            .type("GROUP")
                            .id(group.id())
                            .build(),
                        DashboardSharingPermissionsPermissionArgs.builder()
                            .level("EDIT")
                            .type("USER")
                            .id(user.id())
                            .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      sharing:
        type: dynatrace:DashboardSharing
        properties:
          dashboardId: ${dashboard.id}
          permissions:
            permissions:
              - level: VIEW
                type: ALL
              - level: EDIT
                type: GROUP
                id: ${group.id}
              - level: EDIT
                type: USER
                id: ${user.id}
      dashboard:
        type: dynatrace:Dashboard
        properties:
          dashboardMetadata:
            name: '#name#'
            owner: Dynatrace
            tags:
              - Kubernetes
            dynamicFilters:
              filters:
                - KUBERNETES_CLUSTER
          tiles:
            - name: Markdown
              tileType: MARKDOWN
              configured: true
              bounds:
                top: 0
                width: 684
                height: 38
                left: 0
              markdown: '## Cluster resource overview'
      group:
        type: dynatrace:IamGroup
        properties:
          name: '#name#'
      user:
        type: dynatrace:IamServiceUser
        properties:
          name: '#name#'
    
    pulumi {
      required_providers {
        dynatrace = {
          source = "pulumi/dynatrace"
        }
      }
    }
    
    resource "dynatrace_dashboardsharing" "sharing" {
      dashboard_id = dynatrace_dashboard.dashboard.id
      permissions = {
        permissions = [{
          "level" = "VIEW"
          "type"  = "ALL"
          }, {
          "level" = "EDIT"
          "type"  = "GROUP"
          "id"    = dynatrace_iamgroup.group.id
          }, {
          "level" = "EDIT"
          "type"  = "USER"
          "id"    = dynatrace_iamserviceuser.user.id
        }]
      }
    }
    resource "dynatrace_dashboard" "dashboard" {
      dashboard_metadata = {
        name  = "#name#"
        owner = "Dynatrace"
        tags  = ["Kubernetes"]
        dynamic_filters = {
          filters = ["KUBERNETES_CLUSTER"]
        }
      }
      tiles {
        name       = "Markdown"
        tile_type  = "MARKDOWN"
        configured = true
        bounds = {
          top    = 0
          width  = 684
          height = 38
          left   = 0
        }
        markdown = "## Cluster resource overview"
      }
    }
    resource "dynatrace_iamgroup" "group" {
      name = "#name#"
    }
    resource "dynatrace_iamserviceuser" "user" {
      name = "#name#"
    }
    

    Create DashboardSharing Resource

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

    Constructor syntax

    new DashboardSharing(name: string, args: DashboardSharingArgs, opts?: CustomResourceOptions);
    @overload
    def DashboardSharing(resource_name: str,
                         args: DashboardSharingArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def DashboardSharing(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         dashboard_id: Optional[str] = None,
                         enabled: Optional[bool] = None,
                         permissions: Optional[DashboardSharingPermissionsArgs] = None,
                         preset: Optional[bool] = None,
                         public: Optional[DashboardSharingPublicArgs] = None)
    func NewDashboardSharing(ctx *Context, name string, args DashboardSharingArgs, opts ...ResourceOption) (*DashboardSharing, error)
    public DashboardSharing(string name, DashboardSharingArgs args, CustomResourceOptions? opts = null)
    public DashboardSharing(String name, DashboardSharingArgs args)
    public DashboardSharing(String name, DashboardSharingArgs args, CustomResourceOptions options)
    
    type: dynatrace:DashboardSharing
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "dynatrace_dashboardsharing" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args DashboardSharingArgs
    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 DashboardSharingArgs
    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 DashboardSharingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DashboardSharingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DashboardSharingArgs
    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 dashboardSharingResource = new Dynatrace.DashboardSharing("dashboardSharingResource", new()
    {
        DashboardId = "string",
        Enabled = false,
        Permissions = new Dynatrace.Inputs.DashboardSharingPermissionsArgs
        {
            Permissions = new[]
            {
                new Dynatrace.Inputs.DashboardSharingPermissionsPermissionArgs
                {
                    Level = "string",
                    Type = "string",
                    Id = "string",
                },
            },
        },
        Preset = false,
        Public = new Dynatrace.Inputs.DashboardSharingPublicArgs
        {
            ManagementZones = new[]
            {
                "string",
            },
            Urls = 
            {
                { "string", "string" },
            },
        },
    });
    
    example, err := dynatrace.NewDashboardSharing(ctx, "dashboardSharingResource", &dynatrace.DashboardSharingArgs{
    	DashboardId: pulumi.String("string"),
    	Enabled:     pulumi.Bool(false),
    	Permissions: &dynatrace.DashboardSharingPermissionsArgs{
    		Permissions: dynatrace.DashboardSharingPermissionsPermissionArray{
    			&dynatrace.DashboardSharingPermissionsPermissionArgs{
    				Level: pulumi.String("string"),
    				Type:  pulumi.String("string"),
    				Id:    pulumi.String("string"),
    			},
    		},
    	},
    	Preset: pulumi.Bool(false),
    	Public: &dynatrace.DashboardSharingPublicArgs{
    		ManagementZones: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Urls: pulumi.StringMap{
    			"string": pulumi.String("string"),
    		},
    	},
    })
    
    resource "dynatrace_dashboardsharing" "dashboardSharingResource" {
      dashboard_id = "string"
      enabled      = false
      permissions = {
        permissions = [{
          "level" = "string"
          "type"  = "string"
          "id"    = "string"
        }]
      }
      preset = false
      public = {
        management_zones = ["string"]
        urls = {
          "string" = "string"
        }
      }
    }
    
    var dashboardSharingResource = new DashboardSharing("dashboardSharingResource", DashboardSharingArgs.builder()
        .dashboardId("string")
        .enabled(false)
        .permissions(DashboardSharingPermissionsArgs.builder()
            .permissions(DashboardSharingPermissionsPermissionArgs.builder()
                .level("string")
                .type("string")
                .id("string")
                .build())
            .build())
        .preset(false)
        .public_(DashboardSharingPublicArgs.builder()
            .managementZones("string")
            .urls(Map.of("string", "string"))
            .build())
        .build());
    
    dashboard_sharing_resource = dynatrace.DashboardSharing("dashboardSharingResource",
        dashboard_id="string",
        enabled=False,
        permissions={
            "permissions": [{
                "level": "string",
                "type": "string",
                "id": "string",
            }],
        },
        preset=False,
        public={
            "management_zones": ["string"],
            "urls": {
                "string": "string",
            },
        })
    
    const dashboardSharingResource = new dynatrace.DashboardSharing("dashboardSharingResource", {
        dashboardId: "string",
        enabled: false,
        permissions: {
            permissions: [{
                level: "string",
                type: "string",
                id: "string",
            }],
        },
        preset: false,
        "public": {
            managementZones: ["string"],
            urls: {
                string: "string",
            },
        },
    });
    
    type: dynatrace:DashboardSharing
    properties:
        dashboardId: string
        enabled: false
        permissions:
            permissions:
                - id: string
                  level: string
                  type: string
        preset: false
        public:
            managementZones:
                - string
            urls:
                string: string
    

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

    DashboardId string
    The Dynatrace entity ID of the dashboard
    Enabled bool
    The dashboard is shared (true) or private (false). Make sure that this value is aligned with the attribute shared of the resources dynatrace.Dashboard and dynatrace.JsonDashboard. Otherwise you will encounter non-empty plans.
    Permissions Pulumiverse.Dynatrace.Inputs.DashboardSharingPermissions
    Access permissions of the dashboard
    Preset bool
    If true the dashboard will be marked as preset. Setting this attribute to true will automatically enforce a specific set of permissions - Dashboards flagged as Preset are shared by default. Make sure that this value is aligned with the attribute preset of the resources dynatrace.Dashboard and dynatrace.JsonDashboard. Otherwise you will encounter non-empty plans.
    Public Pulumiverse.Dynatrace.Inputs.DashboardSharingPublic
    Configuration of the anonymous access to the dashboard
    DashboardId string
    The Dynatrace entity ID of the dashboard
    Enabled bool
    The dashboard is shared (true) or private (false). Make sure that this value is aligned with the attribute shared of the resources dynatrace.Dashboard and dynatrace.JsonDashboard. Otherwise you will encounter non-empty plans.
    Permissions DashboardSharingPermissionsArgs
    Access permissions of the dashboard
    Preset bool
    If true the dashboard will be marked as preset. Setting this attribute to true will automatically enforce a specific set of permissions - Dashboards flagged as Preset are shared by default. Make sure that this value is aligned with the attribute preset of the resources dynatrace.Dashboard and dynatrace.JsonDashboard. Otherwise you will encounter non-empty plans.
    Public DashboardSharingPublicArgs
    Configuration of the anonymous access to the dashboard
    dashboard_id string
    The Dynatrace entity ID of the dashboard
    enabled bool
    The dashboard is shared (true) or private (false). Make sure that this value is aligned with the attribute shared of the resources dynatrace.Dashboard and dynatrace.JsonDashboard. Otherwise you will encounter non-empty plans.
    permissions object
    Access permissions of the dashboard
    preset bool
    If true the dashboard will be marked as preset. Setting this attribute to true will automatically enforce a specific set of permissions - Dashboards flagged as Preset are shared by default. Make sure that this value is aligned with the attribute preset of the resources dynatrace.Dashboard and dynatrace.JsonDashboard. Otherwise you will encounter non-empty plans.
    public object
    Configuration of the anonymous access to the dashboard
    dashboardId String
    The Dynatrace entity ID of the dashboard
    enabled Boolean
    The dashboard is shared (true) or private (false). Make sure that this value is aligned with the attribute shared of the resources dynatrace.Dashboard and dynatrace.JsonDashboard. Otherwise you will encounter non-empty plans.
    permissions DashboardSharingPermissions
    Access permissions of the dashboard
    preset Boolean
    If true the dashboard will be marked as preset. Setting this attribute to true will automatically enforce a specific set of permissions - Dashboards flagged as Preset are shared by default. Make sure that this value is aligned with the attribute preset of the resources dynatrace.Dashboard and dynatrace.JsonDashboard. Otherwise you will encounter non-empty plans.
    public_ DashboardSharingPublic
    Configuration of the anonymous access to the dashboard
    dashboardId string
    The Dynatrace entity ID of the dashboard
    enabled boolean
    The dashboard is shared (true) or private (false). Make sure that this value is aligned with the attribute shared of the resources dynatrace.Dashboard and dynatrace.JsonDashboard. Otherwise you will encounter non-empty plans.
    permissions DashboardSharingPermissions
    Access permissions of the dashboard
    preset boolean
    If true the dashboard will be marked as preset. Setting this attribute to true will automatically enforce a specific set of permissions - Dashboards flagged as Preset are shared by default. Make sure that this value is aligned with the attribute preset of the resources dynatrace.Dashboard and dynatrace.JsonDashboard. Otherwise you will encounter non-empty plans.
    public DashboardSharingPublic
    Configuration of the anonymous access to the dashboard
    dashboard_id str
    The Dynatrace entity ID of the dashboard
    enabled bool
    The dashboard is shared (true) or private (false). Make sure that this value is aligned with the attribute shared of the resources dynatrace.Dashboard and dynatrace.JsonDashboard. Otherwise you will encounter non-empty plans.
    permissions DashboardSharingPermissionsArgs
    Access permissions of the dashboard
    preset bool
    If true the dashboard will be marked as preset. Setting this attribute to true will automatically enforce a specific set of permissions - Dashboards flagged as Preset are shared by default. Make sure that this value is aligned with the attribute preset of the resources dynatrace.Dashboard and dynatrace.JsonDashboard. Otherwise you will encounter non-empty plans.
    public DashboardSharingPublicArgs
    Configuration of the anonymous access to the dashboard
    dashboardId String
    The Dynatrace entity ID of the dashboard
    enabled Boolean
    The dashboard is shared (true) or private (false). Make sure that this value is aligned with the attribute shared of the resources dynatrace.Dashboard and dynatrace.JsonDashboard. Otherwise you will encounter non-empty plans.
    permissions Property Map
    Access permissions of the dashboard
    preset Boolean
    If true the dashboard will be marked as preset. Setting this attribute to true will automatically enforce a specific set of permissions - Dashboards flagged as Preset are shared by default. Make sure that this value is aligned with the attribute preset of the resources dynatrace.Dashboard and dynatrace.JsonDashboard. Otherwise you will encounter non-empty plans.
    public Property Map
    Configuration of the anonymous access to the dashboard

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DashboardSharing resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Muted bool
    Reserved for internal use by the provider
    Id string
    The provider-assigned unique ID for this managed resource.
    Muted bool
    Reserved for internal use by the provider
    id string
    The provider-assigned unique ID for this managed resource.
    muted bool
    Reserved for internal use by the provider
    id String
    The provider-assigned unique ID for this managed resource.
    muted Boolean
    Reserved for internal use by the provider
    id string
    The provider-assigned unique ID for this managed resource.
    muted boolean
    Reserved for internal use by the provider
    id str
    The provider-assigned unique ID for this managed resource.
    muted bool
    Reserved for internal use by the provider
    id String
    The provider-assigned unique ID for this managed resource.
    muted Boolean
    Reserved for internal use by the provider

    Look up Existing DashboardSharing Resource

    Get an existing DashboardSharing 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?: DashboardSharingState, opts?: CustomResourceOptions): DashboardSharing
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            dashboard_id: Optional[str] = None,
            enabled: Optional[bool] = None,
            muted: Optional[bool] = None,
            permissions: Optional[DashboardSharingPermissionsArgs] = None,
            preset: Optional[bool] = None,
            public: Optional[DashboardSharingPublicArgs] = None) -> DashboardSharing
    func GetDashboardSharing(ctx *Context, name string, id IDInput, state *DashboardSharingState, opts ...ResourceOption) (*DashboardSharing, error)
    public static DashboardSharing Get(string name, Input<string> id, DashboardSharingState? state, CustomResourceOptions? opts = null)
    public static DashboardSharing get(String name, Output<String> id, DashboardSharingState state, CustomResourceOptions options)
    resources:  _:    type: dynatrace:DashboardSharing    get:      id: ${id}
    import {
      to = dynatrace_dashboardsharing.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:
    DashboardId string
    The Dynatrace entity ID of the dashboard
    Enabled bool
    The dashboard is shared (true) or private (false). Make sure that this value is aligned with the attribute shared of the resources dynatrace.Dashboard and dynatrace.JsonDashboard. Otherwise you will encounter non-empty plans.
    Muted bool
    Reserved for internal use by the provider
    Permissions Pulumiverse.Dynatrace.Inputs.DashboardSharingPermissions
    Access permissions of the dashboard
    Preset bool
    If true the dashboard will be marked as preset. Setting this attribute to true will automatically enforce a specific set of permissions - Dashboards flagged as Preset are shared by default. Make sure that this value is aligned with the attribute preset of the resources dynatrace.Dashboard and dynatrace.JsonDashboard. Otherwise you will encounter non-empty plans.
    Public Pulumiverse.Dynatrace.Inputs.DashboardSharingPublic
    Configuration of the anonymous access to the dashboard
    DashboardId string
    The Dynatrace entity ID of the dashboard
    Enabled bool
    The dashboard is shared (true) or private (false). Make sure that this value is aligned with the attribute shared of the resources dynatrace.Dashboard and dynatrace.JsonDashboard. Otherwise you will encounter non-empty plans.
    Muted bool
    Reserved for internal use by the provider
    Permissions DashboardSharingPermissionsArgs
    Access permissions of the dashboard
    Preset bool
    If true the dashboard will be marked as preset. Setting this attribute to true will automatically enforce a specific set of permissions - Dashboards flagged as Preset are shared by default. Make sure that this value is aligned with the attribute preset of the resources dynatrace.Dashboard and dynatrace.JsonDashboard. Otherwise you will encounter non-empty plans.
    Public DashboardSharingPublicArgs
    Configuration of the anonymous access to the dashboard
    dashboard_id string
    The Dynatrace entity ID of the dashboard
    enabled bool
    The dashboard is shared (true) or private (false). Make sure that this value is aligned with the attribute shared of the resources dynatrace.Dashboard and dynatrace.JsonDashboard. Otherwise you will encounter non-empty plans.
    muted bool
    Reserved for internal use by the provider
    permissions object
    Access permissions of the dashboard
    preset bool
    If true the dashboard will be marked as preset. Setting this attribute to true will automatically enforce a specific set of permissions - Dashboards flagged as Preset are shared by default. Make sure that this value is aligned with the attribute preset of the resources dynatrace.Dashboard and dynatrace.JsonDashboard. Otherwise you will encounter non-empty plans.
    public object
    Configuration of the anonymous access to the dashboard
    dashboardId String
    The Dynatrace entity ID of the dashboard
    enabled Boolean
    The dashboard is shared (true) or private (false). Make sure that this value is aligned with the attribute shared of the resources dynatrace.Dashboard and dynatrace.JsonDashboard. Otherwise you will encounter non-empty plans.
    muted Boolean
    Reserved for internal use by the provider
    permissions DashboardSharingPermissions
    Access permissions of the dashboard
    preset Boolean
    If true the dashboard will be marked as preset. Setting this attribute to true will automatically enforce a specific set of permissions - Dashboards flagged as Preset are shared by default. Make sure that this value is aligned with the attribute preset of the resources dynatrace.Dashboard and dynatrace.JsonDashboard. Otherwise you will encounter non-empty plans.
    public_ DashboardSharingPublic
    Configuration of the anonymous access to the dashboard
    dashboardId string
    The Dynatrace entity ID of the dashboard
    enabled boolean
    The dashboard is shared (true) or private (false). Make sure that this value is aligned with the attribute shared of the resources dynatrace.Dashboard and dynatrace.JsonDashboard. Otherwise you will encounter non-empty plans.
    muted boolean
    Reserved for internal use by the provider
    permissions DashboardSharingPermissions
    Access permissions of the dashboard
    preset boolean
    If true the dashboard will be marked as preset. Setting this attribute to true will automatically enforce a specific set of permissions - Dashboards flagged as Preset are shared by default. Make sure that this value is aligned with the attribute preset of the resources dynatrace.Dashboard and dynatrace.JsonDashboard. Otherwise you will encounter non-empty plans.
    public DashboardSharingPublic
    Configuration of the anonymous access to the dashboard
    dashboard_id str
    The Dynatrace entity ID of the dashboard
    enabled bool
    The dashboard is shared (true) or private (false). Make sure that this value is aligned with the attribute shared of the resources dynatrace.Dashboard and dynatrace.JsonDashboard. Otherwise you will encounter non-empty plans.
    muted bool
    Reserved for internal use by the provider
    permissions DashboardSharingPermissionsArgs
    Access permissions of the dashboard
    preset bool
    If true the dashboard will be marked as preset. Setting this attribute to true will automatically enforce a specific set of permissions - Dashboards flagged as Preset are shared by default. Make sure that this value is aligned with the attribute preset of the resources dynatrace.Dashboard and dynatrace.JsonDashboard. Otherwise you will encounter non-empty plans.
    public DashboardSharingPublicArgs
    Configuration of the anonymous access to the dashboard
    dashboardId String
    The Dynatrace entity ID of the dashboard
    enabled Boolean
    The dashboard is shared (true) or private (false). Make sure that this value is aligned with the attribute shared of the resources dynatrace.Dashboard and dynatrace.JsonDashboard. Otherwise you will encounter non-empty plans.
    muted Boolean
    Reserved for internal use by the provider
    permissions Property Map
    Access permissions of the dashboard
    preset Boolean
    If true the dashboard will be marked as preset. Setting this attribute to true will automatically enforce a specific set of permissions - Dashboards flagged as Preset are shared by default. Make sure that this value is aligned with the attribute preset of the resources dynatrace.Dashboard and dynatrace.JsonDashboard. Otherwise you will encounter non-empty plans.
    public Property Map
    Configuration of the anonymous access to the dashboard

    Supporting Types

    DashboardSharingPermissions, DashboardSharingPermissionsArgs

    Permissions []DashboardSharingPermissionsPermission
    Access permissions of the dashboard
    permissions list(object)
    Access permissions of the dashboard
    permissions List<DashboardSharingPermissionsPermission>
    Access permissions of the dashboard
    permissions DashboardSharingPermissionsPermission[]
    Access permissions of the dashboard
    permissions List<Property Map>
    Access permissions of the dashboard

    DashboardSharingPermissionsPermission, DashboardSharingPermissionsPermissionArgs

    Level string
    The level of the permission:
    Type string
    The type of the permission:
    Id string
    The ID of the user or group to whom the permission is granted.
    Level string
    The level of the permission:
    Type string
    The type of the permission:
    Id string
    The ID of the user or group to whom the permission is granted.
    level string
    The level of the permission:
    type string
    The type of the permission:
    id string
    The ID of the user or group to whom the permission is granted.
    level String
    The level of the permission:
    type String
    The type of the permission:
    id String
    The ID of the user or group to whom the permission is granted.
    level string
    The level of the permission:
    type string
    The type of the permission:
    id string
    The ID of the user or group to whom the permission is granted.
    level str
    The level of the permission:
    type str
    The type of the permission:
    id str
    The ID of the user or group to whom the permission is granted.
    level String
    The level of the permission:
    type String
    The type of the permission:
    id String
    The ID of the user or group to whom the permission is granted.

    DashboardSharingPublic, DashboardSharingPublicArgs

    ManagementZones List<string>
    A list of management zones that can display data on the publicly shared dashboard.
    Urls Dictionary<string, string>
    A list of URLs for anonymous access to the dashboard indexed by management zone name
    ManagementZones []string
    A list of management zones that can display data on the publicly shared dashboard.
    Urls map[string]string
    A list of URLs for anonymous access to the dashboard indexed by management zone name
    management_zones list(string)
    A list of management zones that can display data on the publicly shared dashboard.
    urls map(string)
    A list of URLs for anonymous access to the dashboard indexed by management zone name
    managementZones List<String>
    A list of management zones that can display data on the publicly shared dashboard.
    urls Map<String,String>
    A list of URLs for anonymous access to the dashboard indexed by management zone name
    managementZones string[]
    A list of management zones that can display data on the publicly shared dashboard.
    urls {[key: string]: string}
    A list of URLs for anonymous access to the dashboard indexed by management zone name
    management_zones Sequence[str]
    A list of management zones that can display data on the publicly shared dashboard.
    urls Mapping[str, str]
    A list of URLs for anonymous access to the dashboard indexed by management zone name
    managementZones List<String>
    A list of management zones that can display data on the publicly shared dashboard.
    urls Map<String>
    A list of URLs for anonymous access to the dashboard indexed by management zone name

    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