Update Terraform provider schema structs (#265)

Generated from provider version 1.13.0.
This commit is contained in:
Pieter Noordhuis 2023-03-20 17:22:55 +01:00 committed by GitHub
parent ae09eb02d5
commit 077ab8b864
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
36 changed files with 866 additions and 371 deletions

View File

@ -12,6 +12,7 @@ type Config struct {
AzureTenantId string `json:"azure_tenant_id,omitempty"` AzureTenantId string `json:"azure_tenant_id,omitempty"`
AzureUseMsi bool `json:"azure_use_msi,omitempty"` AzureUseMsi bool `json:"azure_use_msi,omitempty"`
AzureWorkspaceResourceId string `json:"azure_workspace_resource_id,omitempty"` AzureWorkspaceResourceId string `json:"azure_workspace_resource_id,omitempty"`
BricksCliPath string `json:"bricks_cli_path,omitempty"`
ClientId string `json:"client_id,omitempty"` ClientId string `json:"client_id,omitempty"`
ClientSecret string `json:"client_secret,omitempty"` ClientSecret string `json:"client_secret,omitempty"`
ConfigFile string `json:"config_file,omitempty"` ConfigFile string `json:"config_file,omitempty"`
@ -24,8 +25,8 @@ type Config struct {
Password string `json:"password,omitempty"` Password string `json:"password,omitempty"`
Profile string `json:"profile,omitempty"` Profile string `json:"profile,omitempty"`
RateLimit int `json:"rate_limit,omitempty"` RateLimit int `json:"rate_limit,omitempty"`
RetryTimeoutSeconds int `json:"retry_timeout_seconds,omitempty"`
SkipVerify bool `json:"skip_verify,omitempty"` SkipVerify bool `json:"skip_verify,omitempty"`
Token string `json:"token,omitempty"` Token string `json:"token,omitempty"`
TokenEndpoint string `json:"token_endpoint,omitempty"`
Username string `json:"username,omitempty"` Username string `json:"username,omitempty"`
} }

View File

@ -94,10 +94,22 @@ type DataSourceClusterClusterInfoGcpAttributes struct {
ZoneId string `json:"zone_id,omitempty"` ZoneId string `json:"zone_id,omitempty"`
} }
type DataSourceClusterClusterInfoInitScriptsAbfss struct {
Destination string `json:"destination,omitempty"`
}
type DataSourceClusterClusterInfoInitScriptsDbfs struct { type DataSourceClusterClusterInfoInitScriptsDbfs struct {
Destination string `json:"destination"` Destination string `json:"destination"`
} }
type DataSourceClusterClusterInfoInitScriptsFile struct {
Destination string `json:"destination,omitempty"`
}
type DataSourceClusterClusterInfoInitScriptsGcs struct {
Destination string `json:"destination,omitempty"`
}
type DataSourceClusterClusterInfoInitScriptsS3 struct { type DataSourceClusterClusterInfoInitScriptsS3 struct {
CannedAcl string `json:"canned_acl,omitempty"` CannedAcl string `json:"canned_acl,omitempty"`
Destination string `json:"destination"` Destination string `json:"destination"`
@ -109,8 +121,11 @@ type DataSourceClusterClusterInfoInitScriptsS3 struct {
} }
type DataSourceClusterClusterInfoInitScripts struct { type DataSourceClusterClusterInfoInitScripts struct {
Dbfs *DataSourceClusterClusterInfoInitScriptsDbfs `json:"dbfs,omitempty"` Abfss *DataSourceClusterClusterInfoInitScriptsAbfss `json:"abfss,omitempty"`
S3 *DataSourceClusterClusterInfoInitScriptsS3 `json:"s3,omitempty"` Dbfs *DataSourceClusterClusterInfoInitScriptsDbfs `json:"dbfs,omitempty"`
File *DataSourceClusterClusterInfoInitScriptsFile `json:"file,omitempty"`
Gcs *DataSourceClusterClusterInfoInitScriptsGcs `json:"gcs,omitempty"`
S3 *DataSourceClusterClusterInfoInitScriptsS3 `json:"s3,omitempty"`
} }
type DataSourceClusterClusterInfoTerminationReason struct { type DataSourceClusterClusterInfoTerminationReason struct {
@ -166,7 +181,8 @@ type DataSourceClusterClusterInfo struct {
} }
type DataSourceCluster struct { type DataSourceCluster struct {
ClusterId string `json:"cluster_id"` ClusterId string `json:"cluster_id,omitempty"`
ClusterName string `json:"cluster_name,omitempty"`
Id string `json:"id,omitempty"` Id string `json:"id,omitempty"`
ClusterInfo *DataSourceClusterClusterInfo `json:"cluster_info,omitempty"` ClusterInfo *DataSourceClusterClusterInfo `json:"cluster_info,omitempty"`
} }

View File

@ -0,0 +1,10 @@
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
package schema
type DataSourceClusterPolicy struct {
Definition string `json:"definition,omitempty"`
Id string `json:"id,omitempty"`
MaxClustersPerUser int `json:"max_clusters_per_user,omitempty"`
Name string `json:"name"`
}

View File

@ -0,0 +1,9 @@
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
package schema
type DataSourceDirectory struct {
Id string `json:"id,omitempty"`
ObjectId int `json:"object_id,omitempty"`
Path string `json:"path"`
}

View File

@ -0,0 +1,94 @@
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
package schema
type DataSourceInstancePoolPoolInfoAwsAttributes struct {
Availability string `json:"availability,omitempty"`
SpotBidPricePercent int `json:"spot_bid_price_percent,omitempty"`
ZoneId string `json:"zone_id,omitempty"`
}
type DataSourceInstancePoolPoolInfoAzureAttributes struct {
Availability string `json:"availability,omitempty"`
SpotBidMaxPrice int `json:"spot_bid_max_price,omitempty"`
}
type DataSourceInstancePoolPoolInfoDiskSpecDiskType struct {
AzureDiskVolumeType string `json:"azure_disk_volume_type,omitempty"`
EbsVolumeType string `json:"ebs_volume_type,omitempty"`
}
type DataSourceInstancePoolPoolInfoDiskSpec struct {
DiskCount int `json:"disk_count,omitempty"`
DiskSize int `json:"disk_size,omitempty"`
DiskType *DataSourceInstancePoolPoolInfoDiskSpecDiskType `json:"disk_type,omitempty"`
}
type DataSourceInstancePoolPoolInfoGcpAttributes struct {
GcpAvailability string `json:"gcp_availability,omitempty"`
}
type DataSourceInstancePoolPoolInfoInstancePoolFleetAttributesFleetOnDemandOption struct {
AllocationStrategy string `json:"allocation_strategy"`
InstancePoolsToUseCount int `json:"instance_pools_to_use_count,omitempty"`
}
type DataSourceInstancePoolPoolInfoInstancePoolFleetAttributesFleetSpotOption struct {
AllocationStrategy string `json:"allocation_strategy"`
InstancePoolsToUseCount int `json:"instance_pools_to_use_count,omitempty"`
}
type DataSourceInstancePoolPoolInfoInstancePoolFleetAttributesLaunchTemplateOverride struct {
AvailabilityZone string `json:"availability_zone"`
InstanceType string `json:"instance_type"`
}
type DataSourceInstancePoolPoolInfoInstancePoolFleetAttributes struct {
FleetOnDemandOption *DataSourceInstancePoolPoolInfoInstancePoolFleetAttributesFleetOnDemandOption `json:"fleet_on_demand_option,omitempty"`
FleetSpotOption *DataSourceInstancePoolPoolInfoInstancePoolFleetAttributesFleetSpotOption `json:"fleet_spot_option,omitempty"`
LaunchTemplateOverride []DataSourceInstancePoolPoolInfoInstancePoolFleetAttributesLaunchTemplateOverride `json:"launch_template_override,omitempty"`
}
type DataSourceInstancePoolPoolInfoPreloadedDockerImageBasicAuth struct {
Password string `json:"password"`
Username string `json:"username"`
}
type DataSourceInstancePoolPoolInfoPreloadedDockerImage struct {
Url string `json:"url"`
BasicAuth *DataSourceInstancePoolPoolInfoPreloadedDockerImageBasicAuth `json:"basic_auth,omitempty"`
}
type DataSourceInstancePoolPoolInfoStats struct {
IdleCount int `json:"idle_count,omitempty"`
PendingIdleCount int `json:"pending_idle_count,omitempty"`
PendingUsedCount int `json:"pending_used_count,omitempty"`
UsedCount int `json:"used_count,omitempty"`
}
type DataSourceInstancePoolPoolInfo struct {
CustomTags map[string]string `json:"custom_tags,omitempty"`
DefaultTags map[string]string `json:"default_tags,omitempty"`
EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"`
IdleInstanceAutoterminationMinutes int `json:"idle_instance_autotermination_minutes"`
InstancePoolId string `json:"instance_pool_id,omitempty"`
InstancePoolName string `json:"instance_pool_name"`
MaxCapacity int `json:"max_capacity,omitempty"`
MinIdleInstances int `json:"min_idle_instances,omitempty"`
NodeTypeId string `json:"node_type_id,omitempty"`
PreloadedSparkVersions []string `json:"preloaded_spark_versions,omitempty"`
State string `json:"state,omitempty"`
AwsAttributes *DataSourceInstancePoolPoolInfoAwsAttributes `json:"aws_attributes,omitempty"`
AzureAttributes *DataSourceInstancePoolPoolInfoAzureAttributes `json:"azure_attributes,omitempty"`
DiskSpec *DataSourceInstancePoolPoolInfoDiskSpec `json:"disk_spec,omitempty"`
GcpAttributes *DataSourceInstancePoolPoolInfoGcpAttributes `json:"gcp_attributes,omitempty"`
InstancePoolFleetAttributes []DataSourceInstancePoolPoolInfoInstancePoolFleetAttributes `json:"instance_pool_fleet_attributes,omitempty"`
PreloadedDockerImage []DataSourceInstancePoolPoolInfoPreloadedDockerImage `json:"preloaded_docker_image,omitempty"`
Stats *DataSourceInstancePoolPoolInfoStats `json:"stats,omitempty"`
}
type DataSourceInstancePool struct {
Id string `json:"id,omitempty"`
Name string `json:"name"`
PoolInfo *DataSourceInstancePoolPoolInfo `json:"pool_info,omitempty"`
}

View File

@ -2,7 +2,12 @@
package schema package schema
type DataSourceJobJobSettingsSettingsContinuous struct {
PauseStatus string `json:"pause_status,omitempty"`
}
type DataSourceJobJobSettingsSettingsDbtTask struct { type DataSourceJobJobSettingsSettingsDbtTask struct {
Catalog string `json:"catalog,omitempty"`
Commands []string `json:"commands"` Commands []string `json:"commands"`
ProfilesDirectory string `json:"profiles_directory,omitempty"` ProfilesDirectory string `json:"profiles_directory,omitempty"`
ProjectDirectory string `json:"project_directory,omitempty"` ProjectDirectory string `json:"project_directory,omitempty"`
@ -67,6 +72,17 @@ type DataSourceJobJobSettingsSettingsJobClusterNewClusterClusterLogConf struct {
S3 *DataSourceJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 `json:"s3,omitempty"` S3 *DataSourceJobJobSettingsSettingsJobClusterNewClusterClusterLogConfS3 `json:"s3,omitempty"`
} }
type DataSourceJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo struct {
MountOptions string `json:"mount_options,omitempty"`
ServerAddress string `json:"server_address"`
}
type DataSourceJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo struct {
LocalMountDirPath string `json:"local_mount_dir_path"`
RemoteMountDirPath string `json:"remote_mount_dir_path,omitempty"`
NetworkFilesystemInfo *DataSourceJobJobSettingsSettingsJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo `json:"network_filesystem_info,omitempty"`
}
type DataSourceJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth struct { type DataSourceJobJobSettingsSettingsJobClusterNewClusterDockerImageBasicAuth struct {
Password string `json:"password"` Password string `json:"password"`
Username string `json:"username"` Username string `json:"username"`
@ -85,6 +101,10 @@ type DataSourceJobJobSettingsSettingsJobClusterNewClusterGcpAttributes struct {
ZoneId string `json:"zone_id,omitempty"` ZoneId string `json:"zone_id,omitempty"`
} }
type DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsAbfss struct {
Destination string `json:"destination,omitempty"`
}
type DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsDbfs struct { type DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsDbfs struct {
Destination string `json:"destination"` Destination string `json:"destination"`
} }
@ -108,10 +128,11 @@ type DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsS3 struct {
} }
type DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScripts struct { type DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScripts struct {
Dbfs *DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsDbfs `json:"dbfs,omitempty"` Abfss *DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsAbfss `json:"abfss,omitempty"`
File *DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsFile `json:"file,omitempty"` Dbfs *DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsDbfs `json:"dbfs,omitempty"`
Gcs *DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsGcs `json:"gcs,omitempty"` File *DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsFile `json:"file,omitempty"`
S3 *DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsS3 `json:"s3,omitempty"` Gcs *DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsGcs `json:"gcs,omitempty"`
S3 *DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsS3 `json:"s3,omitempty"`
} }
type DataSourceJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients struct { type DataSourceJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients struct {
@ -124,35 +145,36 @@ type DataSourceJobJobSettingsSettingsJobClusterNewClusterWorkloadType struct {
} }
type DataSourceJobJobSettingsSettingsJobClusterNewCluster struct { type DataSourceJobJobSettingsSettingsJobClusterNewCluster struct {
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"` ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"` AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
ClusterId string `json:"cluster_id,omitempty"` ClusterId string `json:"cluster_id,omitempty"`
ClusterName string `json:"cluster_name,omitempty"` ClusterName string `json:"cluster_name,omitempty"`
CustomTags map[string]string `json:"custom_tags,omitempty"` CustomTags map[string]string `json:"custom_tags,omitempty"`
DataSecurityMode string `json:"data_security_mode,omitempty"` DataSecurityMode string `json:"data_security_mode,omitempty"`
DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"` DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"`
DriverNodeTypeId string `json:"driver_node_type_id,omitempty"` DriverNodeTypeId string `json:"driver_node_type_id,omitempty"`
EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"` EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"`
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"` EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
IdempotencyToken string `json:"idempotency_token,omitempty"` IdempotencyToken string `json:"idempotency_token,omitempty"`
InstancePoolId string `json:"instance_pool_id,omitempty"` InstancePoolId string `json:"instance_pool_id,omitempty"`
NodeTypeId string `json:"node_type_id,omitempty"` NodeTypeId string `json:"node_type_id,omitempty"`
NumWorkers int `json:"num_workers"` NumWorkers int `json:"num_workers"`
PolicyId string `json:"policy_id,omitempty"` PolicyId string `json:"policy_id,omitempty"`
RuntimeEngine string `json:"runtime_engine,omitempty"` RuntimeEngine string `json:"runtime_engine,omitempty"`
SingleUserName string `json:"single_user_name,omitempty"` SingleUserName string `json:"single_user_name,omitempty"`
SparkConf map[string]string `json:"spark_conf,omitempty"` SparkConf map[string]string `json:"spark_conf,omitempty"`
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"` SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
SparkVersion string `json:"spark_version"` SparkVersion string `json:"spark_version"`
SshPublicKeys []string `json:"ssh_public_keys,omitempty"` SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
Autoscale *DataSourceJobJobSettingsSettingsJobClusterNewClusterAutoscale `json:"autoscale,omitempty"` Autoscale *DataSourceJobJobSettingsSettingsJobClusterNewClusterAutoscale `json:"autoscale,omitempty"`
AwsAttributes *DataSourceJobJobSettingsSettingsJobClusterNewClusterAwsAttributes `json:"aws_attributes,omitempty"` AwsAttributes *DataSourceJobJobSettingsSettingsJobClusterNewClusterAwsAttributes `json:"aws_attributes,omitempty"`
AzureAttributes *DataSourceJobJobSettingsSettingsJobClusterNewClusterAzureAttributes `json:"azure_attributes,omitempty"` AzureAttributes *DataSourceJobJobSettingsSettingsJobClusterNewClusterAzureAttributes `json:"azure_attributes,omitempty"`
ClusterLogConf *DataSourceJobJobSettingsSettingsJobClusterNewClusterClusterLogConf `json:"cluster_log_conf,omitempty"` ClusterLogConf *DataSourceJobJobSettingsSettingsJobClusterNewClusterClusterLogConf `json:"cluster_log_conf,omitempty"`
DockerImage *DataSourceJobJobSettingsSettingsJobClusterNewClusterDockerImage `json:"docker_image,omitempty"` ClusterMountInfo []DataSourceJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo `json:"cluster_mount_info,omitempty"`
GcpAttributes *DataSourceJobJobSettingsSettingsJobClusterNewClusterGcpAttributes `json:"gcp_attributes,omitempty"` DockerImage *DataSourceJobJobSettingsSettingsJobClusterNewClusterDockerImage `json:"docker_image,omitempty"`
InitScripts []DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScripts `json:"init_scripts,omitempty"` GcpAttributes *DataSourceJobJobSettingsSettingsJobClusterNewClusterGcpAttributes `json:"gcp_attributes,omitempty"`
WorkloadType *DataSourceJobJobSettingsSettingsJobClusterNewClusterWorkloadType `json:"workload_type,omitempty"` InitScripts []DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScripts `json:"init_scripts,omitempty"`
WorkloadType *DataSourceJobJobSettingsSettingsJobClusterNewClusterWorkloadType `json:"workload_type,omitempty"`
} }
type DataSourceJobJobSettingsSettingsJobCluster struct { type DataSourceJobJobSettingsSettingsJobCluster struct {
@ -226,6 +248,17 @@ type DataSourceJobJobSettingsSettingsNewClusterClusterLogConf struct {
S3 *DataSourceJobJobSettingsSettingsNewClusterClusterLogConfS3 `json:"s3,omitempty"` S3 *DataSourceJobJobSettingsSettingsNewClusterClusterLogConfS3 `json:"s3,omitempty"`
} }
type DataSourceJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo struct {
MountOptions string `json:"mount_options,omitempty"`
ServerAddress string `json:"server_address"`
}
type DataSourceJobJobSettingsSettingsNewClusterClusterMountInfo struct {
LocalMountDirPath string `json:"local_mount_dir_path"`
RemoteMountDirPath string `json:"remote_mount_dir_path,omitempty"`
NetworkFilesystemInfo *DataSourceJobJobSettingsSettingsNewClusterClusterMountInfoNetworkFilesystemInfo `json:"network_filesystem_info,omitempty"`
}
type DataSourceJobJobSettingsSettingsNewClusterDockerImageBasicAuth struct { type DataSourceJobJobSettingsSettingsNewClusterDockerImageBasicAuth struct {
Password string `json:"password"` Password string `json:"password"`
Username string `json:"username"` Username string `json:"username"`
@ -244,6 +277,10 @@ type DataSourceJobJobSettingsSettingsNewClusterGcpAttributes struct {
ZoneId string `json:"zone_id,omitempty"` ZoneId string `json:"zone_id,omitempty"`
} }
type DataSourceJobJobSettingsSettingsNewClusterInitScriptsAbfss struct {
Destination string `json:"destination,omitempty"`
}
type DataSourceJobJobSettingsSettingsNewClusterInitScriptsDbfs struct { type DataSourceJobJobSettingsSettingsNewClusterInitScriptsDbfs struct {
Destination string `json:"destination"` Destination string `json:"destination"`
} }
@ -267,10 +304,11 @@ type DataSourceJobJobSettingsSettingsNewClusterInitScriptsS3 struct {
} }
type DataSourceJobJobSettingsSettingsNewClusterInitScripts struct { type DataSourceJobJobSettingsSettingsNewClusterInitScripts struct {
Dbfs *DataSourceJobJobSettingsSettingsNewClusterInitScriptsDbfs `json:"dbfs,omitempty"` Abfss *DataSourceJobJobSettingsSettingsNewClusterInitScriptsAbfss `json:"abfss,omitempty"`
File *DataSourceJobJobSettingsSettingsNewClusterInitScriptsFile `json:"file,omitempty"` Dbfs *DataSourceJobJobSettingsSettingsNewClusterInitScriptsDbfs `json:"dbfs,omitempty"`
Gcs *DataSourceJobJobSettingsSettingsNewClusterInitScriptsGcs `json:"gcs,omitempty"` File *DataSourceJobJobSettingsSettingsNewClusterInitScriptsFile `json:"file,omitempty"`
S3 *DataSourceJobJobSettingsSettingsNewClusterInitScriptsS3 `json:"s3,omitempty"` Gcs *DataSourceJobJobSettingsSettingsNewClusterInitScriptsGcs `json:"gcs,omitempty"`
S3 *DataSourceJobJobSettingsSettingsNewClusterInitScriptsS3 `json:"s3,omitempty"`
} }
type DataSourceJobJobSettingsSettingsNewClusterWorkloadTypeClients struct { type DataSourceJobJobSettingsSettingsNewClusterWorkloadTypeClients struct {
@ -283,40 +321,42 @@ type DataSourceJobJobSettingsSettingsNewClusterWorkloadType struct {
} }
type DataSourceJobJobSettingsSettingsNewCluster struct { type DataSourceJobJobSettingsSettingsNewCluster struct {
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"` ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"` AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
ClusterId string `json:"cluster_id,omitempty"` ClusterId string `json:"cluster_id,omitempty"`
ClusterName string `json:"cluster_name,omitempty"` ClusterName string `json:"cluster_name,omitempty"`
CustomTags map[string]string `json:"custom_tags,omitempty"` CustomTags map[string]string `json:"custom_tags,omitempty"`
DataSecurityMode string `json:"data_security_mode,omitempty"` DataSecurityMode string `json:"data_security_mode,omitempty"`
DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"` DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"`
DriverNodeTypeId string `json:"driver_node_type_id,omitempty"` DriverNodeTypeId string `json:"driver_node_type_id,omitempty"`
EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"` EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"`
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"` EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
IdempotencyToken string `json:"idempotency_token,omitempty"` IdempotencyToken string `json:"idempotency_token,omitempty"`
InstancePoolId string `json:"instance_pool_id,omitempty"` InstancePoolId string `json:"instance_pool_id,omitempty"`
NodeTypeId string `json:"node_type_id,omitempty"` NodeTypeId string `json:"node_type_id,omitempty"`
NumWorkers int `json:"num_workers"` NumWorkers int `json:"num_workers"`
PolicyId string `json:"policy_id,omitempty"` PolicyId string `json:"policy_id,omitempty"`
RuntimeEngine string `json:"runtime_engine,omitempty"` RuntimeEngine string `json:"runtime_engine,omitempty"`
SingleUserName string `json:"single_user_name,omitempty"` SingleUserName string `json:"single_user_name,omitempty"`
SparkConf map[string]string `json:"spark_conf,omitempty"` SparkConf map[string]string `json:"spark_conf,omitempty"`
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"` SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
SparkVersion string `json:"spark_version"` SparkVersion string `json:"spark_version"`
SshPublicKeys []string `json:"ssh_public_keys,omitempty"` SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
Autoscale *DataSourceJobJobSettingsSettingsNewClusterAutoscale `json:"autoscale,omitempty"` Autoscale *DataSourceJobJobSettingsSettingsNewClusterAutoscale `json:"autoscale,omitempty"`
AwsAttributes *DataSourceJobJobSettingsSettingsNewClusterAwsAttributes `json:"aws_attributes,omitempty"` AwsAttributes *DataSourceJobJobSettingsSettingsNewClusterAwsAttributes `json:"aws_attributes,omitempty"`
AzureAttributes *DataSourceJobJobSettingsSettingsNewClusterAzureAttributes `json:"azure_attributes,omitempty"` AzureAttributes *DataSourceJobJobSettingsSettingsNewClusterAzureAttributes `json:"azure_attributes,omitempty"`
ClusterLogConf *DataSourceJobJobSettingsSettingsNewClusterClusterLogConf `json:"cluster_log_conf,omitempty"` ClusterLogConf *DataSourceJobJobSettingsSettingsNewClusterClusterLogConf `json:"cluster_log_conf,omitempty"`
DockerImage *DataSourceJobJobSettingsSettingsNewClusterDockerImage `json:"docker_image,omitempty"` ClusterMountInfo []DataSourceJobJobSettingsSettingsNewClusterClusterMountInfo `json:"cluster_mount_info,omitempty"`
GcpAttributes *DataSourceJobJobSettingsSettingsNewClusterGcpAttributes `json:"gcp_attributes,omitempty"` DockerImage *DataSourceJobJobSettingsSettingsNewClusterDockerImage `json:"docker_image,omitempty"`
InitScripts []DataSourceJobJobSettingsSettingsNewClusterInitScripts `json:"init_scripts,omitempty"` GcpAttributes *DataSourceJobJobSettingsSettingsNewClusterGcpAttributes `json:"gcp_attributes,omitempty"`
WorkloadType *DataSourceJobJobSettingsSettingsNewClusterWorkloadType `json:"workload_type,omitempty"` InitScripts []DataSourceJobJobSettingsSettingsNewClusterInitScripts `json:"init_scripts,omitempty"`
WorkloadType *DataSourceJobJobSettingsSettingsNewClusterWorkloadType `json:"workload_type,omitempty"`
} }
type DataSourceJobJobSettingsSettingsNotebookTask struct { type DataSourceJobJobSettingsSettingsNotebookTask struct {
BaseParameters map[string]string `json:"base_parameters,omitempty"` BaseParameters map[string]string `json:"base_parameters,omitempty"`
NotebookPath string `json:"notebook_path"` NotebookPath string `json:"notebook_path"`
Source string `json:"source,omitempty"`
} }
type DataSourceJobJobSettingsSettingsPipelineTask struct { type DataSourceJobJobSettingsSettingsPipelineTask struct {
@ -352,6 +392,7 @@ type DataSourceJobJobSettingsSettingsSparkSubmitTask struct {
} }
type DataSourceJobJobSettingsSettingsTaskDbtTask struct { type DataSourceJobJobSettingsSettingsTaskDbtTask struct {
Catalog string `json:"catalog,omitempty"`
Commands []string `json:"commands"` Commands []string `json:"commands"`
ProfilesDirectory string `json:"profiles_directory,omitempty"` ProfilesDirectory string `json:"profiles_directory,omitempty"`
ProjectDirectory string `json:"project_directory,omitempty"` ProjectDirectory string `json:"project_directory,omitempty"`
@ -437,6 +478,17 @@ type DataSourceJobJobSettingsSettingsTaskNewClusterClusterLogConf struct {
S3 *DataSourceJobJobSettingsSettingsTaskNewClusterClusterLogConfS3 `json:"s3,omitempty"` S3 *DataSourceJobJobSettingsSettingsTaskNewClusterClusterLogConfS3 `json:"s3,omitempty"`
} }
type DataSourceJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo struct {
MountOptions string `json:"mount_options,omitempty"`
ServerAddress string `json:"server_address"`
}
type DataSourceJobJobSettingsSettingsTaskNewClusterClusterMountInfo struct {
LocalMountDirPath string `json:"local_mount_dir_path"`
RemoteMountDirPath string `json:"remote_mount_dir_path,omitempty"`
NetworkFilesystemInfo *DataSourceJobJobSettingsSettingsTaskNewClusterClusterMountInfoNetworkFilesystemInfo `json:"network_filesystem_info,omitempty"`
}
type DataSourceJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth struct { type DataSourceJobJobSettingsSettingsTaskNewClusterDockerImageBasicAuth struct {
Password string `json:"password"` Password string `json:"password"`
Username string `json:"username"` Username string `json:"username"`
@ -455,6 +507,10 @@ type DataSourceJobJobSettingsSettingsTaskNewClusterGcpAttributes struct {
ZoneId string `json:"zone_id,omitempty"` ZoneId string `json:"zone_id,omitempty"`
} }
type DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsAbfss struct {
Destination string `json:"destination,omitempty"`
}
type DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsDbfs struct { type DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsDbfs struct {
Destination string `json:"destination"` Destination string `json:"destination"`
} }
@ -478,10 +534,11 @@ type DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsS3 struct {
} }
type DataSourceJobJobSettingsSettingsTaskNewClusterInitScripts struct { type DataSourceJobJobSettingsSettingsTaskNewClusterInitScripts struct {
Dbfs *DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsDbfs `json:"dbfs,omitempty"` Abfss *DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsAbfss `json:"abfss,omitempty"`
File *DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsFile `json:"file,omitempty"` Dbfs *DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsDbfs `json:"dbfs,omitempty"`
Gcs *DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsGcs `json:"gcs,omitempty"` File *DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsFile `json:"file,omitempty"`
S3 *DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsS3 `json:"s3,omitempty"` Gcs *DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsGcs `json:"gcs,omitempty"`
S3 *DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsS3 `json:"s3,omitempty"`
} }
type DataSourceJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients struct { type DataSourceJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients struct {
@ -494,40 +551,42 @@ type DataSourceJobJobSettingsSettingsTaskNewClusterWorkloadType struct {
} }
type DataSourceJobJobSettingsSettingsTaskNewCluster struct { type DataSourceJobJobSettingsSettingsTaskNewCluster struct {
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"` ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"` AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
ClusterId string `json:"cluster_id,omitempty"` ClusterId string `json:"cluster_id,omitempty"`
ClusterName string `json:"cluster_name,omitempty"` ClusterName string `json:"cluster_name,omitempty"`
CustomTags map[string]string `json:"custom_tags,omitempty"` CustomTags map[string]string `json:"custom_tags,omitempty"`
DataSecurityMode string `json:"data_security_mode,omitempty"` DataSecurityMode string `json:"data_security_mode,omitempty"`
DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"` DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"`
DriverNodeTypeId string `json:"driver_node_type_id,omitempty"` DriverNodeTypeId string `json:"driver_node_type_id,omitempty"`
EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"` EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"`
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"` EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
IdempotencyToken string `json:"idempotency_token,omitempty"` IdempotencyToken string `json:"idempotency_token,omitempty"`
InstancePoolId string `json:"instance_pool_id,omitempty"` InstancePoolId string `json:"instance_pool_id,omitempty"`
NodeTypeId string `json:"node_type_id,omitempty"` NodeTypeId string `json:"node_type_id,omitempty"`
NumWorkers int `json:"num_workers"` NumWorkers int `json:"num_workers"`
PolicyId string `json:"policy_id,omitempty"` PolicyId string `json:"policy_id,omitempty"`
RuntimeEngine string `json:"runtime_engine,omitempty"` RuntimeEngine string `json:"runtime_engine,omitempty"`
SingleUserName string `json:"single_user_name,omitempty"` SingleUserName string `json:"single_user_name,omitempty"`
SparkConf map[string]string `json:"spark_conf,omitempty"` SparkConf map[string]string `json:"spark_conf,omitempty"`
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"` SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
SparkVersion string `json:"spark_version"` SparkVersion string `json:"spark_version"`
SshPublicKeys []string `json:"ssh_public_keys,omitempty"` SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
Autoscale *DataSourceJobJobSettingsSettingsTaskNewClusterAutoscale `json:"autoscale,omitempty"` Autoscale *DataSourceJobJobSettingsSettingsTaskNewClusterAutoscale `json:"autoscale,omitempty"`
AwsAttributes *DataSourceJobJobSettingsSettingsTaskNewClusterAwsAttributes `json:"aws_attributes,omitempty"` AwsAttributes *DataSourceJobJobSettingsSettingsTaskNewClusterAwsAttributes `json:"aws_attributes,omitempty"`
AzureAttributes *DataSourceJobJobSettingsSettingsTaskNewClusterAzureAttributes `json:"azure_attributes,omitempty"` AzureAttributes *DataSourceJobJobSettingsSettingsTaskNewClusterAzureAttributes `json:"azure_attributes,omitempty"`
ClusterLogConf *DataSourceJobJobSettingsSettingsTaskNewClusterClusterLogConf `json:"cluster_log_conf,omitempty"` ClusterLogConf *DataSourceJobJobSettingsSettingsTaskNewClusterClusterLogConf `json:"cluster_log_conf,omitempty"`
DockerImage *DataSourceJobJobSettingsSettingsTaskNewClusterDockerImage `json:"docker_image,omitempty"` ClusterMountInfo []DataSourceJobJobSettingsSettingsTaskNewClusterClusterMountInfo `json:"cluster_mount_info,omitempty"`
GcpAttributes *DataSourceJobJobSettingsSettingsTaskNewClusterGcpAttributes `json:"gcp_attributes,omitempty"` DockerImage *DataSourceJobJobSettingsSettingsTaskNewClusterDockerImage `json:"docker_image,omitempty"`
InitScripts []DataSourceJobJobSettingsSettingsTaskNewClusterInitScripts `json:"init_scripts,omitempty"` GcpAttributes *DataSourceJobJobSettingsSettingsTaskNewClusterGcpAttributes `json:"gcp_attributes,omitempty"`
WorkloadType *DataSourceJobJobSettingsSettingsTaskNewClusterWorkloadType `json:"workload_type,omitempty"` InitScripts []DataSourceJobJobSettingsSettingsTaskNewClusterInitScripts `json:"init_scripts,omitempty"`
WorkloadType *DataSourceJobJobSettingsSettingsTaskNewClusterWorkloadType `json:"workload_type,omitempty"`
} }
type DataSourceJobJobSettingsSettingsTaskNotebookTask struct { type DataSourceJobJobSettingsSettingsTaskNotebookTask struct {
BaseParameters map[string]string `json:"base_parameters,omitempty"` BaseParameters map[string]string `json:"base_parameters,omitempty"`
NotebookPath string `json:"notebook_path"` NotebookPath string `json:"notebook_path"`
Source string `json:"source,omitempty"`
} }
type DataSourceJobJobSettingsSettingsTaskPipelineTask struct { type DataSourceJobJobSettingsSettingsTaskPipelineTask struct {
@ -627,6 +686,7 @@ type DataSourceJobJobSettingsSettings struct {
RetryOnTimeout bool `json:"retry_on_timeout,omitempty"` RetryOnTimeout bool `json:"retry_on_timeout,omitempty"`
Tags map[string]string `json:"tags,omitempty"` Tags map[string]string `json:"tags,omitempty"`
TimeoutSeconds int `json:"timeout_seconds,omitempty"` TimeoutSeconds int `json:"timeout_seconds,omitempty"`
Continuous *DataSourceJobJobSettingsSettingsContinuous `json:"continuous,omitempty"`
DbtTask *DataSourceJobJobSettingsSettingsDbtTask `json:"dbt_task,omitempty"` DbtTask *DataSourceJobJobSettingsSettingsDbtTask `json:"dbt_task,omitempty"`
EmailNotifications *DataSourceJobJobSettingsSettingsEmailNotifications `json:"email_notifications,omitempty"` EmailNotifications *DataSourceJobJobSettingsSettingsEmailNotifications `json:"email_notifications,omitempty"`
GitSource *DataSourceJobJobSettingsSettingsGitSource `json:"git_source,omitempty"` GitSource *DataSourceJobJobSettingsSettingsGitSource `json:"git_source,omitempty"`
@ -655,5 +715,6 @@ type DataSourceJob struct {
Id string `json:"id,omitempty"` Id string `json:"id,omitempty"`
JobId string `json:"job_id,omitempty"` JobId string `json:"job_id,omitempty"`
JobName string `json:"job_name,omitempty"` JobName string `json:"job_name,omitempty"`
Name string `json:"name,omitempty"`
JobSettings *DataSourceJobJobSettings `json:"job_settings,omitempty"` JobSettings *DataSourceJobJobSettings `json:"job_settings,omitempty"`
} }

View File

@ -0,0 +1,8 @@
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
package schema
type DataSourceMwsCredentials struct {
Id string `json:"id,omitempty"`
Ids map[string]string `json:"ids,omitempty"`
}

View File

@ -4,16 +4,17 @@ package schema
type DataSourceNodeType struct { type DataSourceNodeType struct {
Category string `json:"category,omitempty"` Category string `json:"category,omitempty"`
Fleet bool `json:"fleet,omitempty"`
GbPerCore int `json:"gb_per_core,omitempty"` GbPerCore int `json:"gb_per_core,omitempty"`
Graviton bool `json:"graviton,omitempty"` Graviton bool `json:"graviton,omitempty"`
Id string `json:"id,omitempty"` Id string `json:"id,omitempty"`
IsIoCacheEnabled bool `json:"is_io_cache_enabled,omitempty"` IsIoCacheEnabled bool `json:"is_io_cache_enabled,omitempty"`
LocalDisk bool `json:"local_disk,omitempty"` LocalDisk bool `json:"local_disk,omitempty"`
LocalDiskMinSize int `json:"local_disk_min_size,omitempty"`
MinCores int `json:"min_cores,omitempty"` MinCores int `json:"min_cores,omitempty"`
MinGpus int `json:"min_gpus,omitempty"` MinGpus int `json:"min_gpus,omitempty"`
MinMemoryGb int `json:"min_memory_gb,omitempty"` MinMemoryGb int `json:"min_memory_gb,omitempty"`
PhotonDriverCapable bool `json:"photon_driver_capable,omitempty"` PhotonDriverCapable bool `json:"photon_driver_capable,omitempty"`
PhotonWorkerCapable bool `json:"photon_worker_capable,omitempty"` PhotonWorkerCapable bool `json:"photon_worker_capable,omitempty"`
SupportPortForwarding bool `json:"support_port_forwarding,omitempty"` SupportPortForwarding bool `json:"support_port_forwarding,omitempty"`
Vcpu bool `json:"vcpu,omitempty"`
} }

View File

@ -2,13 +2,29 @@
package schema package schema
type DataSourceShareObjectPartitionValue struct {
Name string `json:"name"`
Op string `json:"op"`
RecipientPropertyKey string `json:"recipient_property_key,omitempty"`
Value string `json:"value,omitempty"`
}
type DataSourceShareObjectPartition struct {
Value []DataSourceShareObjectPartitionValue `json:"value,omitempty"`
}
type DataSourceShareObject struct { type DataSourceShareObject struct {
AddedAt int `json:"added_at,omitempty"` AddedAt int `json:"added_at,omitempty"`
AddedBy string `json:"added_by,omitempty"` AddedBy string `json:"added_by,omitempty"`
Comment string `json:"comment,omitempty"` CdfEnabled bool `json:"cdf_enabled,omitempty"`
DataObjectType string `json:"data_object_type"` Comment string `json:"comment,omitempty"`
Name string `json:"name"` DataObjectType string `json:"data_object_type"`
SharedAs string `json:"shared_as,omitempty"` HistoryDataSharingStatus string `json:"history_data_sharing_status,omitempty"`
Name string `json:"name"`
SharedAs string `json:"shared_as,omitempty"`
StartVersion int `json:"start_version,omitempty"`
Status string `json:"status,omitempty"`
Partition []DataSourceShareObjectPartition `json:"partition,omitempty"`
} }
type DataSourceShare struct { type DataSourceShare struct {

View File

@ -8,13 +8,17 @@ type DataSources struct {
AwsCrossaccountPolicy map[string]*DataSourceAwsCrossaccountPolicy `json:"databricks_aws_crossaccount_policy,omitempty"` AwsCrossaccountPolicy map[string]*DataSourceAwsCrossaccountPolicy `json:"databricks_aws_crossaccount_policy,omitempty"`
Catalogs map[string]*DataSourceCatalogs `json:"databricks_catalogs,omitempty"` Catalogs map[string]*DataSourceCatalogs `json:"databricks_catalogs,omitempty"`
Cluster map[string]*DataSourceCluster `json:"databricks_cluster,omitempty"` Cluster map[string]*DataSourceCluster `json:"databricks_cluster,omitempty"`
ClusterPolicy map[string]*DataSourceClusterPolicy `json:"databricks_cluster_policy,omitempty"`
Clusters map[string]*DataSourceClusters `json:"databricks_clusters,omitempty"` Clusters map[string]*DataSourceClusters `json:"databricks_clusters,omitempty"`
CurrentUser map[string]*DataSourceCurrentUser `json:"databricks_current_user,omitempty"` CurrentUser map[string]*DataSourceCurrentUser `json:"databricks_current_user,omitempty"`
DbfsFile map[string]*DataSourceDbfsFile `json:"databricks_dbfs_file,omitempty"` DbfsFile map[string]*DataSourceDbfsFile `json:"databricks_dbfs_file,omitempty"`
DbfsFilePaths map[string]*DataSourceDbfsFilePaths `json:"databricks_dbfs_file_paths,omitempty"` DbfsFilePaths map[string]*DataSourceDbfsFilePaths `json:"databricks_dbfs_file_paths,omitempty"`
Directory map[string]*DataSourceDirectory `json:"databricks_directory,omitempty"`
Group map[string]*DataSourceGroup `json:"databricks_group,omitempty"` Group map[string]*DataSourceGroup `json:"databricks_group,omitempty"`
InstancePool map[string]*DataSourceInstancePool `json:"databricks_instance_pool,omitempty"`
Job map[string]*DataSourceJob `json:"databricks_job,omitempty"` Job map[string]*DataSourceJob `json:"databricks_job,omitempty"`
Jobs map[string]*DataSourceJobs `json:"databricks_jobs,omitempty"` Jobs map[string]*DataSourceJobs `json:"databricks_jobs,omitempty"`
MwsCredentials map[string]*DataSourceMwsCredentials `json:"databricks_mws_credentials,omitempty"`
MwsWorkspaces map[string]*DataSourceMwsWorkspaces `json:"databricks_mws_workspaces,omitempty"` MwsWorkspaces map[string]*DataSourceMwsWorkspaces `json:"databricks_mws_workspaces,omitempty"`
NodeType map[string]*DataSourceNodeType `json:"databricks_node_type,omitempty"` NodeType map[string]*DataSourceNodeType `json:"databricks_node_type,omitempty"`
Notebook map[string]*DataSourceNotebook `json:"databricks_notebook,omitempty"` Notebook map[string]*DataSourceNotebook `json:"databricks_notebook,omitempty"`
@ -40,13 +44,17 @@ func NewDataSources() *DataSources {
AwsCrossaccountPolicy: make(map[string]*DataSourceAwsCrossaccountPolicy), AwsCrossaccountPolicy: make(map[string]*DataSourceAwsCrossaccountPolicy),
Catalogs: make(map[string]*DataSourceCatalogs), Catalogs: make(map[string]*DataSourceCatalogs),
Cluster: make(map[string]*DataSourceCluster), Cluster: make(map[string]*DataSourceCluster),
ClusterPolicy: make(map[string]*DataSourceClusterPolicy),
Clusters: make(map[string]*DataSourceClusters), Clusters: make(map[string]*DataSourceClusters),
CurrentUser: make(map[string]*DataSourceCurrentUser), CurrentUser: make(map[string]*DataSourceCurrentUser),
DbfsFile: make(map[string]*DataSourceDbfsFile), DbfsFile: make(map[string]*DataSourceDbfsFile),
DbfsFilePaths: make(map[string]*DataSourceDbfsFilePaths), DbfsFilePaths: make(map[string]*DataSourceDbfsFilePaths),
Directory: make(map[string]*DataSourceDirectory),
Group: make(map[string]*DataSourceGroup), Group: make(map[string]*DataSourceGroup),
InstancePool: make(map[string]*DataSourceInstancePool),
Job: make(map[string]*DataSourceJob), Job: make(map[string]*DataSourceJob),
Jobs: make(map[string]*DataSourceJobs), Jobs: make(map[string]*DataSourceJobs),
MwsCredentials: make(map[string]*DataSourceMwsCredentials),
MwsWorkspaces: make(map[string]*DataSourceMwsWorkspaces), MwsWorkspaces: make(map[string]*DataSourceMwsWorkspaces),
NodeType: make(map[string]*DataSourceNodeType), NodeType: make(map[string]*DataSourceNodeType),
Notebook: make(map[string]*DataSourceNotebook), Notebook: make(map[string]*DataSourceNotebook),

View File

@ -10,4 +10,7 @@ type ResourceCatalog struct {
Name string `json:"name"` Name string `json:"name"`
Owner string `json:"owner,omitempty"` Owner string `json:"owner,omitempty"`
Properties map[string]string `json:"properties,omitempty"` Properties map[string]string `json:"properties,omitempty"`
ProviderName string `json:"provider_name,omitempty"`
ShareName string `json:"share_name,omitempty"`
StorageRoot string `json:"storage_root,omitempty"`
} }

View File

@ -43,6 +43,17 @@ type ResourceClusterClusterLogConf struct {
S3 *ResourceClusterClusterLogConfS3 `json:"s3,omitempty"` S3 *ResourceClusterClusterLogConfS3 `json:"s3,omitempty"`
} }
type ResourceClusterClusterMountInfoNetworkFilesystemInfo struct {
MountOptions string `json:"mount_options,omitempty"`
ServerAddress string `json:"server_address"`
}
type ResourceClusterClusterMountInfo struct {
LocalMountDirPath string `json:"local_mount_dir_path"`
RemoteMountDirPath string `json:"remote_mount_dir_path,omitempty"`
NetworkFilesystemInfo *ResourceClusterClusterMountInfoNetworkFilesystemInfo `json:"network_filesystem_info,omitempty"`
}
type ResourceClusterDockerImageBasicAuth struct { type ResourceClusterDockerImageBasicAuth struct {
Password string `json:"password"` Password string `json:"password"`
Username string `json:"username"` Username string `json:"username"`
@ -61,6 +72,10 @@ type ResourceClusterGcpAttributes struct {
ZoneId string `json:"zone_id,omitempty"` ZoneId string `json:"zone_id,omitempty"`
} }
type ResourceClusterInitScriptsAbfss struct {
Destination string `json:"destination,omitempty"`
}
type ResourceClusterInitScriptsDbfs struct { type ResourceClusterInitScriptsDbfs struct {
Destination string `json:"destination"` Destination string `json:"destination"`
} }
@ -84,10 +99,11 @@ type ResourceClusterInitScriptsS3 struct {
} }
type ResourceClusterInitScripts struct { type ResourceClusterInitScripts struct {
Dbfs *ResourceClusterInitScriptsDbfs `json:"dbfs,omitempty"` Abfss *ResourceClusterInitScriptsAbfss `json:"abfss,omitempty"`
File *ResourceClusterInitScriptsFile `json:"file,omitempty"` Dbfs *ResourceClusterInitScriptsDbfs `json:"dbfs,omitempty"`
Gcs *ResourceClusterInitScriptsGcs `json:"gcs,omitempty"` File *ResourceClusterInitScriptsFile `json:"file,omitempty"`
S3 *ResourceClusterInitScriptsS3 `json:"s3,omitempty"` Gcs *ResourceClusterInitScriptsGcs `json:"gcs,omitempty"`
S3 *ResourceClusterInitScriptsS3 `json:"s3,omitempty"`
} }
type ResourceClusterLibraryCran struct { type ResourceClusterLibraryCran struct {
@ -125,39 +141,40 @@ type ResourceClusterWorkloadType struct {
} }
type ResourceCluster struct { type ResourceCluster struct {
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"` ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"` AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
ClusterId string `json:"cluster_id,omitempty"` ClusterId string `json:"cluster_id,omitempty"`
ClusterName string `json:"cluster_name,omitempty"` ClusterName string `json:"cluster_name,omitempty"`
CustomTags map[string]string `json:"custom_tags,omitempty"` CustomTags map[string]string `json:"custom_tags,omitempty"`
DataSecurityMode string `json:"data_security_mode,omitempty"` DataSecurityMode string `json:"data_security_mode,omitempty"`
DefaultTags map[string]string `json:"default_tags,omitempty"` DefaultTags map[string]string `json:"default_tags,omitempty"`
DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"` DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"`
DriverNodeTypeId string `json:"driver_node_type_id,omitempty"` DriverNodeTypeId string `json:"driver_node_type_id,omitempty"`
EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"` EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"`
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"` EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
Id string `json:"id,omitempty"` Id string `json:"id,omitempty"`
IdempotencyToken string `json:"idempotency_token,omitempty"` IdempotencyToken string `json:"idempotency_token,omitempty"`
InstancePoolId string `json:"instance_pool_id,omitempty"` InstancePoolId string `json:"instance_pool_id,omitempty"`
IsPinned bool `json:"is_pinned,omitempty"` IsPinned bool `json:"is_pinned,omitempty"`
NodeTypeId string `json:"node_type_id,omitempty"` NodeTypeId string `json:"node_type_id,omitempty"`
NumWorkers int `json:"num_workers,omitempty"` NumWorkers int `json:"num_workers,omitempty"`
PolicyId string `json:"policy_id,omitempty"` PolicyId string `json:"policy_id,omitempty"`
RuntimeEngine string `json:"runtime_engine,omitempty"` RuntimeEngine string `json:"runtime_engine,omitempty"`
SingleUserName string `json:"single_user_name,omitempty"` SingleUserName string `json:"single_user_name,omitempty"`
SparkConf map[string]string `json:"spark_conf,omitempty"` SparkConf map[string]string `json:"spark_conf,omitempty"`
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"` SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
SparkVersion string `json:"spark_version"` SparkVersion string `json:"spark_version"`
SshPublicKeys []string `json:"ssh_public_keys,omitempty"` SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
State string `json:"state,omitempty"` State string `json:"state,omitempty"`
Url string `json:"url,omitempty"` Url string `json:"url,omitempty"`
Autoscale *ResourceClusterAutoscale `json:"autoscale,omitempty"` Autoscale *ResourceClusterAutoscale `json:"autoscale,omitempty"`
AwsAttributes *ResourceClusterAwsAttributes `json:"aws_attributes,omitempty"` AwsAttributes *ResourceClusterAwsAttributes `json:"aws_attributes,omitempty"`
AzureAttributes *ResourceClusterAzureAttributes `json:"azure_attributes,omitempty"` AzureAttributes *ResourceClusterAzureAttributes `json:"azure_attributes,omitempty"`
ClusterLogConf *ResourceClusterClusterLogConf `json:"cluster_log_conf,omitempty"` ClusterLogConf *ResourceClusterClusterLogConf `json:"cluster_log_conf,omitempty"`
DockerImage *ResourceClusterDockerImage `json:"docker_image,omitempty"` ClusterMountInfo []ResourceClusterClusterMountInfo `json:"cluster_mount_info,omitempty"`
GcpAttributes *ResourceClusterGcpAttributes `json:"gcp_attributes,omitempty"` DockerImage *ResourceClusterDockerImage `json:"docker_image,omitempty"`
InitScripts []ResourceClusterInitScripts `json:"init_scripts,omitempty"` GcpAttributes *ResourceClusterGcpAttributes `json:"gcp_attributes,omitempty"`
Library []ResourceClusterLibrary `json:"library,omitempty"` InitScripts []ResourceClusterInitScripts `json:"init_scripts,omitempty"`
WorkloadType *ResourceClusterWorkloadType `json:"workload_type,omitempty"` Library []ResourceClusterLibrary `json:"library,omitempty"`
WorkloadType *ResourceClusterWorkloadType `json:"workload_type,omitempty"`
} }

View File

@ -3,8 +3,9 @@
package schema package schema
type ResourceClusterPolicy struct { type ResourceClusterPolicy struct {
Definition string `json:"definition,omitempty"` Definition string `json:"definition"`
Id string `json:"id,omitempty"` Id string `json:"id,omitempty"`
Name string `json:"name"` MaxClustersPerUser int `json:"max_clusters_per_user,omitempty"`
PolicyId string `json:"policy_id,omitempty"` Name string `json:"name"`
PolicyId string `json:"policy_id,omitempty"`
} }

View File

@ -5,7 +5,7 @@ package schema
type ResourceGitCredential struct { type ResourceGitCredential struct {
Force bool `json:"force,omitempty"` Force bool `json:"force,omitempty"`
GitProvider string `json:"git_provider"` GitProvider string `json:"git_provider"`
GitUsername string `json:"git_username"` GitUsername string `json:"git_username,omitempty"`
Id string `json:"id,omitempty"` Id string `json:"id,omitempty"`
PersonalAccessToken string `json:"personal_access_token"` PersonalAccessToken string `json:"personal_access_token,omitempty"`
} }

View File

@ -3,8 +3,9 @@
package schema package schema
type ResourceInstanceProfile struct { type ResourceInstanceProfile struct {
IamRoleArn string `json:"iam_role_arn,omitempty"`
Id string `json:"id,omitempty"` Id string `json:"id,omitempty"`
InstanceProfileArn string `json:"instance_profile_arn,omitempty"` InstanceProfileArn string `json:"instance_profile_arn"`
IsMetaInstanceProfile bool `json:"is_meta_instance_profile,omitempty"` IsMetaInstanceProfile bool `json:"is_meta_instance_profile,omitempty"`
SkipValidation bool `json:"skip_validation,omitempty"` SkipValidation bool `json:"skip_validation,omitempty"`
} }

View File

@ -2,7 +2,12 @@
package schema package schema
type ResourceJobContinuous struct {
PauseStatus string `json:"pause_status,omitempty"`
}
type ResourceJobDbtTask struct { type ResourceJobDbtTask struct {
Catalog string `json:"catalog,omitempty"`
Commands []string `json:"commands"` Commands []string `json:"commands"`
ProfilesDirectory string `json:"profiles_directory,omitempty"` ProfilesDirectory string `json:"profiles_directory,omitempty"`
ProjectDirectory string `json:"project_directory,omitempty"` ProjectDirectory string `json:"project_directory,omitempty"`
@ -67,6 +72,17 @@ type ResourceJobJobClusterNewClusterClusterLogConf struct {
S3 *ResourceJobJobClusterNewClusterClusterLogConfS3 `json:"s3,omitempty"` S3 *ResourceJobJobClusterNewClusterClusterLogConfS3 `json:"s3,omitempty"`
} }
type ResourceJobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo struct {
MountOptions string `json:"mount_options,omitempty"`
ServerAddress string `json:"server_address"`
}
type ResourceJobJobClusterNewClusterClusterMountInfo struct {
LocalMountDirPath string `json:"local_mount_dir_path"`
RemoteMountDirPath string `json:"remote_mount_dir_path,omitempty"`
NetworkFilesystemInfo *ResourceJobJobClusterNewClusterClusterMountInfoNetworkFilesystemInfo `json:"network_filesystem_info,omitempty"`
}
type ResourceJobJobClusterNewClusterDockerImageBasicAuth struct { type ResourceJobJobClusterNewClusterDockerImageBasicAuth struct {
Password string `json:"password"` Password string `json:"password"`
Username string `json:"username"` Username string `json:"username"`
@ -85,6 +101,10 @@ type ResourceJobJobClusterNewClusterGcpAttributes struct {
ZoneId string `json:"zone_id,omitempty"` ZoneId string `json:"zone_id,omitempty"`
} }
type ResourceJobJobClusterNewClusterInitScriptsAbfss struct {
Destination string `json:"destination,omitempty"`
}
type ResourceJobJobClusterNewClusterInitScriptsDbfs struct { type ResourceJobJobClusterNewClusterInitScriptsDbfs struct {
Destination string `json:"destination"` Destination string `json:"destination"`
} }
@ -108,10 +128,11 @@ type ResourceJobJobClusterNewClusterInitScriptsS3 struct {
} }
type ResourceJobJobClusterNewClusterInitScripts struct { type ResourceJobJobClusterNewClusterInitScripts struct {
Dbfs *ResourceJobJobClusterNewClusterInitScriptsDbfs `json:"dbfs,omitempty"` Abfss *ResourceJobJobClusterNewClusterInitScriptsAbfss `json:"abfss,omitempty"`
File *ResourceJobJobClusterNewClusterInitScriptsFile `json:"file,omitempty"` Dbfs *ResourceJobJobClusterNewClusterInitScriptsDbfs `json:"dbfs,omitempty"`
Gcs *ResourceJobJobClusterNewClusterInitScriptsGcs `json:"gcs,omitempty"` File *ResourceJobJobClusterNewClusterInitScriptsFile `json:"file,omitempty"`
S3 *ResourceJobJobClusterNewClusterInitScriptsS3 `json:"s3,omitempty"` Gcs *ResourceJobJobClusterNewClusterInitScriptsGcs `json:"gcs,omitempty"`
S3 *ResourceJobJobClusterNewClusterInitScriptsS3 `json:"s3,omitempty"`
} }
type ResourceJobJobClusterNewClusterWorkloadTypeClients struct { type ResourceJobJobClusterNewClusterWorkloadTypeClients struct {
@ -124,35 +145,36 @@ type ResourceJobJobClusterNewClusterWorkloadType struct {
} }
type ResourceJobJobClusterNewCluster struct { type ResourceJobJobClusterNewCluster struct {
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"` ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"` AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
ClusterId string `json:"cluster_id,omitempty"` ClusterId string `json:"cluster_id,omitempty"`
ClusterName string `json:"cluster_name,omitempty"` ClusterName string `json:"cluster_name,omitempty"`
CustomTags map[string]string `json:"custom_tags,omitempty"` CustomTags map[string]string `json:"custom_tags,omitempty"`
DataSecurityMode string `json:"data_security_mode,omitempty"` DataSecurityMode string `json:"data_security_mode,omitempty"`
DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"` DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"`
DriverNodeTypeId string `json:"driver_node_type_id,omitempty"` DriverNodeTypeId string `json:"driver_node_type_id,omitempty"`
EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"` EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"`
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"` EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
IdempotencyToken string `json:"idempotency_token,omitempty"` IdempotencyToken string `json:"idempotency_token,omitempty"`
InstancePoolId string `json:"instance_pool_id,omitempty"` InstancePoolId string `json:"instance_pool_id,omitempty"`
NodeTypeId string `json:"node_type_id,omitempty"` NodeTypeId string `json:"node_type_id,omitempty"`
NumWorkers int `json:"num_workers,omitempty"` NumWorkers int `json:"num_workers,omitempty"`
PolicyId string `json:"policy_id,omitempty"` PolicyId string `json:"policy_id,omitempty"`
RuntimeEngine string `json:"runtime_engine,omitempty"` RuntimeEngine string `json:"runtime_engine,omitempty"`
SingleUserName string `json:"single_user_name,omitempty"` SingleUserName string `json:"single_user_name,omitempty"`
SparkConf map[string]string `json:"spark_conf,omitempty"` SparkConf map[string]string `json:"spark_conf,omitempty"`
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"` SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
SparkVersion string `json:"spark_version"` SparkVersion string `json:"spark_version"`
SshPublicKeys []string `json:"ssh_public_keys,omitempty"` SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
Autoscale *ResourceJobJobClusterNewClusterAutoscale `json:"autoscale,omitempty"` Autoscale *ResourceJobJobClusterNewClusterAutoscale `json:"autoscale,omitempty"`
AwsAttributes *ResourceJobJobClusterNewClusterAwsAttributes `json:"aws_attributes,omitempty"` AwsAttributes *ResourceJobJobClusterNewClusterAwsAttributes `json:"aws_attributes,omitempty"`
AzureAttributes *ResourceJobJobClusterNewClusterAzureAttributes `json:"azure_attributes,omitempty"` AzureAttributes *ResourceJobJobClusterNewClusterAzureAttributes `json:"azure_attributes,omitempty"`
ClusterLogConf *ResourceJobJobClusterNewClusterClusterLogConf `json:"cluster_log_conf,omitempty"` ClusterLogConf *ResourceJobJobClusterNewClusterClusterLogConf `json:"cluster_log_conf,omitempty"`
DockerImage *ResourceJobJobClusterNewClusterDockerImage `json:"docker_image,omitempty"` ClusterMountInfo []ResourceJobJobClusterNewClusterClusterMountInfo `json:"cluster_mount_info,omitempty"`
GcpAttributes *ResourceJobJobClusterNewClusterGcpAttributes `json:"gcp_attributes,omitempty"` DockerImage *ResourceJobJobClusterNewClusterDockerImage `json:"docker_image,omitempty"`
InitScripts []ResourceJobJobClusterNewClusterInitScripts `json:"init_scripts,omitempty"` GcpAttributes *ResourceJobJobClusterNewClusterGcpAttributes `json:"gcp_attributes,omitempty"`
WorkloadType *ResourceJobJobClusterNewClusterWorkloadType `json:"workload_type,omitempty"` InitScripts []ResourceJobJobClusterNewClusterInitScripts `json:"init_scripts,omitempty"`
WorkloadType *ResourceJobJobClusterNewClusterWorkloadType `json:"workload_type,omitempty"`
} }
type ResourceJobJobCluster struct { type ResourceJobJobCluster struct {
@ -226,6 +248,17 @@ type ResourceJobNewClusterClusterLogConf struct {
S3 *ResourceJobNewClusterClusterLogConfS3 `json:"s3,omitempty"` S3 *ResourceJobNewClusterClusterLogConfS3 `json:"s3,omitempty"`
} }
type ResourceJobNewClusterClusterMountInfoNetworkFilesystemInfo struct {
MountOptions string `json:"mount_options,omitempty"`
ServerAddress string `json:"server_address"`
}
type ResourceJobNewClusterClusterMountInfo struct {
LocalMountDirPath string `json:"local_mount_dir_path"`
RemoteMountDirPath string `json:"remote_mount_dir_path,omitempty"`
NetworkFilesystemInfo *ResourceJobNewClusterClusterMountInfoNetworkFilesystemInfo `json:"network_filesystem_info,omitempty"`
}
type ResourceJobNewClusterDockerImageBasicAuth struct { type ResourceJobNewClusterDockerImageBasicAuth struct {
Password string `json:"password"` Password string `json:"password"`
Username string `json:"username"` Username string `json:"username"`
@ -244,6 +277,10 @@ type ResourceJobNewClusterGcpAttributes struct {
ZoneId string `json:"zone_id,omitempty"` ZoneId string `json:"zone_id,omitempty"`
} }
type ResourceJobNewClusterInitScriptsAbfss struct {
Destination string `json:"destination,omitempty"`
}
type ResourceJobNewClusterInitScriptsDbfs struct { type ResourceJobNewClusterInitScriptsDbfs struct {
Destination string `json:"destination"` Destination string `json:"destination"`
} }
@ -267,10 +304,11 @@ type ResourceJobNewClusterInitScriptsS3 struct {
} }
type ResourceJobNewClusterInitScripts struct { type ResourceJobNewClusterInitScripts struct {
Dbfs *ResourceJobNewClusterInitScriptsDbfs `json:"dbfs,omitempty"` Abfss *ResourceJobNewClusterInitScriptsAbfss `json:"abfss,omitempty"`
File *ResourceJobNewClusterInitScriptsFile `json:"file,omitempty"` Dbfs *ResourceJobNewClusterInitScriptsDbfs `json:"dbfs,omitempty"`
Gcs *ResourceJobNewClusterInitScriptsGcs `json:"gcs,omitempty"` File *ResourceJobNewClusterInitScriptsFile `json:"file,omitempty"`
S3 *ResourceJobNewClusterInitScriptsS3 `json:"s3,omitempty"` Gcs *ResourceJobNewClusterInitScriptsGcs `json:"gcs,omitempty"`
S3 *ResourceJobNewClusterInitScriptsS3 `json:"s3,omitempty"`
} }
type ResourceJobNewClusterWorkloadTypeClients struct { type ResourceJobNewClusterWorkloadTypeClients struct {
@ -283,40 +321,42 @@ type ResourceJobNewClusterWorkloadType struct {
} }
type ResourceJobNewCluster struct { type ResourceJobNewCluster struct {
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"` ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"` AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
ClusterId string `json:"cluster_id,omitempty"` ClusterId string `json:"cluster_id,omitempty"`
ClusterName string `json:"cluster_name,omitempty"` ClusterName string `json:"cluster_name,omitempty"`
CustomTags map[string]string `json:"custom_tags,omitempty"` CustomTags map[string]string `json:"custom_tags,omitempty"`
DataSecurityMode string `json:"data_security_mode,omitempty"` DataSecurityMode string `json:"data_security_mode,omitempty"`
DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"` DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"`
DriverNodeTypeId string `json:"driver_node_type_id,omitempty"` DriverNodeTypeId string `json:"driver_node_type_id,omitempty"`
EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"` EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"`
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"` EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
IdempotencyToken string `json:"idempotency_token,omitempty"` IdempotencyToken string `json:"idempotency_token,omitempty"`
InstancePoolId string `json:"instance_pool_id,omitempty"` InstancePoolId string `json:"instance_pool_id,omitempty"`
NodeTypeId string `json:"node_type_id,omitempty"` NodeTypeId string `json:"node_type_id,omitempty"`
NumWorkers int `json:"num_workers,omitempty"` NumWorkers int `json:"num_workers,omitempty"`
PolicyId string `json:"policy_id,omitempty"` PolicyId string `json:"policy_id,omitempty"`
RuntimeEngine string `json:"runtime_engine,omitempty"` RuntimeEngine string `json:"runtime_engine,omitempty"`
SingleUserName string `json:"single_user_name,omitempty"` SingleUserName string `json:"single_user_name,omitempty"`
SparkConf map[string]string `json:"spark_conf,omitempty"` SparkConf map[string]string `json:"spark_conf,omitempty"`
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"` SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
SparkVersion string `json:"spark_version"` SparkVersion string `json:"spark_version"`
SshPublicKeys []string `json:"ssh_public_keys,omitempty"` SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
Autoscale *ResourceJobNewClusterAutoscale `json:"autoscale,omitempty"` Autoscale *ResourceJobNewClusterAutoscale `json:"autoscale,omitempty"`
AwsAttributes *ResourceJobNewClusterAwsAttributes `json:"aws_attributes,omitempty"` AwsAttributes *ResourceJobNewClusterAwsAttributes `json:"aws_attributes,omitempty"`
AzureAttributes *ResourceJobNewClusterAzureAttributes `json:"azure_attributes,omitempty"` AzureAttributes *ResourceJobNewClusterAzureAttributes `json:"azure_attributes,omitempty"`
ClusterLogConf *ResourceJobNewClusterClusterLogConf `json:"cluster_log_conf,omitempty"` ClusterLogConf *ResourceJobNewClusterClusterLogConf `json:"cluster_log_conf,omitempty"`
DockerImage *ResourceJobNewClusterDockerImage `json:"docker_image,omitempty"` ClusterMountInfo []ResourceJobNewClusterClusterMountInfo `json:"cluster_mount_info,omitempty"`
GcpAttributes *ResourceJobNewClusterGcpAttributes `json:"gcp_attributes,omitempty"` DockerImage *ResourceJobNewClusterDockerImage `json:"docker_image,omitempty"`
InitScripts []ResourceJobNewClusterInitScripts `json:"init_scripts,omitempty"` GcpAttributes *ResourceJobNewClusterGcpAttributes `json:"gcp_attributes,omitempty"`
WorkloadType *ResourceJobNewClusterWorkloadType `json:"workload_type,omitempty"` InitScripts []ResourceJobNewClusterInitScripts `json:"init_scripts,omitempty"`
WorkloadType *ResourceJobNewClusterWorkloadType `json:"workload_type,omitempty"`
} }
type ResourceJobNotebookTask struct { type ResourceJobNotebookTask struct {
BaseParameters map[string]string `json:"base_parameters,omitempty"` BaseParameters map[string]string `json:"base_parameters,omitempty"`
NotebookPath string `json:"notebook_path"` NotebookPath string `json:"notebook_path"`
Source string `json:"source,omitempty"`
} }
type ResourceJobPipelineTask struct { type ResourceJobPipelineTask struct {
@ -352,6 +392,7 @@ type ResourceJobSparkSubmitTask struct {
} }
type ResourceJobTaskDbtTask struct { type ResourceJobTaskDbtTask struct {
Catalog string `json:"catalog,omitempty"`
Commands []string `json:"commands"` Commands []string `json:"commands"`
ProfilesDirectory string `json:"profiles_directory,omitempty"` ProfilesDirectory string `json:"profiles_directory,omitempty"`
ProjectDirectory string `json:"project_directory,omitempty"` ProjectDirectory string `json:"project_directory,omitempty"`
@ -437,6 +478,17 @@ type ResourceJobTaskNewClusterClusterLogConf struct {
S3 *ResourceJobTaskNewClusterClusterLogConfS3 `json:"s3,omitempty"` S3 *ResourceJobTaskNewClusterClusterLogConfS3 `json:"s3,omitempty"`
} }
type ResourceJobTaskNewClusterClusterMountInfoNetworkFilesystemInfo struct {
MountOptions string `json:"mount_options,omitempty"`
ServerAddress string `json:"server_address"`
}
type ResourceJobTaskNewClusterClusterMountInfo struct {
LocalMountDirPath string `json:"local_mount_dir_path"`
RemoteMountDirPath string `json:"remote_mount_dir_path,omitempty"`
NetworkFilesystemInfo *ResourceJobTaskNewClusterClusterMountInfoNetworkFilesystemInfo `json:"network_filesystem_info,omitempty"`
}
type ResourceJobTaskNewClusterDockerImageBasicAuth struct { type ResourceJobTaskNewClusterDockerImageBasicAuth struct {
Password string `json:"password"` Password string `json:"password"`
Username string `json:"username"` Username string `json:"username"`
@ -455,6 +507,10 @@ type ResourceJobTaskNewClusterGcpAttributes struct {
ZoneId string `json:"zone_id,omitempty"` ZoneId string `json:"zone_id,omitempty"`
} }
type ResourceJobTaskNewClusterInitScriptsAbfss struct {
Destination string `json:"destination,omitempty"`
}
type ResourceJobTaskNewClusterInitScriptsDbfs struct { type ResourceJobTaskNewClusterInitScriptsDbfs struct {
Destination string `json:"destination"` Destination string `json:"destination"`
} }
@ -478,10 +534,11 @@ type ResourceJobTaskNewClusterInitScriptsS3 struct {
} }
type ResourceJobTaskNewClusterInitScripts struct { type ResourceJobTaskNewClusterInitScripts struct {
Dbfs *ResourceJobTaskNewClusterInitScriptsDbfs `json:"dbfs,omitempty"` Abfss *ResourceJobTaskNewClusterInitScriptsAbfss `json:"abfss,omitempty"`
File *ResourceJobTaskNewClusterInitScriptsFile `json:"file,omitempty"` Dbfs *ResourceJobTaskNewClusterInitScriptsDbfs `json:"dbfs,omitempty"`
Gcs *ResourceJobTaskNewClusterInitScriptsGcs `json:"gcs,omitempty"` File *ResourceJobTaskNewClusterInitScriptsFile `json:"file,omitempty"`
S3 *ResourceJobTaskNewClusterInitScriptsS3 `json:"s3,omitempty"` Gcs *ResourceJobTaskNewClusterInitScriptsGcs `json:"gcs,omitempty"`
S3 *ResourceJobTaskNewClusterInitScriptsS3 `json:"s3,omitempty"`
} }
type ResourceJobTaskNewClusterWorkloadTypeClients struct { type ResourceJobTaskNewClusterWorkloadTypeClients struct {
@ -494,40 +551,42 @@ type ResourceJobTaskNewClusterWorkloadType struct {
} }
type ResourceJobTaskNewCluster struct { type ResourceJobTaskNewCluster struct {
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"` ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"` AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
ClusterId string `json:"cluster_id,omitempty"` ClusterId string `json:"cluster_id,omitempty"`
ClusterName string `json:"cluster_name,omitempty"` ClusterName string `json:"cluster_name,omitempty"`
CustomTags map[string]string `json:"custom_tags,omitempty"` CustomTags map[string]string `json:"custom_tags,omitempty"`
DataSecurityMode string `json:"data_security_mode,omitempty"` DataSecurityMode string `json:"data_security_mode,omitempty"`
DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"` DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"`
DriverNodeTypeId string `json:"driver_node_type_id,omitempty"` DriverNodeTypeId string `json:"driver_node_type_id,omitempty"`
EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"` EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"`
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"` EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
IdempotencyToken string `json:"idempotency_token,omitempty"` IdempotencyToken string `json:"idempotency_token,omitempty"`
InstancePoolId string `json:"instance_pool_id,omitempty"` InstancePoolId string `json:"instance_pool_id,omitempty"`
NodeTypeId string `json:"node_type_id,omitempty"` NodeTypeId string `json:"node_type_id,omitempty"`
NumWorkers int `json:"num_workers,omitempty"` NumWorkers int `json:"num_workers,omitempty"`
PolicyId string `json:"policy_id,omitempty"` PolicyId string `json:"policy_id,omitempty"`
RuntimeEngine string `json:"runtime_engine,omitempty"` RuntimeEngine string `json:"runtime_engine,omitempty"`
SingleUserName string `json:"single_user_name,omitempty"` SingleUserName string `json:"single_user_name,omitempty"`
SparkConf map[string]string `json:"spark_conf,omitempty"` SparkConf map[string]string `json:"spark_conf,omitempty"`
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"` SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
SparkVersion string `json:"spark_version"` SparkVersion string `json:"spark_version"`
SshPublicKeys []string `json:"ssh_public_keys,omitempty"` SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
Autoscale *ResourceJobTaskNewClusterAutoscale `json:"autoscale,omitempty"` Autoscale *ResourceJobTaskNewClusterAutoscale `json:"autoscale,omitempty"`
AwsAttributes *ResourceJobTaskNewClusterAwsAttributes `json:"aws_attributes,omitempty"` AwsAttributes *ResourceJobTaskNewClusterAwsAttributes `json:"aws_attributes,omitempty"`
AzureAttributes *ResourceJobTaskNewClusterAzureAttributes `json:"azure_attributes,omitempty"` AzureAttributes *ResourceJobTaskNewClusterAzureAttributes `json:"azure_attributes,omitempty"`
ClusterLogConf *ResourceJobTaskNewClusterClusterLogConf `json:"cluster_log_conf,omitempty"` ClusterLogConf *ResourceJobTaskNewClusterClusterLogConf `json:"cluster_log_conf,omitempty"`
DockerImage *ResourceJobTaskNewClusterDockerImage `json:"docker_image,omitempty"` ClusterMountInfo []ResourceJobTaskNewClusterClusterMountInfo `json:"cluster_mount_info,omitempty"`
GcpAttributes *ResourceJobTaskNewClusterGcpAttributes `json:"gcp_attributes,omitempty"` DockerImage *ResourceJobTaskNewClusterDockerImage `json:"docker_image,omitempty"`
InitScripts []ResourceJobTaskNewClusterInitScripts `json:"init_scripts,omitempty"` GcpAttributes *ResourceJobTaskNewClusterGcpAttributes `json:"gcp_attributes,omitempty"`
WorkloadType *ResourceJobTaskNewClusterWorkloadType `json:"workload_type,omitempty"` InitScripts []ResourceJobTaskNewClusterInitScripts `json:"init_scripts,omitempty"`
WorkloadType *ResourceJobTaskNewClusterWorkloadType `json:"workload_type,omitempty"`
} }
type ResourceJobTaskNotebookTask struct { type ResourceJobTaskNotebookTask struct {
BaseParameters map[string]string `json:"base_parameters,omitempty"` BaseParameters map[string]string `json:"base_parameters,omitempty"`
NotebookPath string `json:"notebook_path"` NotebookPath string `json:"notebook_path"`
Source string `json:"source,omitempty"`
} }
type ResourceJobTaskPipelineTask struct { type ResourceJobTaskPipelineTask struct {
@ -630,6 +689,7 @@ type ResourceJob struct {
Tags map[string]string `json:"tags,omitempty"` Tags map[string]string `json:"tags,omitempty"`
TimeoutSeconds int `json:"timeout_seconds,omitempty"` TimeoutSeconds int `json:"timeout_seconds,omitempty"`
Url string `json:"url,omitempty"` Url string `json:"url,omitempty"`
Continuous *ResourceJobContinuous `json:"continuous,omitempty"`
DbtTask *ResourceJobDbtTask `json:"dbt_task,omitempty"` DbtTask *ResourceJobDbtTask `json:"dbt_task,omitempty"`
EmailNotifications *ResourceJobEmailNotifications `json:"email_notifications,omitempty"` EmailNotifications *ResourceJobEmailNotifications `json:"email_notifications,omitempty"`
GitSource *ResourceJobGitSource `json:"git_source,omitempty"` GitSource *ResourceJobGitSource `json:"git_source,omitempty"`

View File

@ -16,13 +16,25 @@ type ResourceMetastoreDataAccessAzureServicePrincipal struct {
DirectoryId string `json:"directory_id"` DirectoryId string `json:"directory_id"`
} }
type ResourceMetastoreDataAccess struct { type ResourceMetastoreDataAccessDatabricksGcpServiceAccount struct {
ConfigurationType string `json:"configuration_type,omitempty"` Email string `json:"email,omitempty"`
Id string `json:"id,omitempty"` }
IsDefault bool `json:"is_default,omitempty"`
MetastoreId string `json:"metastore_id"` type ResourceMetastoreDataAccessGcpServiceAccountKey struct {
Name string `json:"name"` Email string `json:"email"`
AwsIamRole *ResourceMetastoreDataAccessAwsIamRole `json:"aws_iam_role,omitempty"` PrivateKey string `json:"private_key"`
AzureManagedIdentity *ResourceMetastoreDataAccessAzureManagedIdentity `json:"azure_managed_identity,omitempty"` PrivateKeyId string `json:"private_key_id"`
AzureServicePrincipal *ResourceMetastoreDataAccessAzureServicePrincipal `json:"azure_service_principal,omitempty"` }
type ResourceMetastoreDataAccess struct {
ConfigurationType string `json:"configuration_type,omitempty"`
Id string `json:"id,omitempty"`
IsDefault bool `json:"is_default,omitempty"`
MetastoreId string `json:"metastore_id"`
Name string `json:"name"`
AwsIamRole *ResourceMetastoreDataAccessAwsIamRole `json:"aws_iam_role,omitempty"`
AzureManagedIdentity *ResourceMetastoreDataAccessAzureManagedIdentity `json:"azure_managed_identity,omitempty"`
AzureServicePrincipal *ResourceMetastoreDataAccessAzureServicePrincipal `json:"azure_service_principal,omitempty"`
DatabricksGcpServiceAccount *ResourceMetastoreDataAccessDatabricksGcpServiceAccount `json:"databricks_gcp_service_account,omitempty"`
GcpServiceAccountKey *ResourceMetastoreDataAccessGcpServiceAccountKey `json:"gcp_service_account_key,omitempty"`
} }

View File

@ -0,0 +1,31 @@
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
package schema
type ResourceModelServingConfigServedModels struct {
ModelName string `json:"model_name"`
ModelVersion string `json:"model_version"`
Name string `json:"name,omitempty"`
ScaleToZeroEnabled bool `json:"scale_to_zero_enabled,omitempty"`
WorkloadSize string `json:"workload_size"`
}
type ResourceModelServingConfigTrafficConfigRoutes struct {
ServedModelName string `json:"served_model_name"`
TrafficPercentage int `json:"traffic_percentage"`
}
type ResourceModelServingConfigTrafficConfig struct {
Routes []ResourceModelServingConfigTrafficConfigRoutes `json:"routes,omitempty"`
}
type ResourceModelServingConfig struct {
ServedModels []ResourceModelServingConfigServedModels `json:"served_models,omitempty"`
TrafficConfig *ResourceModelServingConfigTrafficConfig `json:"traffic_config,omitempty"`
}
type ResourceModelServing struct {
Id string `json:"id,omitempty"`
Name string `json:"name"`
Config *ResourceModelServingConfig `json:"config,omitempty"`
}

View File

@ -8,6 +8,10 @@ type ResourceMwsCustomerManagedKeysAwsKeyInfo struct {
KeyRegion string `json:"key_region,omitempty"` KeyRegion string `json:"key_region,omitempty"`
} }
type ResourceMwsCustomerManagedKeysGcpKeyInfo struct {
KmsKeyId string `json:"kms_key_id"`
}
type ResourceMwsCustomerManagedKeys struct { type ResourceMwsCustomerManagedKeys struct {
AccountId string `json:"account_id"` AccountId string `json:"account_id"`
CreationTime int `json:"creation_time,omitempty"` CreationTime int `json:"creation_time,omitempty"`
@ -15,4 +19,5 @@ type ResourceMwsCustomerManagedKeys struct {
Id string `json:"id,omitempty"` Id string `json:"id,omitempty"`
UseCases []string `json:"use_cases"` UseCases []string `json:"use_cases"`
AwsKeyInfo *ResourceMwsCustomerManagedKeysAwsKeyInfo `json:"aws_key_info,omitempty"` AwsKeyInfo *ResourceMwsCustomerManagedKeysAwsKeyInfo `json:"aws_key_info,omitempty"`
GcpKeyInfo *ResourceMwsCustomerManagedKeysGcpKeyInfo `json:"gcp_key_info,omitempty"`
} }

View File

@ -7,6 +7,15 @@ type ResourceMwsNetworksErrorMessages struct {
ErrorType string `json:"error_type,omitempty"` ErrorType string `json:"error_type,omitempty"`
} }
type ResourceMwsNetworksGcpNetworkInfo struct {
NetworkProjectId string `json:"network_project_id"`
PodIpRangeName string `json:"pod_ip_range_name"`
ServiceIpRangeName string `json:"service_ip_range_name"`
SubnetId string `json:"subnet_id"`
SubnetRegion string `json:"subnet_region"`
VpcId string `json:"vpc_id"`
}
type ResourceMwsNetworksVpcEndpoints struct { type ResourceMwsNetworksVpcEndpoints struct {
DataplaneRelay []string `json:"dataplane_relay"` DataplaneRelay []string `json:"dataplane_relay"`
RestApi []string `json:"rest_api"` RestApi []string `json:"rest_api"`
@ -18,11 +27,12 @@ type ResourceMwsNetworks struct {
Id string `json:"id,omitempty"` Id string `json:"id,omitempty"`
NetworkId string `json:"network_id,omitempty"` NetworkId string `json:"network_id,omitempty"`
NetworkName string `json:"network_name"` NetworkName string `json:"network_name"`
SecurityGroupIds []string `json:"security_group_ids"` SecurityGroupIds []string `json:"security_group_ids,omitempty"`
SubnetIds []string `json:"subnet_ids"` SubnetIds []string `json:"subnet_ids,omitempty"`
VpcId string `json:"vpc_id"` VpcId string `json:"vpc_id,omitempty"`
VpcStatus string `json:"vpc_status,omitempty"` VpcStatus string `json:"vpc_status,omitempty"`
WorkspaceId int `json:"workspace_id,omitempty"` WorkspaceId int `json:"workspace_id,omitempty"`
ErrorMessages []ResourceMwsNetworksErrorMessages `json:"error_messages,omitempty"` ErrorMessages []ResourceMwsNetworksErrorMessages `json:"error_messages,omitempty"`
GcpNetworkInfo *ResourceMwsNetworksGcpNetworkInfo `json:"gcp_network_info,omitempty"`
VpcEndpoints *ResourceMwsNetworksVpcEndpoints `json:"vpc_endpoints,omitempty"` VpcEndpoints *ResourceMwsNetworksVpcEndpoints `json:"vpc_endpoints,omitempty"`
} }

View File

@ -2,15 +2,24 @@
package schema package schema
type ResourceMwsVpcEndpoint struct { type ResourceMwsVpcEndpointGcpVpcEndpointInfo struct {
AccountId string `json:"account_id,omitempty"` EndpointRegion string `json:"endpoint_region"`
AwsAccountId string `json:"aws_account_id,omitempty"` ProjectId string `json:"project_id"`
AwsEndpointServiceId string `json:"aws_endpoint_service_id,omitempty"` PscConnectionId string `json:"psc_connection_id,omitempty"`
AwsVpcEndpointId string `json:"aws_vpc_endpoint_id"` PscEndpointName string `json:"psc_endpoint_name"`
Id string `json:"id,omitempty"` ServiceAttachmentId string `json:"service_attachment_id,omitempty"`
Region string `json:"region"` }
State string `json:"state,omitempty"`
UseCase string `json:"use_case,omitempty"` type ResourceMwsVpcEndpoint struct {
VpcEndpointId string `json:"vpc_endpoint_id,omitempty"` AccountId string `json:"account_id,omitempty"`
VpcEndpointName string `json:"vpc_endpoint_name"` AwsAccountId string `json:"aws_account_id,omitempty"`
AwsEndpointServiceId string `json:"aws_endpoint_service_id,omitempty"`
AwsVpcEndpointId string `json:"aws_vpc_endpoint_id,omitempty"`
Id string `json:"id,omitempty"`
Region string `json:"region,omitempty"`
State string `json:"state,omitempty"`
UseCase string `json:"use_case,omitempty"`
VpcEndpointId string `json:"vpc_endpoint_id,omitempty"`
VpcEndpointName string `json:"vpc_endpoint_name"`
GcpVpcEndpointInfo *ResourceMwsVpcEndpointGcpVpcEndpointInfo `json:"gcp_vpc_endpoint_info,omitempty"`
} }

View File

@ -2,12 +2,12 @@
package schema package schema
type ResourceMwsWorkspacesCloudResourceBucketGcp struct { type ResourceMwsWorkspacesCloudResourceContainerGcp struct {
ProjectId string `json:"project_id"` ProjectId string `json:"project_id"`
} }
type ResourceMwsWorkspacesCloudResourceBucket struct { type ResourceMwsWorkspacesCloudResourceContainer struct {
Gcp *ResourceMwsWorkspacesCloudResourceBucketGcp `json:"gcp,omitempty"` Gcp *ResourceMwsWorkspacesCloudResourceContainerGcp `json:"gcp,omitempty"`
} }
type ResourceMwsWorkspacesExternalCustomerInfo struct { type ResourceMwsWorkspacesExternalCustomerInfo struct {
@ -16,21 +16,15 @@ type ResourceMwsWorkspacesExternalCustomerInfo struct {
CustomerName string `json:"customer_name"` CustomerName string `json:"customer_name"`
} }
type ResourceMwsWorkspacesNetworkGcpCommonNetworkConfig struct { type ResourceMwsWorkspacesGcpManagedNetworkConfig struct {
GkeClusterMasterIpRange string `json:"gke_cluster_master_ip_range"`
GkeConnectivityType string `json:"gke_connectivity_type"`
}
type ResourceMwsWorkspacesNetworkGcpManagedNetworkConfig struct {
GkeClusterPodIpRange string `json:"gke_cluster_pod_ip_range"` GkeClusterPodIpRange string `json:"gke_cluster_pod_ip_range"`
GkeClusterServiceIpRange string `json:"gke_cluster_service_ip_range"` GkeClusterServiceIpRange string `json:"gke_cluster_service_ip_range"`
SubnetCidr string `json:"subnet_cidr"` SubnetCidr string `json:"subnet_cidr"`
} }
type ResourceMwsWorkspacesNetwork struct { type ResourceMwsWorkspacesGkeConfig struct {
NetworkId string `json:"network_id,omitempty"` ConnectivityType string `json:"connectivity_type"`
GcpCommonNetworkConfig *ResourceMwsWorkspacesNetworkGcpCommonNetworkConfig `json:"gcp_common_network_config,omitempty"` MasterIpRange string `json:"master_ip_range"`
GcpManagedNetworkConfig *ResourceMwsWorkspacesNetworkGcpManagedNetworkConfig `json:"gcp_managed_network_config,omitempty"`
} }
type ResourceMwsWorkspacesToken struct { type ResourceMwsWorkspacesToken struct {
@ -41,29 +35,30 @@ type ResourceMwsWorkspacesToken struct {
} }
type ResourceMwsWorkspaces struct { type ResourceMwsWorkspaces struct {
AccountId string `json:"account_id"` AccountId string `json:"account_id"`
AwsRegion string `json:"aws_region,omitempty"` AwsRegion string `json:"aws_region,omitempty"`
Cloud string `json:"cloud,omitempty"` Cloud string `json:"cloud,omitempty"`
CreationTime int `json:"creation_time,omitempty"` CreationTime int `json:"creation_time,omitempty"`
CredentialsId string `json:"credentials_id,omitempty"` CredentialsId string `json:"credentials_id,omitempty"`
CustomerManagedKeyId string `json:"customer_managed_key_id,omitempty"` CustomerManagedKeyId string `json:"customer_managed_key_id,omitempty"`
DeploymentName string `json:"deployment_name,omitempty"` DeploymentName string `json:"deployment_name,omitempty"`
Id string `json:"id,omitempty"` Id string `json:"id,omitempty"`
IsNoPublicIpEnabled bool `json:"is_no_public_ip_enabled,omitempty"` IsNoPublicIpEnabled bool `json:"is_no_public_ip_enabled,omitempty"`
Location string `json:"location,omitempty"` Location string `json:"location,omitempty"`
ManagedServicesCustomerManagedKeyId string `json:"managed_services_customer_managed_key_id,omitempty"` ManagedServicesCustomerManagedKeyId string `json:"managed_services_customer_managed_key_id,omitempty"`
NetworkId string `json:"network_id,omitempty"` NetworkId string `json:"network_id,omitempty"`
PricingTier string `json:"pricing_tier,omitempty"` PricingTier string `json:"pricing_tier,omitempty"`
PrivateAccessSettingsId string `json:"private_access_settings_id,omitempty"` PrivateAccessSettingsId string `json:"private_access_settings_id,omitempty"`
StorageConfigurationId string `json:"storage_configuration_id,omitempty"` StorageConfigurationId string `json:"storage_configuration_id,omitempty"`
StorageCustomerManagedKeyId string `json:"storage_customer_managed_key_id,omitempty"` StorageCustomerManagedKeyId string `json:"storage_customer_managed_key_id,omitempty"`
WorkspaceId int `json:"workspace_id,omitempty"` WorkspaceId int `json:"workspace_id,omitempty"`
WorkspaceName string `json:"workspace_name"` WorkspaceName string `json:"workspace_name"`
WorkspaceStatus string `json:"workspace_status,omitempty"` WorkspaceStatus string `json:"workspace_status,omitempty"`
WorkspaceStatusMessage string `json:"workspace_status_message,omitempty"` WorkspaceStatusMessage string `json:"workspace_status_message,omitempty"`
WorkspaceUrl string `json:"workspace_url,omitempty"` WorkspaceUrl string `json:"workspace_url,omitempty"`
CloudResourceBucket *ResourceMwsWorkspacesCloudResourceBucket `json:"cloud_resource_bucket,omitempty"` CloudResourceContainer *ResourceMwsWorkspacesCloudResourceContainer `json:"cloud_resource_container,omitempty"`
ExternalCustomerInfo *ResourceMwsWorkspacesExternalCustomerInfo `json:"external_customer_info,omitempty"` ExternalCustomerInfo *ResourceMwsWorkspacesExternalCustomerInfo `json:"external_customer_info,omitempty"`
Network *ResourceMwsWorkspacesNetwork `json:"network,omitempty"` GcpManagedNetworkConfig *ResourceMwsWorkspacesGcpManagedNetworkConfig `json:"gcp_managed_network_config,omitempty"`
Token *ResourceMwsWorkspacesToken `json:"token,omitempty"` GkeConfig *ResourceMwsWorkspacesGkeConfig `json:"gke_config,omitempty"`
Token *ResourceMwsWorkspacesToken `json:"token,omitempty"`
} }

View File

@ -4,8 +4,8 @@ package schema
type ResourceOboToken struct { type ResourceOboToken struct {
ApplicationId string `json:"application_id"` ApplicationId string `json:"application_id"`
Comment string `json:"comment"` Comment string `json:"comment,omitempty"`
Id string `json:"id,omitempty"` Id string `json:"id,omitempty"`
LifetimeSeconds int `json:"lifetime_seconds"` LifetimeSeconds int `json:"lifetime_seconds,omitempty"`
TokenValue string `json:"token_value,omitempty"` TokenValue string `json:"token_value,omitempty"`
} }

View File

@ -9,9 +9,20 @@ type ResourcePipelineClusterAutoscale struct {
} }
type ResourcePipelineClusterAwsAttributes struct { type ResourcePipelineClusterAwsAttributes struct {
FirstOnDemand int `json:"first_on_demand,omitempty"` Availability string `json:"availability,omitempty"`
InstanceProfileArn string `json:"instance_profile_arn,omitempty"` EbsVolumeCount int `json:"ebs_volume_count,omitempty"`
ZoneId string `json:"zone_id,omitempty"` EbsVolumeSize int `json:"ebs_volume_size,omitempty"`
EbsVolumeType string `json:"ebs_volume_type,omitempty"`
FirstOnDemand int `json:"first_on_demand,omitempty"`
InstanceProfileArn string `json:"instance_profile_arn,omitempty"`
SpotBidPricePercent int `json:"spot_bid_price_percent,omitempty"`
ZoneId string `json:"zone_id,omitempty"`
}
type ResourcePipelineClusterAzureAttributes struct {
Availability string `json:"availability,omitempty"`
FirstOnDemand int `json:"first_on_demand,omitempty"`
SpotBidMaxPrice int `json:"spot_bid_max_price,omitempty"`
} }
type ResourcePipelineClusterClusterLogConfDbfs struct { type ResourcePipelineClusterClusterLogConfDbfs struct {
@ -34,7 +45,13 @@ type ResourcePipelineClusterClusterLogConf struct {
} }
type ResourcePipelineClusterGcpAttributes struct { type ResourcePipelineClusterGcpAttributes struct {
Availability string `json:"availability,omitempty"`
GoogleServiceAccount string `json:"google_service_account,omitempty"` GoogleServiceAccount string `json:"google_service_account,omitempty"`
ZoneId string `json:"zone_id,omitempty"`
}
type ResourcePipelineClusterInitScriptsAbfss struct {
Destination string `json:"destination,omitempty"`
} }
type ResourcePipelineClusterInitScriptsDbfs struct { type ResourcePipelineClusterInitScriptsDbfs struct {
@ -60,30 +77,33 @@ type ResourcePipelineClusterInitScriptsS3 struct {
} }
type ResourcePipelineClusterInitScripts struct { type ResourcePipelineClusterInitScripts struct {
Dbfs *ResourcePipelineClusterInitScriptsDbfs `json:"dbfs,omitempty"` Abfss *ResourcePipelineClusterInitScriptsAbfss `json:"abfss,omitempty"`
File *ResourcePipelineClusterInitScriptsFile `json:"file,omitempty"` Dbfs *ResourcePipelineClusterInitScriptsDbfs `json:"dbfs,omitempty"`
Gcs *ResourcePipelineClusterInitScriptsGcs `json:"gcs,omitempty"` File *ResourcePipelineClusterInitScriptsFile `json:"file,omitempty"`
S3 *ResourcePipelineClusterInitScriptsS3 `json:"s3,omitempty"` Gcs *ResourcePipelineClusterInitScriptsGcs `json:"gcs,omitempty"`
S3 *ResourcePipelineClusterInitScriptsS3 `json:"s3,omitempty"`
} }
type ResourcePipelineCluster struct { type ResourcePipelineCluster struct {
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"` ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
CustomTags map[string]string `json:"custom_tags,omitempty"` CustomTags map[string]string `json:"custom_tags,omitempty"`
DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"` DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"`
DriverNodeTypeId string `json:"driver_node_type_id,omitempty"` DriverNodeTypeId string `json:"driver_node_type_id,omitempty"`
InstancePoolId string `json:"instance_pool_id,omitempty"` EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
Label string `json:"label,omitempty"` InstancePoolId string `json:"instance_pool_id,omitempty"`
NodeTypeId string `json:"node_type_id,omitempty"` Label string `json:"label,omitempty"`
NumWorkers int `json:"num_workers,omitempty"` NodeTypeId string `json:"node_type_id,omitempty"`
PolicyId string `json:"policy_id,omitempty"` NumWorkers int `json:"num_workers,omitempty"`
SparkConf map[string]string `json:"spark_conf,omitempty"` PolicyId string `json:"policy_id,omitempty"`
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"` SparkConf map[string]string `json:"spark_conf,omitempty"`
SshPublicKeys []string `json:"ssh_public_keys,omitempty"` SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
Autoscale *ResourcePipelineClusterAutoscale `json:"autoscale,omitempty"` SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
AwsAttributes *ResourcePipelineClusterAwsAttributes `json:"aws_attributes,omitempty"` Autoscale *ResourcePipelineClusterAutoscale `json:"autoscale,omitempty"`
ClusterLogConf *ResourcePipelineClusterClusterLogConf `json:"cluster_log_conf,omitempty"` AwsAttributes *ResourcePipelineClusterAwsAttributes `json:"aws_attributes,omitempty"`
GcpAttributes *ResourcePipelineClusterGcpAttributes `json:"gcp_attributes,omitempty"` AzureAttributes *ResourcePipelineClusterAzureAttributes `json:"azure_attributes,omitempty"`
InitScripts []ResourcePipelineClusterInitScripts `json:"init_scripts,omitempty"` ClusterLogConf *ResourcePipelineClusterClusterLogConf `json:"cluster_log_conf,omitempty"`
GcpAttributes *ResourcePipelineClusterGcpAttributes `json:"gcp_attributes,omitempty"`
InitScripts []ResourcePipelineClusterInitScripts `json:"init_scripts,omitempty"`
} }
type ResourcePipelineFilters struct { type ResourcePipelineFilters struct {
@ -91,6 +111,10 @@ type ResourcePipelineFilters struct {
Include []string `json:"include,omitempty"` Include []string `json:"include,omitempty"`
} }
type ResourcePipelineLibraryFile struct {
Path string `json:"path"`
}
type ResourcePipelineLibraryMaven struct { type ResourcePipelineLibraryMaven struct {
Coordinates string `json:"coordinates"` Coordinates string `json:"coordinates"`
Exclusions []string `json:"exclusions,omitempty"` Exclusions []string `json:"exclusions,omitempty"`
@ -104,12 +128,14 @@ type ResourcePipelineLibraryNotebook struct {
type ResourcePipelineLibrary struct { type ResourcePipelineLibrary struct {
Jar string `json:"jar,omitempty"` Jar string `json:"jar,omitempty"`
Whl string `json:"whl,omitempty"` Whl string `json:"whl,omitempty"`
File *ResourcePipelineLibraryFile `json:"file,omitempty"`
Maven *ResourcePipelineLibraryMaven `json:"maven,omitempty"` Maven *ResourcePipelineLibraryMaven `json:"maven,omitempty"`
Notebook *ResourcePipelineLibraryNotebook `json:"notebook,omitempty"` Notebook *ResourcePipelineLibraryNotebook `json:"notebook,omitempty"`
} }
type ResourcePipeline struct { type ResourcePipeline struct {
AllowDuplicateNames bool `json:"allow_duplicate_names,omitempty"` AllowDuplicateNames bool `json:"allow_duplicate_names,omitempty"`
Catalog string `json:"catalog,omitempty"`
Channel string `json:"channel,omitempty"` Channel string `json:"channel,omitempty"`
Configuration map[string]string `json:"configuration,omitempty"` Configuration map[string]string `json:"configuration,omitempty"`
Continuous bool `json:"continuous,omitempty"` Continuous bool `json:"continuous,omitempty"`

View File

@ -0,0 +1,11 @@
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
package schema
type ResourceProvider struct {
AuthenticationType string `json:"authentication_type"`
Comment string `json:"comment,omitempty"`
Id string `json:"id,omitempty"`
Name string `json:"name"`
RecipientProfileStr string `json:"recipient_profile_str"`
}

View File

@ -2,12 +2,17 @@
package schema package schema
type ResourceRepo struct { type ResourceRepoSparseCheckout struct {
Branch string `json:"branch,omitempty"` Patterns []string `json:"patterns"`
CommitHash string `json:"commit_hash,omitempty"` }
GitProvider string `json:"git_provider,omitempty"`
Id string `json:"id,omitempty"` type ResourceRepo struct {
Path string `json:"path,omitempty"` Branch string `json:"branch,omitempty"`
Tag string `json:"tag,omitempty"` CommitHash string `json:"commit_hash,omitempty"`
Url string `json:"url"` GitProvider string `json:"git_provider,omitempty"`
Id string `json:"id,omitempty"`
Path string `json:"path,omitempty"`
Tag string `json:"tag,omitempty"`
Url string `json:"url"`
SparseCheckout *ResourceRepoSparseCheckout `json:"sparse_checkout,omitempty"`
} }

View File

@ -11,4 +11,5 @@ type ResourceSchema struct {
Name string `json:"name"` Name string `json:"name"`
Owner string `json:"owner,omitempty"` Owner string `json:"owner,omitempty"`
Properties map[string]string `json:"properties,omitempty"` Properties map[string]string `json:"properties,omitempty"`
StorageRoot string `json:"storage_root,omitempty"`
} }

View File

@ -3,6 +3,7 @@
package schema package schema
type ResourceSecret struct { type ResourceSecret struct {
ConfigReference string `json:"config_reference,omitempty"`
Id string `json:"id,omitempty"` Id string `json:"id,omitempty"`
Key string `json:"key"` Key string `json:"key"`
LastUpdatedTimestamp int `json:"last_updated_timestamp,omitempty"` LastUpdatedTimestamp int `json:"last_updated_timestamp,omitempty"`

View File

@ -11,6 +11,10 @@ type ResourceServicePrincipal struct {
DisplayName string `json:"display_name,omitempty"` DisplayName string `json:"display_name,omitempty"`
ExternalId string `json:"external_id,omitempty"` ExternalId string `json:"external_id,omitempty"`
Force bool `json:"force,omitempty"` Force bool `json:"force,omitempty"`
ForceDeleteHomeDir bool `json:"force_delete_home_dir,omitempty"`
ForceDeleteRepos bool `json:"force_delete_repos,omitempty"`
Home string `json:"home,omitempty"`
Id string `json:"id,omitempty"` Id string `json:"id,omitempty"`
Repos string `json:"repos,omitempty"`
WorkspaceAccess bool `json:"workspace_access,omitempty"` WorkspaceAccess bool `json:"workspace_access,omitempty"`
} }

View File

@ -2,13 +2,29 @@
package schema package schema
type ResourceShareObjectPartitionValue struct {
Name string `json:"name"`
Op string `json:"op"`
RecipientPropertyKey string `json:"recipient_property_key,omitempty"`
Value string `json:"value,omitempty"`
}
type ResourceShareObjectPartition struct {
Value []ResourceShareObjectPartitionValue `json:"value,omitempty"`
}
type ResourceShareObject struct { type ResourceShareObject struct {
AddedAt int `json:"added_at,omitempty"` AddedAt int `json:"added_at,omitempty"`
AddedBy string `json:"added_by,omitempty"` AddedBy string `json:"added_by,omitempty"`
Comment string `json:"comment,omitempty"` CdfEnabled bool `json:"cdf_enabled,omitempty"`
DataObjectType string `json:"data_object_type"` Comment string `json:"comment,omitempty"`
Name string `json:"name"` DataObjectType string `json:"data_object_type"`
SharedAs string `json:"shared_as,omitempty"` HistoryDataSharingStatus string `json:"history_data_sharing_status,omitempty"`
Name string `json:"name"`
SharedAs string `json:"shared_as,omitempty"`
StartVersion int `json:"start_version,omitempty"`
Status string `json:"status,omitempty"`
Partition []ResourceShareObjectPartition `json:"partition,omitempty"`
} }
type ResourceShare struct { type ResourceShare struct {

View File

@ -0,0 +1,21 @@
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
package schema
type ResourceSqlAlertOptions struct {
Column string `json:"column"`
CustomBody string `json:"custom_body,omitempty"`
CustomSubject string `json:"custom_subject,omitempty"`
Muted bool `json:"muted,omitempty"`
Op string `json:"op"`
Value string `json:"value"`
}
type ResourceSqlAlert struct {
Id string `json:"id,omitempty"`
Name string `json:"name"`
Parent string `json:"parent,omitempty"`
QueryId string `json:"query_id"`
Rearm int `json:"rearm,omitempty"`
Options *ResourceSqlAlertOptions `json:"options,omitempty"`
}

View File

@ -3,7 +3,8 @@
package schema package schema
type ResourceSqlDashboard struct { type ResourceSqlDashboard struct {
Id string `json:"id,omitempty"` Id string `json:"id,omitempty"`
Name string `json:"name"` Name string `json:"name"`
Tags []string `json:"tags,omitempty"` Parent string `json:"parent,omitempty"`
Tags []string `json:"tags,omitempty"`
} }

View File

@ -6,24 +6,42 @@ type ResourceSqlQueryParameterDate struct {
Value string `json:"value"` Value string `json:"value"`
} }
type ResourceSqlQueryParameterDateRangeRange struct {
End string `json:"end"`
Start string `json:"start"`
}
type ResourceSqlQueryParameterDateRange struct { type ResourceSqlQueryParameterDateRange struct {
Value string `json:"value"` Value string `json:"value,omitempty"`
Range *ResourceSqlQueryParameterDateRangeRange `json:"range,omitempty"`
} }
type ResourceSqlQueryParameterDatetime struct { type ResourceSqlQueryParameterDatetime struct {
Value string `json:"value"` Value string `json:"value"`
} }
type ResourceSqlQueryParameterDatetimeRangeRange struct {
End string `json:"end"`
Start string `json:"start"`
}
type ResourceSqlQueryParameterDatetimeRange struct { type ResourceSqlQueryParameterDatetimeRange struct {
Value string `json:"value"` Value string `json:"value,omitempty"`
Range *ResourceSqlQueryParameterDatetimeRangeRange `json:"range,omitempty"`
} }
type ResourceSqlQueryParameterDatetimesec struct { type ResourceSqlQueryParameterDatetimesec struct {
Value string `json:"value"` Value string `json:"value"`
} }
type ResourceSqlQueryParameterDatetimesecRangeRange struct {
End string `json:"end"`
Start string `json:"start"`
}
type ResourceSqlQueryParameterDatetimesecRange struct { type ResourceSqlQueryParameterDatetimesecRange struct {
Value string `json:"value"` Value string `json:"value,omitempty"`
Range *ResourceSqlQueryParameterDatetimesecRangeRange `json:"range,omitempty"`
} }
type ResourceSqlQueryParameterEnumMultiple struct { type ResourceSqlQueryParameterEnumMultiple struct {
@ -104,6 +122,7 @@ type ResourceSqlQuery struct {
Description string `json:"description,omitempty"` Description string `json:"description,omitempty"`
Id string `json:"id,omitempty"` Id string `json:"id,omitempty"`
Name string `json:"name"` Name string `json:"name"`
Parent string `json:"parent,omitempty"`
Query string `json:"query"` Query string `json:"query"`
RunAsRole string `json:"run_as_role,omitempty"` RunAsRole string `json:"run_as_role,omitempty"`
Tags []string `json:"tags,omitempty"` Tags []string `json:"tags,omitempty"`

View File

@ -16,13 +16,25 @@ type ResourceStorageCredentialAzureServicePrincipal struct {
DirectoryId string `json:"directory_id"` DirectoryId string `json:"directory_id"`
} }
type ResourceStorageCredential struct { type ResourceStorageCredentialDatabricksGcpServiceAccount struct {
Comment string `json:"comment,omitempty"` Email string `json:"email,omitempty"`
Id string `json:"id,omitempty"` }
MetastoreId string `json:"metastore_id,omitempty"`
Name string `json:"name"` type ResourceStorageCredentialGcpServiceAccountKey struct {
Owner string `json:"owner,omitempty"` Email string `json:"email"`
AwsIamRole *ResourceStorageCredentialAwsIamRole `json:"aws_iam_role,omitempty"` PrivateKey string `json:"private_key"`
AzureManagedIdentity *ResourceStorageCredentialAzureManagedIdentity `json:"azure_managed_identity,omitempty"` PrivateKeyId string `json:"private_key_id"`
AzureServicePrincipal *ResourceStorageCredentialAzureServicePrincipal `json:"azure_service_principal,omitempty"` }
type ResourceStorageCredential struct {
Comment string `json:"comment,omitempty"`
Id string `json:"id,omitempty"`
MetastoreId string `json:"metastore_id,omitempty"`
Name string `json:"name"`
Owner string `json:"owner,omitempty"`
AwsIamRole *ResourceStorageCredentialAwsIamRole `json:"aws_iam_role,omitempty"`
AzureManagedIdentity *ResourceStorageCredentialAzureManagedIdentity `json:"azure_managed_identity,omitempty"`
AzureServicePrincipal *ResourceStorageCredentialAzureServicePrincipal `json:"azure_service_principal,omitempty"`
DatabricksGcpServiceAccount *ResourceStorageCredentialDatabricksGcpServiceAccount `json:"databricks_gcp_service_account,omitempty"`
GcpServiceAccountKey *ResourceStorageCredentialGcpServiceAccountKey `json:"gcp_service_account_key,omitempty"`
} }

View File

@ -10,7 +10,11 @@ type ResourceUser struct {
DisplayName string `json:"display_name,omitempty"` DisplayName string `json:"display_name,omitempty"`
ExternalId string `json:"external_id,omitempty"` ExternalId string `json:"external_id,omitempty"`
Force bool `json:"force,omitempty"` Force bool `json:"force,omitempty"`
ForceDeleteHomeDir bool `json:"force_delete_home_dir,omitempty"`
ForceDeleteRepos bool `json:"force_delete_repos,omitempty"`
Home string `json:"home,omitempty"`
Id string `json:"id,omitempty"` Id string `json:"id,omitempty"`
Repos string `json:"repos,omitempty"`
UserName string `json:"user_name"` UserName string `json:"user_name"`
WorkspaceAccess bool `json:"workspace_access,omitempty"` WorkspaceAccess bool `json:"workspace_access,omitempty"`
} }

View File

@ -32,6 +32,7 @@ type Resources struct {
MlflowExperiment map[string]*ResourceMlflowExperiment `json:"databricks_mlflow_experiment,omitempty"` MlflowExperiment map[string]*ResourceMlflowExperiment `json:"databricks_mlflow_experiment,omitempty"`
MlflowModel map[string]*ResourceMlflowModel `json:"databricks_mlflow_model,omitempty"` MlflowModel map[string]*ResourceMlflowModel `json:"databricks_mlflow_model,omitempty"`
MlflowWebhook map[string]*ResourceMlflowWebhook `json:"databricks_mlflow_webhook,omitempty"` MlflowWebhook map[string]*ResourceMlflowWebhook `json:"databricks_mlflow_webhook,omitempty"`
ModelServing map[string]*ResourceModelServing `json:"databricks_model_serving,omitempty"`
Mount map[string]*ResourceMount `json:"databricks_mount,omitempty"` Mount map[string]*ResourceMount `json:"databricks_mount,omitempty"`
MwsCredentials map[string]*ResourceMwsCredentials `json:"databricks_mws_credentials,omitempty"` MwsCredentials map[string]*ResourceMwsCredentials `json:"databricks_mws_credentials,omitempty"`
MwsCustomerManagedKeys map[string]*ResourceMwsCustomerManagedKeys `json:"databricks_mws_customer_managed_keys,omitempty"` MwsCustomerManagedKeys map[string]*ResourceMwsCustomerManagedKeys `json:"databricks_mws_customer_managed_keys,omitempty"`
@ -47,6 +48,7 @@ type Resources struct {
PermissionAssignment map[string]*ResourcePermissionAssignment `json:"databricks_permission_assignment,omitempty"` PermissionAssignment map[string]*ResourcePermissionAssignment `json:"databricks_permission_assignment,omitempty"`
Permissions map[string]*ResourcePermissions `json:"databricks_permissions,omitempty"` Permissions map[string]*ResourcePermissions `json:"databricks_permissions,omitempty"`
Pipeline map[string]*ResourcePipeline `json:"databricks_pipeline,omitempty"` Pipeline map[string]*ResourcePipeline `json:"databricks_pipeline,omitempty"`
Provider map[string]*ResourceProvider `json:"databricks_provider,omitempty"`
Recipient map[string]*ResourceRecipient `json:"databricks_recipient,omitempty"` Recipient map[string]*ResourceRecipient `json:"databricks_recipient,omitempty"`
Repo map[string]*ResourceRepo `json:"databricks_repo,omitempty"` Repo map[string]*ResourceRepo `json:"databricks_repo,omitempty"`
Schema map[string]*ResourceSchema `json:"databricks_schema,omitempty"` Schema map[string]*ResourceSchema `json:"databricks_schema,omitempty"`
@ -57,6 +59,7 @@ type Resources struct {
ServicePrincipalRole map[string]*ResourceServicePrincipalRole `json:"databricks_service_principal_role,omitempty"` ServicePrincipalRole map[string]*ResourceServicePrincipalRole `json:"databricks_service_principal_role,omitempty"`
ServicePrincipalSecret map[string]*ResourceServicePrincipalSecret `json:"databricks_service_principal_secret,omitempty"` ServicePrincipalSecret map[string]*ResourceServicePrincipalSecret `json:"databricks_service_principal_secret,omitempty"`
Share map[string]*ResourceShare `json:"databricks_share,omitempty"` Share map[string]*ResourceShare `json:"databricks_share,omitempty"`
SqlAlert map[string]*ResourceSqlAlert `json:"databricks_sql_alert,omitempty"`
SqlDashboard map[string]*ResourceSqlDashboard `json:"databricks_sql_dashboard,omitempty"` SqlDashboard map[string]*ResourceSqlDashboard `json:"databricks_sql_dashboard,omitempty"`
SqlEndpoint map[string]*ResourceSqlEndpoint `json:"databricks_sql_endpoint,omitempty"` SqlEndpoint map[string]*ResourceSqlEndpoint `json:"databricks_sql_endpoint,omitempty"`
SqlGlobalConfig map[string]*ResourceSqlGlobalConfig `json:"databricks_sql_global_config,omitempty"` SqlGlobalConfig map[string]*ResourceSqlGlobalConfig `json:"databricks_sql_global_config,omitempty"`
@ -104,6 +107,7 @@ func NewResources() *Resources {
MlflowExperiment: make(map[string]*ResourceMlflowExperiment), MlflowExperiment: make(map[string]*ResourceMlflowExperiment),
MlflowModel: make(map[string]*ResourceMlflowModel), MlflowModel: make(map[string]*ResourceMlflowModel),
MlflowWebhook: make(map[string]*ResourceMlflowWebhook), MlflowWebhook: make(map[string]*ResourceMlflowWebhook),
ModelServing: make(map[string]*ResourceModelServing),
Mount: make(map[string]*ResourceMount), Mount: make(map[string]*ResourceMount),
MwsCredentials: make(map[string]*ResourceMwsCredentials), MwsCredentials: make(map[string]*ResourceMwsCredentials),
MwsCustomerManagedKeys: make(map[string]*ResourceMwsCustomerManagedKeys), MwsCustomerManagedKeys: make(map[string]*ResourceMwsCustomerManagedKeys),
@ -119,6 +123,7 @@ func NewResources() *Resources {
PermissionAssignment: make(map[string]*ResourcePermissionAssignment), PermissionAssignment: make(map[string]*ResourcePermissionAssignment),
Permissions: make(map[string]*ResourcePermissions), Permissions: make(map[string]*ResourcePermissions),
Pipeline: make(map[string]*ResourcePipeline), Pipeline: make(map[string]*ResourcePipeline),
Provider: make(map[string]*ResourceProvider),
Recipient: make(map[string]*ResourceRecipient), Recipient: make(map[string]*ResourceRecipient),
Repo: make(map[string]*ResourceRepo), Repo: make(map[string]*ResourceRepo),
Schema: make(map[string]*ResourceSchema), Schema: make(map[string]*ResourceSchema),
@ -129,6 +134,7 @@ func NewResources() *Resources {
ServicePrincipalRole: make(map[string]*ResourceServicePrincipalRole), ServicePrincipalRole: make(map[string]*ResourceServicePrincipalRole),
ServicePrincipalSecret: make(map[string]*ResourceServicePrincipalSecret), ServicePrincipalSecret: make(map[string]*ResourceServicePrincipalSecret),
Share: make(map[string]*ResourceShare), Share: make(map[string]*ResourceShare),
SqlAlert: make(map[string]*ResourceSqlAlert),
SqlDashboard: make(map[string]*ResourceSqlDashboard), SqlDashboard: make(map[string]*ResourceSqlDashboard),
SqlEndpoint: make(map[string]*ResourceSqlEndpoint), SqlEndpoint: make(map[string]*ResourceSqlEndpoint),
SqlGlobalConfig: make(map[string]*ResourceSqlGlobalConfig), SqlGlobalConfig: make(map[string]*ResourceSqlGlobalConfig),