services

package
v1.50.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AWSMonitoredMetric

type AWSMonitoredMetric struct {
	Name       string   `json:"name,omitempty"` // The name of the metric of the supporting service.
	Statistic  string   `json:"statistic"`
	Dimensions []string `json:"dimensions"` // A list of metric's dimensions names. It must include all the recommended dimensions.
}

AWSMonitoredMetric A metric of supporting service to be monitored.

func (*AWSMonitoredMetric) MarshalHCL

func (amm *AWSMonitoredMetric) MarshalHCL(properties hcl.Properties) error

func (*AWSMonitoredMetric) Schema

func (amm *AWSMonitoredMetric) Schema() map[string]*schema.Schema

func (*AWSMonitoredMetric) UnmarshalHCL

func (amm *AWSMonitoredMetric) UnmarshalHCL(decoder hcl.Decoder) error

type Settings

type Settings struct {
	CredentialsID         string                `json:"-"`
	Name                  string                `json:"name"`                       // The name of the supporting service.
	MonitoredMetrics      []*AWSMonitoredMetric `json:"monitoredMetrics,omitempty"` // A list of metrics to be monitored for this service. It must include all the recommended metrics.
	BuiltIn               bool                  `json:"-"`
	RequiredMetrics       string                `json:"-"`
	UseRecommendedMetrics bool                  `json:"-"`
}

func (*Settings) IsComputer

func (me *Settings) IsComputer() bool

func (*Settings) MarshalHCL

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

func (*Settings) Schema

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

func (*Settings) UnmarshalHCL

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

Jump to

Keyboard shortcuts

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