import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * > 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 */ export declare class DashboardSharing extends pulumi.CustomResource { /** * Get an existing DashboardSharing resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: DashboardSharingState, opts?: pulumi.CustomResourceOptions): DashboardSharing; /** * Returns true if the given object is an instance of DashboardSharing. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DashboardSharing; /** * The Dynatrace entity ID of the dashboard */ readonly dashboardId: pulumi.Output; /** * 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. */ readonly enabled: pulumi.Output; /** * Reserved for internal use by the provider */ readonly muted: pulumi.Output; /** * Access permissions of the dashboard */ readonly permissions: pulumi.Output; /** * 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. */ readonly preset: pulumi.Output; /** * Configuration of the [anonymous access](https://dt-url.net/ov03sf1) to the dashboard */ readonly public: pulumi.Output; /** * Create a DashboardSharing resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DashboardSharingArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DashboardSharing resources. */ export interface DashboardSharingState { /** * The Dynatrace entity ID of the dashboard */ dashboardId?: pulumi.Input; /** * 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. */ enabled?: pulumi.Input; /** * Reserved for internal use by the provider */ muted?: pulumi.Input; /** * Access permissions of the dashboard */ permissions?: pulumi.Input; /** * 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. */ preset?: pulumi.Input; /** * Configuration of the [anonymous access](https://dt-url.net/ov03sf1) to the dashboard */ public?: pulumi.Input; } /** * The set of arguments for constructing a DashboardSharing resource. */ export interface DashboardSharingArgs { /** * The Dynatrace entity ID of the dashboard */ dashboardId: pulumi.Input; /** * 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. */ enabled?: pulumi.Input; /** * Access permissions of the dashboard */ permissions?: pulumi.Input; /** * 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. */ preset?: pulumi.Input; /** * Configuration of the [anonymous access](https://dt-url.net/ov03sf1) to the dashboard */ public?: pulumi.Input; }