datamonitorscheduledqueryrulesalert

package
v0.0.0-...-c2cc54e Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2023 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 Action

type Action struct{}

type ActionAttributes

type ActionAttributes struct {
	// contains filtered or unexported fields
}

func (ActionAttributes) ActionGroup

func (a ActionAttributes) ActionGroup() terra.SetValue[terra.StringValue]

func (ActionAttributes) CustomWebhookPayload

func (a ActionAttributes) CustomWebhookPayload() terra.StringValue

func (ActionAttributes) EmailSubject

func (a ActionAttributes) EmailSubject() terra.StringValue

func (ActionAttributes) InternalRef

func (a ActionAttributes) InternalRef() (terra.Reference, error)

func (ActionAttributes) InternalTokens

func (a ActionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ActionAttributes) InternalWithRef

func (a ActionAttributes) InternalWithRef(ref terra.Reference) ActionAttributes

type ActionState

type ActionState struct {
	ActionGroup          []string `json:"action_group"`
	CustomWebhookPayload string   `json:"custom_webhook_payload"`
	EmailSubject         string   `json:"email_subject"`
}

type MetricTrigger

type MetricTrigger struct{}

type MetricTriggerAttributes

type MetricTriggerAttributes struct {
	// contains filtered or unexported fields
}

func (MetricTriggerAttributes) InternalRef

func (mt MetricTriggerAttributes) InternalRef() (terra.Reference, error)

func (MetricTriggerAttributes) InternalTokens

func (mt MetricTriggerAttributes) InternalTokens() (hclwrite.Tokens, error)

func (MetricTriggerAttributes) InternalWithRef

func (MetricTriggerAttributes) MetricColumn

func (mt MetricTriggerAttributes) MetricColumn() terra.StringValue

func (MetricTriggerAttributes) MetricTriggerType

func (mt MetricTriggerAttributes) MetricTriggerType() terra.StringValue

func (MetricTriggerAttributes) Operator

func (MetricTriggerAttributes) Threshold

func (mt MetricTriggerAttributes) Threshold() terra.NumberValue

type MetricTriggerState

type MetricTriggerState struct {
	MetricColumn      string  `json:"metric_column"`
	MetricTriggerType string  `json:"metric_trigger_type"`
	Operator          string  `json:"operator"`
	Threshold         float64 `json:"threshold"`
}

type Timeouts

type Timeouts struct {
	// Read: string, optional
	Read terra.StringValue `hcl:"read,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

func (TimeoutsAttributes) Read

type TimeoutsState

type TimeoutsState struct {
	Read string `json:"read"`
}

type Trigger

type Trigger struct {
	// MetricTrigger: min=0
	MetricTrigger []MetricTrigger `hcl:"metric_trigger,block" validate:"min=0"`
}

type TriggerAttributes

type TriggerAttributes struct {
	// contains filtered or unexported fields
}

func (TriggerAttributes) InternalRef

func (t TriggerAttributes) InternalRef() (terra.Reference, error)

func (TriggerAttributes) InternalTokens

func (t TriggerAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TriggerAttributes) InternalWithRef

func (t TriggerAttributes) InternalWithRef(ref terra.Reference) TriggerAttributes

func (TriggerAttributes) MetricTrigger

func (TriggerAttributes) Operator

func (t TriggerAttributes) Operator() terra.StringValue

func (TriggerAttributes) Threshold

func (t TriggerAttributes) Threshold() terra.NumberValue

type TriggerState

type TriggerState struct {
	Operator      string               `json:"operator"`
	Threshold     float64              `json:"threshold"`
	MetricTrigger []MetricTriggerState `json:"metric_trigger"`
}

Jump to

Keyboard shortcuts

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