-
Notifications
You must be signed in to change notification settings - Fork 165
Expand file tree
/
Copy pathdata_source_alert_v2.go
More file actions
84 lines (72 loc) · 4.22 KB
/
data_source_alert_v2.go
File metadata and controls
84 lines (72 loc) · 4.22 KB
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
package schema
type DataSourceAlertV2EffectiveRunAs struct {
ServicePrincipalName string `json:"service_principal_name,omitempty"`
UserName string `json:"user_name,omitempty"`
}
type DataSourceAlertV2EvaluationNotificationSubscriptions struct {
DestinationId string `json:"destination_id,omitempty"`
UserEmail string `json:"user_email,omitempty"`
}
type DataSourceAlertV2EvaluationNotification struct {
EffectiveNotifyOnOk bool `json:"effective_notify_on_ok,omitempty"`
EffectiveRetriggerSeconds int `json:"effective_retrigger_seconds,omitempty"`
NotifyOnOk bool `json:"notify_on_ok,omitempty"`
RetriggerSeconds int `json:"retrigger_seconds,omitempty"`
Subscriptions []DataSourceAlertV2EvaluationNotificationSubscriptions `json:"subscriptions,omitempty"`
}
type DataSourceAlertV2EvaluationSource struct {
Aggregation string `json:"aggregation,omitempty"`
Display string `json:"display,omitempty"`
Name string `json:"name"`
}
type DataSourceAlertV2EvaluationThresholdColumn struct {
Aggregation string `json:"aggregation,omitempty"`
Display string `json:"display,omitempty"`
Name string `json:"name"`
}
type DataSourceAlertV2EvaluationThresholdValue struct {
BoolValue bool `json:"bool_value,omitempty"`
DoubleValue int `json:"double_value,omitempty"`
StringValue string `json:"string_value,omitempty"`
}
type DataSourceAlertV2EvaluationThreshold struct {
Column *DataSourceAlertV2EvaluationThresholdColumn `json:"column,omitempty"`
Value *DataSourceAlertV2EvaluationThresholdValue `json:"value,omitempty"`
}
type DataSourceAlertV2Evaluation struct {
ComparisonOperator string `json:"comparison_operator"`
EmptyResultState string `json:"empty_result_state,omitempty"`
LastEvaluatedAt string `json:"last_evaluated_at,omitempty"`
Notification *DataSourceAlertV2EvaluationNotification `json:"notification,omitempty"`
Source *DataSourceAlertV2EvaluationSource `json:"source,omitempty"`
State string `json:"state,omitempty"`
Threshold *DataSourceAlertV2EvaluationThreshold `json:"threshold,omitempty"`
}
type DataSourceAlertV2RunAs struct {
ServicePrincipalName string `json:"service_principal_name,omitempty"`
UserName string `json:"user_name,omitempty"`
}
type DataSourceAlertV2Schedule struct {
PauseStatus string `json:"pause_status,omitempty"`
QuartzCronSchedule string `json:"quartz_cron_schedule"`
TimezoneId string `json:"timezone_id"`
}
type DataSourceAlertV2 struct {
CreateTime string `json:"create_time,omitempty"`
CustomDescription string `json:"custom_description,omitempty"`
CustomSummary string `json:"custom_summary,omitempty"`
DisplayName string `json:"display_name,omitempty"`
EffectiveRunAs *DataSourceAlertV2EffectiveRunAs `json:"effective_run_as,omitempty"`
Evaluation *DataSourceAlertV2Evaluation `json:"evaluation,omitempty"`
Id string `json:"id"`
LifecycleState string `json:"lifecycle_state,omitempty"`
OwnerUserName string `json:"owner_user_name,omitempty"`
ParentPath string `json:"parent_path,omitempty"`
QueryText string `json:"query_text,omitempty"`
RunAs *DataSourceAlertV2RunAs `json:"run_as,omitempty"`
RunAsUserName string `json:"run_as_user_name,omitempty"`
Schedule *DataSourceAlertV2Schedule `json:"schedule,omitempty"`
UpdateTime string `json:"update_time,omitempty"`
WarehouseId string `json:"warehouse_id,omitempty"`
}