Skip to content

Commit 5ce14a6

Browse files
committed
Add more properties to databricks_sql_endpoint
1 parent df2f571 commit 5ce14a6

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

sqlanalytics/resource_sql_endpoint.go

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,21 @@ var (
2121

2222
// SQLEndpoint ...
2323
type SQLEndpoint struct {
24-
ID string `json:"id,omitempty" tf:"computed"`
25-
Name string `json:"name"`
26-
ClusterSize string `json:"cluster_size"`
27-
AutoStopMinutes int `json:"auto_stop_mins,omitempty"`
28-
MinNumClusters int `json:"min_num_clusters,omitempty"`
29-
MaxNumClusters int `json:"max_num_clusters,omitempty"`
30-
NumClusters int `json:"num_clusters,omitempty"`
31-
EnablePhoton bool `json:"enable_photon,omitempty"`
32-
InstanceProfileARN string `json:"instance_profile_arn,omitempty"`
33-
State string `json:"state,omitempty" tf:"computed"`
34-
JdbcURL string `json:"jdbc_url,omitempty" tf:"computed"`
35-
OdbcParams *OdbcParams `json:"odbc_params,omitempty" tf:"computed"`
36-
Tags *Tags `json:"tags,omitempty"`
37-
SpotInstancePolicy string `json:"spot_instance_policy,omitempty"`
24+
ID string `json:"id,omitempty" tf:"computed"`
25+
Name string `json:"name"`
26+
ClusterSize string `json:"cluster_size"`
27+
AutoStopMinutes int `json:"auto_stop_mins,omitempty"`
28+
MinNumClusters int `json:"min_num_clusters,omitempty"`
29+
MaxNumClusters int `json:"max_num_clusters,omitempty"`
30+
NumClusters int `json:"num_clusters,omitempty"`
31+
EnablePhoton bool `json:"enable_photon,omitempty"`
32+
EnableServerlessCompute bool `json:"enable_serverless_compute,omitempty"`
33+
InstanceProfileARN string `json:"instance_profile_arn,omitempty"`
34+
State string `json:"state,omitempty" tf:"computed"`
35+
JdbcURL string `json:"jdbc_url,omitempty" tf:"computed"`
36+
OdbcParams *OdbcParams `json:"odbc_params,omitempty" tf:"computed"`
37+
Tags *Tags `json:"tags,omitempty"`
38+
SpotInstancePolicy string `json:"spot_instance_policy,omitempty"`
3839

3940
// The data source ID is not part of the endpoint API response.
4041
// We manually resolve it by retrieving the list of data sources

0 commit comments

Comments
 (0)