2022-12-06 15:26:19 +00:00
|
|
|
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
|
|
|
|
|
|
|
|
package schema
|
|
|
|
|
|
|
|
type ResourceSqlQueryParameterDate struct {
|
|
|
|
Value string `json:"value"`
|
|
|
|
}
|
|
|
|
|
2023-03-20 16:22:55 +00:00
|
|
|
type ResourceSqlQueryParameterDateRangeRange struct {
|
|
|
|
End string `json:"end"`
|
|
|
|
Start string `json:"start"`
|
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourceSqlQueryParameterDateRange struct {
|
2023-03-20 16:22:55 +00:00
|
|
|
Value string `json:"value,omitempty"`
|
|
|
|
Range *ResourceSqlQueryParameterDateRangeRange `json:"range,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceSqlQueryParameterDatetime struct {
|
|
|
|
Value string `json:"value"`
|
|
|
|
}
|
|
|
|
|
2023-03-20 16:22:55 +00:00
|
|
|
type ResourceSqlQueryParameterDatetimeRangeRange struct {
|
|
|
|
End string `json:"end"`
|
|
|
|
Start string `json:"start"`
|
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourceSqlQueryParameterDatetimeRange struct {
|
2023-03-20 16:22:55 +00:00
|
|
|
Value string `json:"value,omitempty"`
|
|
|
|
Range *ResourceSqlQueryParameterDatetimeRangeRange `json:"range,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceSqlQueryParameterDatetimesec struct {
|
|
|
|
Value string `json:"value"`
|
|
|
|
}
|
|
|
|
|
2023-03-20 16:22:55 +00:00
|
|
|
type ResourceSqlQueryParameterDatetimesecRangeRange struct {
|
|
|
|
End string `json:"end"`
|
|
|
|
Start string `json:"start"`
|
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourceSqlQueryParameterDatetimesecRange struct {
|
2023-03-20 16:22:55 +00:00
|
|
|
Value string `json:"value,omitempty"`
|
|
|
|
Range *ResourceSqlQueryParameterDatetimesecRangeRange `json:"range,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceSqlQueryParameterEnumMultiple struct {
|
2023-12-11 21:53:21 +00:00
|
|
|
Prefix string `json:"prefix,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
Separator string `json:"separator"`
|
2023-12-11 21:53:21 +00:00
|
|
|
Suffix string `json:"suffix,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceSqlQueryParameterEnum struct {
|
|
|
|
Options []string `json:"options"`
|
|
|
|
Value string `json:"value,omitempty"`
|
|
|
|
Values []string `json:"values,omitempty"`
|
|
|
|
Multiple *ResourceSqlQueryParameterEnumMultiple `json:"multiple,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceSqlQueryParameterNumber struct {
|
|
|
|
Value int `json:"value"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceSqlQueryParameterQueryMultiple struct {
|
2023-12-11 21:53:21 +00:00
|
|
|
Prefix string `json:"prefix,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
Separator string `json:"separator"`
|
2023-12-11 21:53:21 +00:00
|
|
|
Suffix string `json:"suffix,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceSqlQueryParameterQuery struct {
|
|
|
|
QueryId string `json:"query_id"`
|
|
|
|
Value string `json:"value,omitempty"`
|
|
|
|
Values []string `json:"values,omitempty"`
|
|
|
|
Multiple *ResourceSqlQueryParameterQueryMultiple `json:"multiple,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceSqlQueryParameterText struct {
|
|
|
|
Value string `json:"value"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceSqlQueryParameter struct {
|
|
|
|
Name string `json:"name"`
|
|
|
|
Title string `json:"title,omitempty"`
|
|
|
|
Date *ResourceSqlQueryParameterDate `json:"date,omitempty"`
|
|
|
|
DateRange *ResourceSqlQueryParameterDateRange `json:"date_range,omitempty"`
|
|
|
|
Datetime *ResourceSqlQueryParameterDatetime `json:"datetime,omitempty"`
|
|
|
|
DatetimeRange *ResourceSqlQueryParameterDatetimeRange `json:"datetime_range,omitempty"`
|
|
|
|
Datetimesec *ResourceSqlQueryParameterDatetimesec `json:"datetimesec,omitempty"`
|
|
|
|
DatetimesecRange *ResourceSqlQueryParameterDatetimesecRange `json:"datetimesec_range,omitempty"`
|
|
|
|
Enum *ResourceSqlQueryParameterEnum `json:"enum,omitempty"`
|
|
|
|
Number *ResourceSqlQueryParameterNumber `json:"number,omitempty"`
|
|
|
|
Query *ResourceSqlQueryParameterQuery `json:"query,omitempty"`
|
|
|
|
Text *ResourceSqlQueryParameterText `json:"text,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceSqlQueryScheduleContinuous struct {
|
|
|
|
IntervalSeconds int `json:"interval_seconds"`
|
|
|
|
UntilDate string `json:"until_date,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceSqlQueryScheduleDaily struct {
|
|
|
|
IntervalDays int `json:"interval_days"`
|
|
|
|
TimeOfDay string `json:"time_of_day"`
|
|
|
|
UntilDate string `json:"until_date,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceSqlQueryScheduleWeekly struct {
|
|
|
|
DayOfWeek string `json:"day_of_week"`
|
|
|
|
IntervalWeeks int `json:"interval_weeks"`
|
|
|
|
TimeOfDay string `json:"time_of_day"`
|
|
|
|
UntilDate string `json:"until_date,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceSqlQuerySchedule struct {
|
|
|
|
Continuous *ResourceSqlQueryScheduleContinuous `json:"continuous,omitempty"`
|
|
|
|
Daily *ResourceSqlQueryScheduleDaily `json:"daily,omitempty"`
|
|
|
|
Weekly *ResourceSqlQueryScheduleWeekly `json:"weekly,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourceSqlQuery struct {
|
2023-10-16 12:52:16 +00:00
|
|
|
CreatedAt string `json:"created_at,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
DataSourceId string `json:"data_source_id"`
|
|
|
|
Description string `json:"description,omitempty"`
|
|
|
|
Id string `json:"id,omitempty"`
|
|
|
|
Name string `json:"name"`
|
2023-03-20 16:22:55 +00:00
|
|
|
Parent string `json:"parent,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
Query string `json:"query"`
|
|
|
|
RunAsRole string `json:"run_as_role,omitempty"`
|
|
|
|
Tags []string `json:"tags,omitempty"`
|
2023-10-16 12:52:16 +00:00
|
|
|
UpdatedAt string `json:"updated_at,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
Parameter []ResourceSqlQueryParameter `json:"parameter,omitempty"`
|
|
|
|
Schedule *ResourceSqlQuerySchedule `json:"schedule,omitempty"`
|
|
|
|
}
|