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

     1  // Generated from Databricks Terraform provider schema. DO NOT EDIT.
     2  
     3  package schema
     4  
     5  type ResourceSqlEndpointChannel struct {
     6  	Name string `json:"name,omitempty"`
     7  }
     8  
     9  type ResourceSqlEndpointOdbcParams 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 ResourceSqlEndpointTagsCustomTags struct {
    18  	Key   string `json:"key"`
    19  	Value string `json:"value"`
    20  }
    21  
    22  type ResourceSqlEndpointTags struct {
    23  	CustomTags []ResourceSqlEndpointTagsCustomTags `json:"custom_tags,omitempty"`
    24  }
    25  
    26  type ResourceSqlEndpoint struct {
    27  	AutoStopMins            int                            `json:"auto_stop_mins,omitempty"`
    28  	ClusterSize             string                         `json:"cluster_size"`
    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"`
    38  	NumClusters             int                            `json:"num_clusters,omitempty"`
    39  	SpotInstancePolicy      string                         `json:"spot_instance_policy,omitempty"`
    40  	State                   string                         `json:"state,omitempty"`
    41  	WarehouseType           string                         `json:"warehouse_type,omitempty"`
    42  	Channel                 *ResourceSqlEndpointChannel    `json:"channel,omitempty"`
    43  	OdbcParams              *ResourceSqlEndpointOdbcParams `json:"odbc_params,omitempty"`
    44  	Tags                    *ResourceSqlEndpointTags       `json:"tags,omitempty"`
    45  }