processgroups

package
v1.58.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Methods = struct {
	MinimumThreshold Method
	Off              Method
	ProcessImpact    Method
}{
	"MINIMUM_THRESHOLD",
	"OFF",
	"PROCESS_IMPACT",
}

Methods offers the known enum values

Functions

This section is empty.

Types

type AnomalyDetection

type AnomalyDetection struct {
	ProcessGroupId         string                  `json:"-"`                                // The ID of the process group
	AvailabilityMonitoring *AvailabilityMonitoring `json:"availabilityMonitoring,omitempty"` // Configuration of the availability monitoring for the process group.
}

AnomalyDetection Configuration of anomaly detection for the process group.

func (*AnomalyDetection) Deprecated added in v1.36.0

func (me *AnomalyDetection) Deprecated() string

func (*AnomalyDetection) MarshalHCL

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

func (*AnomalyDetection) Name

func (me *AnomalyDetection) Name() string

func (*AnomalyDetection) Schema

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

func (*AnomalyDetection) UnmarshalHCL

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

type AvailabilityMonitoring

type AvailabilityMonitoring struct {
	Method           Method `json:"method"`                     // How to monitor the availability of the process group:  * `PROCESS_IMPACT`: Alert if any process of the group becomes unavailable.  * `MINIMUM_THRESHOLD`: Alert if the number of active processes in the group falls below the specified threshold.  * `OFF`: Availability monitoring is disabled.
	MinimumThreshold *int32 `json:"minimumThreshold,omitempty"` // Alert if the number of active processes in the group is lower than this value.
}

AvailabilityMonitoringPG Configuration of the availability monitoring for the process group.

func (*AvailabilityMonitoring) MarshalHCL

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

func (*AvailabilityMonitoring) Schema

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

func (*AvailabilityMonitoring) UnmarshalHCL

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

type Method

type Method string

Method How to monitor the availability of the process group: * `PROCESS_IMPACT`: Alert if any process of the group becomes unavailable. * `MINIMUM_THRESHOLD`: Alert if the number of active processes in the group falls below the specified threshold. * `OFF`: Availability monitoring is disabled.

Jump to

Keyboard shortcuts

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