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,7 +121,10 @@ type DataSourceClusterClusterInfoInitScriptsS3 struct {
} }
type DataSourceClusterClusterInfoInitScripts struct { type DataSourceClusterClusterInfoInitScripts struct {
Abfss *DataSourceClusterClusterInfoInitScriptsAbfss `json:"abfss,omitempty"`
Dbfs *DataSourceClusterClusterInfoInitScriptsDbfs `json:"dbfs,omitempty"` Dbfs *DataSourceClusterClusterInfoInitScriptsDbfs `json:"dbfs,omitempty"`
File *DataSourceClusterClusterInfoInitScriptsFile `json:"file,omitempty"`
Gcs *DataSourceClusterClusterInfoInitScriptsGcs `json:"gcs,omitempty"`
S3 *DataSourceClusterClusterInfoInitScriptsS3 `json:"s3,omitempty"` S3 *DataSourceClusterClusterInfoInitScriptsS3 `json:"s3,omitempty"`
} }
@ -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,6 +128,7 @@ type DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsS3 struct {
} }
type DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScripts struct { type DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScripts struct {
Abfss *DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsAbfss `json:"abfss,omitempty"`
Dbfs *DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsDbfs `json:"dbfs,omitempty"` Dbfs *DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsDbfs `json:"dbfs,omitempty"`
File *DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsFile `json:"file,omitempty"` File *DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsFile `json:"file,omitempty"`
Gcs *DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsGcs `json:"gcs,omitempty"` Gcs *DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsGcs `json:"gcs,omitempty"`
@ -149,6 +170,7 @@ type DataSourceJobJobSettingsSettingsJobClusterNewCluster struct {
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"`
ClusterMountInfo []DataSourceJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo `json:"cluster_mount_info,omitempty"`
DockerImage *DataSourceJobJobSettingsSettingsJobClusterNewClusterDockerImage `json:"docker_image,omitempty"` DockerImage *DataSourceJobJobSettingsSettingsJobClusterNewClusterDockerImage `json:"docker_image,omitempty"`
GcpAttributes *DataSourceJobJobSettingsSettingsJobClusterNewClusterGcpAttributes `json:"gcp_attributes,omitempty"` GcpAttributes *DataSourceJobJobSettingsSettingsJobClusterNewClusterGcpAttributes `json:"gcp_attributes,omitempty"`
InitScripts []DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScripts `json:"init_scripts,omitempty"` InitScripts []DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScripts `json:"init_scripts,omitempty"`
@ -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,6 +304,7 @@ type DataSourceJobJobSettingsSettingsNewClusterInitScriptsS3 struct {
} }
type DataSourceJobJobSettingsSettingsNewClusterInitScripts struct { type DataSourceJobJobSettingsSettingsNewClusterInitScripts struct {
Abfss *DataSourceJobJobSettingsSettingsNewClusterInitScriptsAbfss `json:"abfss,omitempty"`
Dbfs *DataSourceJobJobSettingsSettingsNewClusterInitScriptsDbfs `json:"dbfs,omitempty"` Dbfs *DataSourceJobJobSettingsSettingsNewClusterInitScriptsDbfs `json:"dbfs,omitempty"`
File *DataSourceJobJobSettingsSettingsNewClusterInitScriptsFile `json:"file,omitempty"` File *DataSourceJobJobSettingsSettingsNewClusterInitScriptsFile `json:"file,omitempty"`
Gcs *DataSourceJobJobSettingsSettingsNewClusterInitScriptsGcs `json:"gcs,omitempty"` Gcs *DataSourceJobJobSettingsSettingsNewClusterInitScriptsGcs `json:"gcs,omitempty"`
@ -308,6 +346,7 @@ type DataSourceJobJobSettingsSettingsNewCluster struct {
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"`
ClusterMountInfo []DataSourceJobJobSettingsSettingsNewClusterClusterMountInfo `json:"cluster_mount_info,omitempty"`
DockerImage *DataSourceJobJobSettingsSettingsNewClusterDockerImage `json:"docker_image,omitempty"` DockerImage *DataSourceJobJobSettingsSettingsNewClusterDockerImage `json:"docker_image,omitempty"`
GcpAttributes *DataSourceJobJobSettingsSettingsNewClusterGcpAttributes `json:"gcp_attributes,omitempty"` GcpAttributes *DataSourceJobJobSettingsSettingsNewClusterGcpAttributes `json:"gcp_attributes,omitempty"`
InitScripts []DataSourceJobJobSettingsSettingsNewClusterInitScripts `json:"init_scripts,omitempty"` InitScripts []DataSourceJobJobSettingsSettingsNewClusterInitScripts `json:"init_scripts,omitempty"`
@ -317,6 +356,7 @@ type DataSourceJobJobSettingsSettingsNewCluster struct {
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,6 +534,7 @@ type DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsS3 struct {
} }
type DataSourceJobJobSettingsSettingsTaskNewClusterInitScripts struct { type DataSourceJobJobSettingsSettingsTaskNewClusterInitScripts struct {
Abfss *DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsAbfss `json:"abfss,omitempty"`
Dbfs *DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsDbfs `json:"dbfs,omitempty"` Dbfs *DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsDbfs `json:"dbfs,omitempty"`
File *DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsFile `json:"file,omitempty"` File *DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsFile `json:"file,omitempty"`
Gcs *DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsGcs `json:"gcs,omitempty"` Gcs *DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsGcs `json:"gcs,omitempty"`
@ -519,6 +576,7 @@ type DataSourceJobJobSettingsSettingsTaskNewCluster struct {
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"`
ClusterMountInfo []DataSourceJobJobSettingsSettingsTaskNewClusterClusterMountInfo `json:"cluster_mount_info,omitempty"`
DockerImage *DataSourceJobJobSettingsSettingsTaskNewClusterDockerImage `json:"docker_image,omitempty"` DockerImage *DataSourceJobJobSettingsSettingsTaskNewClusterDockerImage `json:"docker_image,omitempty"`
GcpAttributes *DataSourceJobJobSettingsSettingsTaskNewClusterGcpAttributes `json:"gcp_attributes,omitempty"` GcpAttributes *DataSourceJobJobSettingsSettingsTaskNewClusterGcpAttributes `json:"gcp_attributes,omitempty"`
InitScripts []DataSourceJobJobSettingsSettingsTaskNewClusterInitScripts `json:"init_scripts,omitempty"` InitScripts []DataSourceJobJobSettingsSettingsTaskNewClusterInitScripts `json:"init_scripts,omitempty"`
@ -528,6 +586,7 @@ type DataSourceJobJobSettingsSettingsTaskNewCluster struct {
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"`
CdfEnabled bool `json:"cdf_enabled,omitempty"`
Comment string `json:"comment,omitempty"` Comment string `json:"comment,omitempty"`
DataObjectType string `json:"data_object_type"` DataObjectType string `json:"data_object_type"`
HistoryDataSharingStatus string `json:"history_data_sharing_status,omitempty"`
Name string `json:"name"` Name string `json:"name"`
SharedAs string `json:"shared_as,omitempty"` 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,6 +99,7 @@ type ResourceClusterInitScriptsS3 struct {
} }
type ResourceClusterInitScripts struct { type ResourceClusterInitScripts struct {
Abfss *ResourceClusterInitScriptsAbfss `json:"abfss,omitempty"`
Dbfs *ResourceClusterInitScriptsDbfs `json:"dbfs,omitempty"` Dbfs *ResourceClusterInitScriptsDbfs `json:"dbfs,omitempty"`
File *ResourceClusterInitScriptsFile `json:"file,omitempty"` File *ResourceClusterInitScriptsFile `json:"file,omitempty"`
Gcs *ResourceClusterInitScriptsGcs `json:"gcs,omitempty"` Gcs *ResourceClusterInitScriptsGcs `json:"gcs,omitempty"`
@ -155,6 +171,7 @@ type ResourceCluster struct {
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"`
ClusterMountInfo []ResourceClusterClusterMountInfo `json:"cluster_mount_info,omitempty"`
DockerImage *ResourceClusterDockerImage `json:"docker_image,omitempty"` DockerImage *ResourceClusterDockerImage `json:"docker_image,omitempty"`
GcpAttributes *ResourceClusterGcpAttributes `json:"gcp_attributes,omitempty"` GcpAttributes *ResourceClusterGcpAttributes `json:"gcp_attributes,omitempty"`
InitScripts []ResourceClusterInitScripts `json:"init_scripts,omitempty"` InitScripts []ResourceClusterInitScripts `json:"init_scripts,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"`
MaxClustersPerUser int `json:"max_clusters_per_user,omitempty"`
Name string `json:"name"` Name string `json:"name"`
PolicyId string `json:"policy_id,omitempty"` 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,6 +128,7 @@ type ResourceJobJobClusterNewClusterInitScriptsS3 struct {
} }
type ResourceJobJobClusterNewClusterInitScripts struct { type ResourceJobJobClusterNewClusterInitScripts struct {
Abfss *ResourceJobJobClusterNewClusterInitScriptsAbfss `json:"abfss,omitempty"`
Dbfs *ResourceJobJobClusterNewClusterInitScriptsDbfs `json:"dbfs,omitempty"` Dbfs *ResourceJobJobClusterNewClusterInitScriptsDbfs `json:"dbfs,omitempty"`
File *ResourceJobJobClusterNewClusterInitScriptsFile `json:"file,omitempty"` File *ResourceJobJobClusterNewClusterInitScriptsFile `json:"file,omitempty"`
Gcs *ResourceJobJobClusterNewClusterInitScriptsGcs `json:"gcs,omitempty"` Gcs *ResourceJobJobClusterNewClusterInitScriptsGcs `json:"gcs,omitempty"`
@ -149,6 +170,7 @@ type ResourceJobJobClusterNewCluster struct {
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"`
ClusterMountInfo []ResourceJobJobClusterNewClusterClusterMountInfo `json:"cluster_mount_info,omitempty"`
DockerImage *ResourceJobJobClusterNewClusterDockerImage `json:"docker_image,omitempty"` DockerImage *ResourceJobJobClusterNewClusterDockerImage `json:"docker_image,omitempty"`
GcpAttributes *ResourceJobJobClusterNewClusterGcpAttributes `json:"gcp_attributes,omitempty"` GcpAttributes *ResourceJobJobClusterNewClusterGcpAttributes `json:"gcp_attributes,omitempty"`
InitScripts []ResourceJobJobClusterNewClusterInitScripts `json:"init_scripts,omitempty"` InitScripts []ResourceJobJobClusterNewClusterInitScripts `json:"init_scripts,omitempty"`
@ -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,6 +304,7 @@ type ResourceJobNewClusterInitScriptsS3 struct {
} }
type ResourceJobNewClusterInitScripts struct { type ResourceJobNewClusterInitScripts struct {
Abfss *ResourceJobNewClusterInitScriptsAbfss `json:"abfss,omitempty"`
Dbfs *ResourceJobNewClusterInitScriptsDbfs `json:"dbfs,omitempty"` Dbfs *ResourceJobNewClusterInitScriptsDbfs `json:"dbfs,omitempty"`
File *ResourceJobNewClusterInitScriptsFile `json:"file,omitempty"` File *ResourceJobNewClusterInitScriptsFile `json:"file,omitempty"`
Gcs *ResourceJobNewClusterInitScriptsGcs `json:"gcs,omitempty"` Gcs *ResourceJobNewClusterInitScriptsGcs `json:"gcs,omitempty"`
@ -308,6 +346,7 @@ type ResourceJobNewCluster struct {
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"`
ClusterMountInfo []ResourceJobNewClusterClusterMountInfo `json:"cluster_mount_info,omitempty"`
DockerImage *ResourceJobNewClusterDockerImage `json:"docker_image,omitempty"` DockerImage *ResourceJobNewClusterDockerImage `json:"docker_image,omitempty"`
GcpAttributes *ResourceJobNewClusterGcpAttributes `json:"gcp_attributes,omitempty"` GcpAttributes *ResourceJobNewClusterGcpAttributes `json:"gcp_attributes,omitempty"`
InitScripts []ResourceJobNewClusterInitScripts `json:"init_scripts,omitempty"` InitScripts []ResourceJobNewClusterInitScripts `json:"init_scripts,omitempty"`
@ -317,6 +356,7 @@ type ResourceJobNewCluster struct {
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,6 +534,7 @@ type ResourceJobTaskNewClusterInitScriptsS3 struct {
} }
type ResourceJobTaskNewClusterInitScripts struct { type ResourceJobTaskNewClusterInitScripts struct {
Abfss *ResourceJobTaskNewClusterInitScriptsAbfss `json:"abfss,omitempty"`
Dbfs *ResourceJobTaskNewClusterInitScriptsDbfs `json:"dbfs,omitempty"` Dbfs *ResourceJobTaskNewClusterInitScriptsDbfs `json:"dbfs,omitempty"`
File *ResourceJobTaskNewClusterInitScriptsFile `json:"file,omitempty"` File *ResourceJobTaskNewClusterInitScriptsFile `json:"file,omitempty"`
Gcs *ResourceJobTaskNewClusterInitScriptsGcs `json:"gcs,omitempty"` Gcs *ResourceJobTaskNewClusterInitScriptsGcs `json:"gcs,omitempty"`
@ -519,6 +576,7 @@ type ResourceJobTaskNewCluster struct {
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"`
ClusterMountInfo []ResourceJobTaskNewClusterClusterMountInfo `json:"cluster_mount_info,omitempty"`
DockerImage *ResourceJobTaskNewClusterDockerImage `json:"docker_image,omitempty"` DockerImage *ResourceJobTaskNewClusterDockerImage `json:"docker_image,omitempty"`
GcpAttributes *ResourceJobTaskNewClusterGcpAttributes `json:"gcp_attributes,omitempty"` GcpAttributes *ResourceJobTaskNewClusterGcpAttributes `json:"gcp_attributes,omitempty"`
InitScripts []ResourceJobTaskNewClusterInitScripts `json:"init_scripts,omitempty"` InitScripts []ResourceJobTaskNewClusterInitScripts `json:"init_scripts,omitempty"`
@ -528,6 +586,7 @@ type ResourceJobTaskNewCluster struct {
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,6 +16,16 @@ type ResourceMetastoreDataAccessAzureServicePrincipal struct {
DirectoryId string `json:"directory_id"` DirectoryId string `json:"directory_id"`
} }
type ResourceMetastoreDataAccessDatabricksGcpServiceAccount struct {
Email string `json:"email,omitempty"`
}
type ResourceMetastoreDataAccessGcpServiceAccountKey struct {
Email string `json:"email"`
PrivateKey string `json:"private_key"`
PrivateKeyId string `json:"private_key_id"`
}
type ResourceMetastoreDataAccess struct { type ResourceMetastoreDataAccess struct {
ConfigurationType string `json:"configuration_type,omitempty"` ConfigurationType string `json:"configuration_type,omitempty"`
Id string `json:"id,omitempty"` Id string `json:"id,omitempty"`
@ -25,4 +35,6 @@ type ResourceMetastoreDataAccess struct {
AwsIamRole *ResourceMetastoreDataAccessAwsIamRole `json:"aws_iam_role,omitempty"` AwsIamRole *ResourceMetastoreDataAccessAwsIamRole `json:"aws_iam_role,omitempty"`
AzureManagedIdentity *ResourceMetastoreDataAccessAzureManagedIdentity `json:"azure_managed_identity,omitempty"` AzureManagedIdentity *ResourceMetastoreDataAccessAzureManagedIdentity `json:"azure_managed_identity,omitempty"`
AzureServicePrincipal *ResourceMetastoreDataAccessAzureServicePrincipal `json:"azure_service_principal,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 ResourceMwsVpcEndpointGcpVpcEndpointInfo struct {
EndpointRegion string `json:"endpoint_region"`
ProjectId string `json:"project_id"`
PscConnectionId string `json:"psc_connection_id,omitempty"`
PscEndpointName string `json:"psc_endpoint_name"`
ServiceAttachmentId string `json:"service_attachment_id,omitempty"`
}
type ResourceMwsVpcEndpoint struct { type ResourceMwsVpcEndpoint struct {
AccountId string `json:"account_id,omitempty"` AccountId string `json:"account_id,omitempty"`
AwsAccountId string `json:"aws_account_id,omitempty"` AwsAccountId string `json:"aws_account_id,omitempty"`
AwsEndpointServiceId string `json:"aws_endpoint_service_id,omitempty"` AwsEndpointServiceId string `json:"aws_endpoint_service_id,omitempty"`
AwsVpcEndpointId string `json:"aws_vpc_endpoint_id"` AwsVpcEndpointId string `json:"aws_vpc_endpoint_id,omitempty"`
Id string `json:"id,omitempty"` Id string `json:"id,omitempty"`
Region string `json:"region"` Region string `json:"region,omitempty"`
State string `json:"state,omitempty"` State string `json:"state,omitempty"`
UseCase string `json:"use_case,omitempty"` UseCase string `json:"use_case,omitempty"`
VpcEndpointId string `json:"vpc_endpoint_id,omitempty"` VpcEndpointId string `json:"vpc_endpoint_id,omitempty"`
VpcEndpointName string `json:"vpc_endpoint_name"` 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 {
@ -62,8 +56,9 @@ type ResourceMwsWorkspaces struct {
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"`
GkeConfig *ResourceMwsWorkspacesGkeConfig `json:"gke_config,omitempty"`
Token *ResourceMwsWorkspacesToken `json:"token,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,11 +9,22 @@ type ResourcePipelineClusterAutoscale struct {
} }
type ResourcePipelineClusterAwsAttributes struct { type ResourcePipelineClusterAwsAttributes struct {
Availability string `json:"availability,omitempty"`
EbsVolumeCount int `json:"ebs_volume_count,omitempty"`
EbsVolumeSize int `json:"ebs_volume_size,omitempty"`
EbsVolumeType string `json:"ebs_volume_type,omitempty"`
FirstOnDemand int `json:"first_on_demand,omitempty"` FirstOnDemand int `json:"first_on_demand,omitempty"`
InstanceProfileArn string `json:"instance_profile_arn,omitempty"` InstanceProfileArn string `json:"instance_profile_arn,omitempty"`
SpotBidPricePercent int `json:"spot_bid_price_percent,omitempty"`
ZoneId string `json:"zone_id,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 {
Destination string `json:"destination"` Destination string `json:"destination"`
} }
@ -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,6 +77,7 @@ type ResourcePipelineClusterInitScriptsS3 struct {
} }
type ResourcePipelineClusterInitScripts struct { type ResourcePipelineClusterInitScripts struct {
Abfss *ResourcePipelineClusterInitScriptsAbfss `json:"abfss,omitempty"`
Dbfs *ResourcePipelineClusterInitScriptsDbfs `json:"dbfs,omitempty"` Dbfs *ResourcePipelineClusterInitScriptsDbfs `json:"dbfs,omitempty"`
File *ResourcePipelineClusterInitScriptsFile `json:"file,omitempty"` File *ResourcePipelineClusterInitScriptsFile `json:"file,omitempty"`
Gcs *ResourcePipelineClusterInitScriptsGcs `json:"gcs,omitempty"` Gcs *ResourcePipelineClusterInitScriptsGcs `json:"gcs,omitempty"`
@ -71,6 +89,7 @@ type ResourcePipelineCluster struct {
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"`
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
InstancePoolId string `json:"instance_pool_id,omitempty"` InstancePoolId string `json:"instance_pool_id,omitempty"`
Label string `json:"label,omitempty"` Label string `json:"label,omitempty"`
NodeTypeId string `json:"node_type_id,omitempty"` NodeTypeId string `json:"node_type_id,omitempty"`
@ -81,6 +100,7 @@ type ResourcePipelineCluster struct {
SshPublicKeys []string `json:"ssh_public_keys,omitempty"` SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
Autoscale *ResourcePipelineClusterAutoscale `json:"autoscale,omitempty"` Autoscale *ResourcePipelineClusterAutoscale `json:"autoscale,omitempty"`
AwsAttributes *ResourcePipelineClusterAwsAttributes `json:"aws_attributes,omitempty"` AwsAttributes *ResourcePipelineClusterAwsAttributes `json:"aws_attributes,omitempty"`
AzureAttributes *ResourcePipelineClusterAzureAttributes `json:"azure_attributes,omitempty"`
ClusterLogConf *ResourcePipelineClusterClusterLogConf `json:"cluster_log_conf,omitempty"` ClusterLogConf *ResourcePipelineClusterClusterLogConf `json:"cluster_log_conf,omitempty"`
GcpAttributes *ResourcePipelineClusterGcpAttributes `json:"gcp_attributes,omitempty"` GcpAttributes *ResourcePipelineClusterGcpAttributes `json:"gcp_attributes,omitempty"`
InitScripts []ResourcePipelineClusterInitScripts `json:"init_scripts,omitempty"` InitScripts []ResourcePipelineClusterInitScripts `json:"init_scripts,omitempty"`
@ -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,6 +2,10 @@
package schema package schema
type ResourceRepoSparseCheckout struct {
Patterns []string `json:"patterns"`
}
type ResourceRepo struct { type ResourceRepo struct {
Branch string `json:"branch,omitempty"` Branch string `json:"branch,omitempty"`
CommitHash string `json:"commit_hash,omitempty"` CommitHash string `json:"commit_hash,omitempty"`
@ -10,4 +14,5 @@ type ResourceRepo struct {
Path string `json:"path,omitempty"` Path string `json:"path,omitempty"`
Tag string `json:"tag,omitempty"` Tag string `json:"tag,omitempty"`
Url string `json:"url"` 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"`
CdfEnabled bool `json:"cdf_enabled,omitempty"`
Comment string `json:"comment,omitempty"` Comment string `json:"comment,omitempty"`
DataObjectType string `json:"data_object_type"` DataObjectType string `json:"data_object_type"`
HistoryDataSharingStatus string `json:"history_data_sharing_status,omitempty"`
Name string `json:"name"` Name string `json:"name"`
SharedAs string `json:"shared_as,omitempty"` 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

@ -5,5 +5,6 @@ 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"`
Parent string `json:"parent,omitempty"`
Tags []string `json:"tags,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,6 +16,16 @@ type ResourceStorageCredentialAzureServicePrincipal struct {
DirectoryId string `json:"directory_id"` DirectoryId string `json:"directory_id"`
} }
type ResourceStorageCredentialDatabricksGcpServiceAccount struct {
Email string `json:"email,omitempty"`
}
type ResourceStorageCredentialGcpServiceAccountKey struct {
Email string `json:"email"`
PrivateKey string `json:"private_key"`
PrivateKeyId string `json:"private_key_id"`
}
type ResourceStorageCredential struct { type ResourceStorageCredential struct {
Comment string `json:"comment,omitempty"` Comment string `json:"comment,omitempty"`
Id string `json:"id,omitempty"` Id string `json:"id,omitempty"`
@ -25,4 +35,6 @@ type ResourceStorageCredential struct {
AwsIamRole *ResourceStorageCredentialAwsIamRole `json:"aws_iam_role,omitempty"` AwsIamRole *ResourceStorageCredentialAwsIamRole `json:"aws_iam_role,omitempty"`
AzureManagedIdentity *ResourceStorageCredentialAzureManagedIdentity `json:"azure_managed_identity,omitempty"` AzureManagedIdentity *ResourceStorageCredentialAzureManagedIdentity `json:"azure_managed_identity,omitempty"`
AzureServicePrincipal *ResourceStorageCredentialAzureServicePrincipal `json:"azure_service_principal,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),