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

     1  // Generated from Databricks Terraform provider schema. DO NOT EDIT.
     2  
     3  package schema
     4  
     5  type DataSourceSqlWarehouseChannel struct {
     6  	Name string `json:"name,omitempty"`
     7  }
     8  
     9  type DataSourceSqlWarehouseOdbcParams struct {
    10  	Host     string `json:"host,omitempty"`
    11  	Hostname string `json:"hostname,omitempty"`
    12  	Path     string `json:"path"`
    13  	Port     int    `json:"port"`
    14  	Protocol string `json:"protocol"`
    15  }
    16  
    17  type DataSourceSqlWarehouseTagsCustomTags struct {
    18  	Key   string `json:"key"`
    19  	Value string `json:"value"`
    20  }
    21  
    22  type DataSourceSqlWarehouseTags struct {
    23  	CustomTags []DataSourceSqlWarehouseTagsCustomTags `json:"custom_tags,omitempty"`
    24  }
    25  
    26  type DataSourceSqlWarehouse struct {
    27  	AutoStopMins            int                               `json:"auto_stop_mins,omitempty"`
    28  	ClusterSize             string                            `json:"cluster_size,omitempty"`
    29  	DataSourceId            string                            `json:"data_source_id,omitempty"`
    30  	EnablePhoton            bool                              `json:"enable_photon,omitempty"`
    31  	EnableServerlessCompute bool                              `json:"enable_serverless_compute,omitempty"`
    32  	Id                      string                            `json:"id,omitempty"`
    33  	InstanceProfileArn      string                            `json:"instance_profile_arn,omitempty"`
    34  	JdbcUrl                 string                            `json:"jdbc_url,omitempty"`
    35  	MaxNumClusters          int                               `json:"max_num_clusters,omitempty"`
    36  	MinNumClusters          int                               `json:"min_num_clusters,omitempty"`
    37  	Name                    string                            `json:"name,omitempty"`
    38  	NumClusters             int                               `json:"num_clusters,omitempty"`
    39  	SpotInstancePolicy      string                            `json:"spot_instance_policy,omitempty"`
    40  	State                   string                            `json:"state,omitempty"`
    41  	Channel                 *DataSourceSqlWarehouseChannel    `json:"channel,omitempty"`
    42  	OdbcParams              *DataSourceSqlWarehouseOdbcParams `json:"odbc_params,omitempty"`
    43  	Tags                    *DataSourceSqlWarehouseTags       `json:"tags,omitempty"`
    44  }