-
Notifications
You must be signed in to change notification settings - Fork 70
/
alert_rule.go
25 lines (18 loc) · 1.08 KB
/
alert_rule.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright 2021 VMware, Inc.
// SPDX-License-Identifier: Apache License 2.0
package models
// This file is auto-generated.
// AlertRule alert rule
// swagger:model AlertRule
type AlertRule struct {
// Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
ConnAppLogRule *AlertFilter `json:"conn_app_log_rule,omitempty"`
// Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
EventMatchFilter *string `json:"event_match_filter,omitempty"`
// Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
MetricsRule []*AlertRuleMetric `json:"metrics_rule,omitempty"`
// Enum options - OPERATOR_AND, OPERATOR_OR. Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
Operator *string `json:"operator,omitempty"`
// Allowed in Enterprise edition with any value, Essentials, Basic, Enterprise with Cloud Services edition.
SysEventRule []*AlertRuleEvent `json:"sys_event_rule,omitempty"`
}