reports

package
v1.62.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 2, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Types = struct {
	Dashboard Type
}{
	Type("DASHBOARD"),
}

Functions

This section is empty.

Types

type ReportStub

type ReportStub struct {
	DashboardID string `json:"dashboardId"`
	ID          string `json:"id"`
}

type ReportStubList

type ReportStubList struct {
	Values []ReportStub `json:"values"`
}

func (*ReportStubList) ToStubs

func (me *ReportStubList) ToStubs() api.Stubs

type ReportStubs

type ReportStubs []*ReportStub

type Settings

type Settings struct {
	DashboardId        string         `json:"dashboardId"`       // The ID of the associated dashboard
	EmailNotifications *bool          `json:"enabled,omitempty"` // The email notifications for the dashboard report are enabled (true) or disabled (false).
	Subscriptions      *Subscriptions `json:"subscriptions"`     // A list of the report subscribers
	Type               Type           `json:"type"`              // The type of report
}

func (*Settings) MarshalHCL

func (me *Settings) MarshalHCL(properties hcl.Properties) error

func (*Settings) Name

func (me *Settings) Name() string

func (*Settings) Schema

func (me *Settings) Schema() map[string]*schema.Schema

func (*Settings) UnmarshalHCL

func (me *Settings) UnmarshalHCL(decoder hcl.Decoder) error

type Subscriptions

type Subscriptions struct {
	Month []string `json:"MONTH,omitempty"` // A list of monthly subscribers.\n Monthly subscribers receive the report on the first Monday of the month at midnight.\n You can specify email addresses or Dynatrace user IDs here.
	Week  []string `json:"WEEK,omitempty"`  // A list of weekly subscribers.\n Weekly subscribers receive the report every Monday at midnight.\n You can specify email addresses or Dynatrace user IDs here.
}

func (*Subscriptions) MarshalHCL

func (me *Subscriptions) MarshalHCL(properties hcl.Properties) error

func (*Subscriptions) Schema

func (me *Subscriptions) Schema() map[string]*schema.Schema

func (*Subscriptions) UnmarshalHCL

func (me *Subscriptions) UnmarshalHCL(decoder hcl.Decoder) error

type Type

type Type string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL