Skip to content

Latest commit

 

History

History
77 lines (42 loc) · 4.39 KB

TriggerCondition.md

File metadata and controls

77 lines (42 loc) · 4.39 KB

TriggerCondition

Properties

Name Type Description Notes
DetectionMethod Pointer to string Detection method of the trigger condition. Valid values: 1. `StaticCondition`: A condition that triggers based off of a static threshold. 2. `LogsStaticCondition`: A logs condition that triggers based off of a static threshold. Currently LogsStaticCondition is available in closed beta (Notify your Sumo Logic representative in order to get the early access). 3. `MetricsStaticCondition`: A metrics condition that triggers based off of a static threshold. Currently MetricsStaticCondition is available in closed beta (Notify your Sumo Logic representative in order to get the early access). 4. `LogsOutlierCondition`: A logs condition that triggers based off of a dynamic outlier threshold. Currently LogsOutlierCondition is available in closed beta (Notify your Sumo Logic representative in order to get the early access). 5. `MetricsOutlierCondition`: A metrics condition that triggers based off of a dynamic outlier threshold. Currently MetricsOutlierCondition is available in closed beta (Notify your Sumo Logic representative in order to get the early access). 6. `LogsMissingDataCondition`: A logs missing data condition that triggers based off of no data available. Currently LogsMissingDataCondition is available in closed beta (Notify your Sumo Logic representative in order to get the early access). 7. `MetricsMissingDataCondition`: A metrics missing data condition that triggers based off of no data available. Currently MetricsMissingDataCondition is available in closed beta (Notify your Sumo Logic representative in order to get the early access). [optional] [default to "StaticCondition"]
TriggerType string The type of trigger condition. Valid values: 1. `Critical`: A critical condition to trigger on. 2. `Warning`: A warning condition to trigger on. 3. `MissingData`: A condition that indicates data is missing. 4. `ResolvedCritical`: A condition to resolve a Critical trigger on. 5. `ResolvedWarning`: A condition to resolve a Warning trigger on. 6. `ResolvedMissingData`: A condition to resolve a MissingData trigger.

Methods

NewTriggerCondition

func NewTriggerCondition(triggerType string, ) *TriggerCondition

NewTriggerCondition instantiates a new TriggerCondition object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewTriggerConditionWithDefaults

func NewTriggerConditionWithDefaults() *TriggerCondition

NewTriggerConditionWithDefaults instantiates a new TriggerCondition object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetDetectionMethod

func (o *TriggerCondition) GetDetectionMethod() string

GetDetectionMethod returns the DetectionMethod field if non-nil, zero value otherwise.

GetDetectionMethodOk

func (o *TriggerCondition) GetDetectionMethodOk() (*string, bool)

GetDetectionMethodOk returns a tuple with the DetectionMethod field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetDetectionMethod

func (o *TriggerCondition) SetDetectionMethod(v string)

SetDetectionMethod sets DetectionMethod field to given value.

HasDetectionMethod

func (o *TriggerCondition) HasDetectionMethod() bool

HasDetectionMethod returns a boolean if a field has been set.

GetTriggerType

func (o *TriggerCondition) GetTriggerType() string

GetTriggerType returns the TriggerType field if non-nil, zero value otherwise.

GetTriggerTypeOk

func (o *TriggerCondition) GetTriggerTypeOk() (*string, bool)

GetTriggerTypeOk returns a tuple with the TriggerType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTriggerType

func (o *TriggerCondition) SetTriggerType(v string)

SetTriggerType sets TriggerType field to given value.

[Back to Model list] [Back to API list] [Back to README]