Dynatrace

v0.0.2 published on Tuesday, Nov 1, 2022 by Lbrlabs

DashboardSharing

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

Create DashboardSharing Resource

new DashboardSharing(name: string, args: DashboardSharingArgs, opts?: CustomResourceOptions);
@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)
@overload
def DashboardSharing(resource_name: str,
                     args: DashboardSharingArgs,
                     opts: Optional[ResourceOptions] = 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.

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.

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

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)

Permissions Lbrlabs.PulumiPackage.Dynatrace.Inputs.DashboardSharingPermissionsArgs

Access permissions of the dashboard

Preset bool

If true the dashboard will be marked as preset

Public Lbrlabs.PulumiPackage.Dynatrace.Inputs.DashboardSharingPublicArgs

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)

Permissions DashboardSharingPermissionsArgs

Access permissions of the dashboard

Preset bool

If true the dashboard will be marked as preset

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)

permissions DashboardSharingPermissionsArgs

Access permissions of the dashboard

preset Boolean

If true the dashboard will be marked as preset

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)

permissions DashboardSharingPermissionsArgs

Access permissions of the dashboard

preset boolean

If true the dashboard will be marked as preset

public DashboardSharingPublicArgs

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)

permissions DashboardSharingPermissionsArgs

Access permissions of the dashboard

preset bool

If true the dashboard will be marked as preset

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)

permissions Property Map

Access permissions of the dashboard

preset Boolean

If true the dashboard will be marked as preset

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.

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 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,
        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)
Resource lookup is not supported in YAML
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)

Permissions Lbrlabs.PulumiPackage.Dynatrace.Inputs.DashboardSharingPermissionsArgs

Access permissions of the dashboard

Preset bool

If true the dashboard will be marked as preset

Public Lbrlabs.PulumiPackage.Dynatrace.Inputs.DashboardSharingPublicArgs

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)

Permissions DashboardSharingPermissionsArgs

Access permissions of the dashboard

Preset bool

If true the dashboard will be marked as preset

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)

permissions DashboardSharingPermissionsArgs

Access permissions of the dashboard

preset Boolean

If true the dashboard will be marked as preset

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)

permissions DashboardSharingPermissionsArgs

Access permissions of the dashboard

preset boolean

If true the dashboard will be marked as preset

public DashboardSharingPublicArgs

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)

permissions DashboardSharingPermissionsArgs

Access permissions of the dashboard

preset bool

If true the dashboard will be marked as preset

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)

permissions Property Map

Access permissions of the dashboard

preset Boolean

If true the dashboard will be marked as preset

public Property Map

Configuration of the anonymous access to the dashboard

Supporting Types

DashboardSharingPermissions

Permissions []DashboardSharingPermissionsPermission

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

Level string
Type string
Id string

The ID of this resource.

Level string
Type string
Id string

The ID of this resource.

level String
type String
id String

The ID of this resource.

level string
type string
id string

The ID of this resource.

level str
type str
id str

The ID of this resource.

level String
type String
id String

The ID of this resource.

DashboardSharingPublic

ManagementZones List<string>

A list of management zones that can display data on the publicly shared dashboard.

ManagementZones []string

A list of management zones that can display data on the publicly shared dashboard.

managementZones List<String>

A list of management zones that can display data on the publicly shared dashboard.

managementZones string[]

A list of management zones that can display data on the publicly shared dashboard.

management_zones Sequence[str]

A list of management zones that can display data on the publicly shared dashboard.

managementZones List<String>

A list of management zones that can display data on the publicly shared dashboard.

Package Details

Repository
https://github.com/lbrlabs/pulumi-dynatrace
License
Apache-2.0
Notes

This Pulumi package is based on the dynatrace Terraform Provider.