Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PermissionTypes = struct { All PermissionType Group PermissionType User PermissionType }{ All: PermissionType("ALL"), Group: PermissionType("GROUP"), User: PermissionType("USER"), }
View Source
var Permissions = struct { Edit Permission View Permission }{ Edit: Permission("EDIT"), View: Permission("VIEW"), }
Functions ¶
This section is empty.
Types ¶
type AnonymousAccess ¶
type AnonymousAccess struct { ManagementZoneIDs []string `json:"managementZoneIds"` // A list of management zones that can display data on the publicly shared dashboard. \n\nSpecify management zone IDs here. For each management zone you specify Dynatrace generates an access link. You can access them in the **urls** list. \n\nTo share the dashboard with its default management zone, use the `default` value // READ ONLY URLs map[string]string `json:"urls,omitempty"` // A list of URLs for anonymous access to the dashboard. \n\nEach link grants access to data from the specific management zone, listed in the in the **managementZoneIds** list. \n\nThese links are automatically generated by Dynatrace, you can't change them }
AnonymousAccess represents configuration of the [anonymous access](https://dt-url.net/ov03sf1) to the dashboard
func (*AnonymousAccess) IsEmpty ¶
func (me *AnonymousAccess) IsEmpty() bool
func (*AnonymousAccess) MarshalHCL ¶
func (me *AnonymousAccess) MarshalHCL(properties hcl.Properties) error
func (*AnonymousAccess) UnmarshalHCL ¶
func (me *AnonymousAccess) UnmarshalHCL(decoder hcl.Decoder) error
type DashboardSharing ¶
type DashboardSharing struct { DashboardID string `json:"id"` // The Dynatrace entity ID of the dashboard Permissions SharePermissions `json:"permissions"` // Access permissions of the dashboard PublicAccess *AnonymousAccess `json:"publicAccess"` // Configuration of the [anonymous access](https://dt-url.net/ov03sf1) to the dashboard Preset bool `json:"preset"` // If `true` the dashboard will be marked as preset Enabled bool `json:"enabled"` // The dashboard is shared (`true`) or private (`false`) Muted bool `json:"-"` // Internal field keeping track of whether this resource should get updated // not part of payload - used by export DashboardName string `json:"-"` }
DashboardSharing represents sharing configuration of the dashboard
func (*DashboardSharing) MarshalHCL ¶
func (me *DashboardSharing) MarshalHCL(properties hcl.Properties) error
MarshalHCL has no documentation
func (*DashboardSharing) Name ¶
func (me *DashboardSharing) Name() string
func (*DashboardSharing) UnmarshalHCL ¶
func (me *DashboardSharing) UnmarshalHCL(decoder hcl.Decoder) error
UnmarshalHCL has no documentation
type Permission ¶
type Permission string
type PermissionType ¶
type PermissionType string
type SharePermission ¶
type SharePermission struct {}
SharePermission represents access permissions of the dashboard
func (*SharePermission) MarshalHCL ¶
func (me *SharePermission) MarshalHCL(properties hcl.Properties) error
MarshalHCL has no documentation
func (*SharePermission) UnmarshalHCL ¶
func (me *SharePermission) UnmarshalHCL(decoder hcl.Decoder) error
UnmarshalHCL has no documentation
type SharePermissions ¶
type SharePermissions []*SharePermission
func (SharePermissions) MarshalHCL ¶
func (me SharePermissions) MarshalHCL(properties hcl.Properties) error
MarshalHCL has no documentation
func (*SharePermissions) UnmarshalHCL ¶
func (me *SharePermissions) UnmarshalHCL(decoder hcl.Decoder) error
UnmarshalHCL has no documentation
Click to show internal directories.
Click to hide internal directories.