|
| 1 | +// Generated from Databricks Terraform provider schema. DO NOT EDIT. |
| 2 | + |
| 3 | +package schema |
| 4 | + |
| 5 | +type DataSourceAlertsV2ResultsEvaluationNotificationSubscriptions struct { |
| 6 | + DestinationId string `json:"destination_id,omitempty"` |
| 7 | + UserEmail string `json:"user_email,omitempty"` |
| 8 | +} |
| 9 | + |
| 10 | +type DataSourceAlertsV2ResultsEvaluationNotification struct { |
| 11 | + NotifyOnOk bool `json:"notify_on_ok,omitempty"` |
| 12 | + RetriggerSeconds int `json:"retrigger_seconds,omitempty"` |
| 13 | + Subscriptions []DataSourceAlertsV2ResultsEvaluationNotificationSubscriptions `json:"subscriptions,omitempty"` |
| 14 | +} |
| 15 | + |
| 16 | +type DataSourceAlertsV2ResultsEvaluationSource struct { |
| 17 | + Aggregation string `json:"aggregation,omitempty"` |
| 18 | + Display string `json:"display,omitempty"` |
| 19 | + Name string `json:"name,omitempty"` |
| 20 | +} |
| 21 | + |
| 22 | +type DataSourceAlertsV2ResultsEvaluationThresholdColumn struct { |
| 23 | + Aggregation string `json:"aggregation,omitempty"` |
| 24 | + Display string `json:"display,omitempty"` |
| 25 | + Name string `json:"name,omitempty"` |
| 26 | +} |
| 27 | + |
| 28 | +type DataSourceAlertsV2ResultsEvaluationThresholdValue struct { |
| 29 | + BoolValue bool `json:"bool_value,omitempty"` |
| 30 | + DoubleValue int `json:"double_value,omitempty"` |
| 31 | + StringValue string `json:"string_value,omitempty"` |
| 32 | +} |
| 33 | + |
| 34 | +type DataSourceAlertsV2ResultsEvaluationThreshold struct { |
| 35 | + Column *DataSourceAlertsV2ResultsEvaluationThresholdColumn `json:"column,omitempty"` |
| 36 | + Value *DataSourceAlertsV2ResultsEvaluationThresholdValue `json:"value,omitempty"` |
| 37 | +} |
| 38 | + |
| 39 | +type DataSourceAlertsV2ResultsEvaluation struct { |
| 40 | + ComparisonOperator string `json:"comparison_operator,omitempty"` |
| 41 | + EmptyResultState string `json:"empty_result_state,omitempty"` |
| 42 | + LastEvaluatedAt string `json:"last_evaluated_at,omitempty"` |
| 43 | + Notification *DataSourceAlertsV2ResultsEvaluationNotification `json:"notification,omitempty"` |
| 44 | + Source *DataSourceAlertsV2ResultsEvaluationSource `json:"source,omitempty"` |
| 45 | + State string `json:"state,omitempty"` |
| 46 | + Threshold *DataSourceAlertsV2ResultsEvaluationThreshold `json:"threshold,omitempty"` |
| 47 | +} |
| 48 | + |
| 49 | +type DataSourceAlertsV2ResultsSchedule struct { |
| 50 | + PauseStatus string `json:"pause_status,omitempty"` |
| 51 | + QuartzCronSchedule string `json:"quartz_cron_schedule,omitempty"` |
| 52 | + TimezoneId string `json:"timezone_id,omitempty"` |
| 53 | +} |
| 54 | + |
| 55 | +type DataSourceAlertsV2Results struct { |
| 56 | + CreateTime string `json:"create_time,omitempty"` |
| 57 | + CustomDescription string `json:"custom_description,omitempty"` |
| 58 | + CustomSummary string `json:"custom_summary,omitempty"` |
| 59 | + DisplayName string `json:"display_name,omitempty"` |
| 60 | + Evaluation *DataSourceAlertsV2ResultsEvaluation `json:"evaluation,omitempty"` |
| 61 | + Id string `json:"id,omitempty"` |
| 62 | + LifecycleState string `json:"lifecycle_state,omitempty"` |
| 63 | + OwnerUserName string `json:"owner_user_name,omitempty"` |
| 64 | + ParentPath string `json:"parent_path,omitempty"` |
| 65 | + QueryText string `json:"query_text,omitempty"` |
| 66 | + RunAsUserName string `json:"run_as_user_name,omitempty"` |
| 67 | + Schedule *DataSourceAlertsV2ResultsSchedule `json:"schedule,omitempty"` |
| 68 | + UpdateTime string `json:"update_time,omitempty"` |
| 69 | + WarehouseId string `json:"warehouse_id,omitempty"` |
| 70 | +} |
| 71 | + |
| 72 | +type DataSourceAlertsV2 struct { |
| 73 | + Results []DataSourceAlertsV2Results `json:"results,omitempty"` |
| 74 | +} |
0 commit comments