github.com/databricks/cli@v0.203.0/bundle/internal/tf/schema/resource_sql_widget.go (about)

     1  // Generated from Databricks Terraform provider schema. DO NOT EDIT.
     2  
     3  package schema
     4  
     5  type ResourceSqlWidgetParameter struct {
     6  	MapTo  string   `json:"map_to,omitempty"`
     7  	Name   string   `json:"name"`
     8  	Title  string   `json:"title,omitempty"`
     9  	Type   string   `json:"type"`
    10  	Value  string   `json:"value,omitempty"`
    11  	Values []string `json:"values,omitempty"`
    12  }
    13  
    14  type ResourceSqlWidgetPosition struct {
    15  	AutoHeight bool `json:"auto_height,omitempty"`
    16  	PosX       int  `json:"pos_x,omitempty"`
    17  	PosY       int  `json:"pos_y,omitempty"`
    18  	SizeX      int  `json:"size_x"`
    19  	SizeY      int  `json:"size_y"`
    20  }
    21  
    22  type ResourceSqlWidget struct {
    23  	DashboardId     string                       `json:"dashboard_id"`
    24  	Description     string                       `json:"description,omitempty"`
    25  	Id              string                       `json:"id,omitempty"`
    26  	Text            string                       `json:"text,omitempty"`
    27  	Title           string                       `json:"title,omitempty"`
    28  	VisualizationId string                       `json:"visualization_id,omitempty"`
    29  	WidgetId        string                       `json:"widget_id,omitempty"`
    30  	Parameter       []ResourceSqlWidgetParameter `json:"parameter,omitempty"`
    31  	Position        *ResourceSqlWidgetPosition   `json:"position,omitempty"`
    32  }