mirror of https://github.com/databricks/cli.git
Update Terraform provider schema structs (#265)
Generated from provider version 1.13.0.
This commit is contained in:
parent
ae09eb02d5
commit
077ab8b864
|
@ -12,6 +12,7 @@ type Config struct {
|
|||
AzureTenantId string `json:"azure_tenant_id,omitempty"`
|
||||
AzureUseMsi bool `json:"azure_use_msi,omitempty"`
|
||||
AzureWorkspaceResourceId string `json:"azure_workspace_resource_id,omitempty"`
|
||||
BricksCliPath string `json:"bricks_cli_path,omitempty"`
|
||||
ClientId string `json:"client_id,omitempty"`
|
||||
ClientSecret string `json:"client_secret,omitempty"`
|
||||
ConfigFile string `json:"config_file,omitempty"`
|
||||
|
@ -24,8 +25,8 @@ type Config struct {
|
|||
Password string `json:"password,omitempty"`
|
||||
Profile string `json:"profile,omitempty"`
|
||||
RateLimit int `json:"rate_limit,omitempty"`
|
||||
RetryTimeoutSeconds int `json:"retry_timeout_seconds,omitempty"`
|
||||
SkipVerify bool `json:"skip_verify,omitempty"`
|
||||
Token string `json:"token,omitempty"`
|
||||
TokenEndpoint string `json:"token_endpoint,omitempty"`
|
||||
Username string `json:"username,omitempty"`
|
||||
}
|
||||
|
|
|
@ -94,10 +94,22 @@ type DataSourceClusterClusterInfoGcpAttributes struct {
|
|||
ZoneId string `json:"zone_id,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoInitScriptsAbfss struct {
|
||||
Destination string `json:"destination,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoInitScriptsDbfs struct {
|
||||
Destination string `json:"destination"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoInitScriptsFile struct {
|
||||
Destination string `json:"destination,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoInitScriptsGcs struct {
|
||||
Destination string `json:"destination,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoInitScriptsS3 struct {
|
||||
CannedAcl string `json:"canned_acl,omitempty"`
|
||||
Destination string `json:"destination"`
|
||||
|
@ -109,8 +121,11 @@ type DataSourceClusterClusterInfoInitScriptsS3 struct {
|
|||
}
|
||||
|
||||
type DataSourceClusterClusterInfoInitScripts struct {
|
||||
Dbfs *DataSourceClusterClusterInfoInitScriptsDbfs `json:"dbfs,omitempty"`
|
||||
S3 *DataSourceClusterClusterInfoInitScriptsS3 `json:"s3,omitempty"`
|
||||
Abfss *DataSourceClusterClusterInfoInitScriptsAbfss `json:"abfss,omitempty"`
|
||||
Dbfs *DataSourceClusterClusterInfoInitScriptsDbfs `json:"dbfs,omitempty"`
|
||||
File *DataSourceClusterClusterInfoInitScriptsFile `json:"file,omitempty"`
|
||||
Gcs *DataSourceClusterClusterInfoInitScriptsGcs `json:"gcs,omitempty"`
|
||||
S3 *DataSourceClusterClusterInfoInitScriptsS3 `json:"s3,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoTerminationReason struct {
|
||||
|
@ -166,7 +181,8 @@ type DataSourceClusterClusterInfo 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"`
|
||||
ClusterInfo *DataSourceClusterClusterInfo `json:"cluster_info,omitempty"`
|
||||
}
|
||||
|
|
|
@ -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"`
|
||||
}
|
|
@ -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"`
|
||||
}
|
|
@ -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"`
|
||||
}
|
|
@ -2,7 +2,12 @@
|
|||
|
||||
package schema
|
||||
|
||||
type DataSourceJobJobSettingsSettingsContinuous struct {
|
||||
PauseStatus string `json:"pause_status,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsDbtTask struct {
|
||||
Catalog string `json:"catalog,omitempty"`
|
||||
Commands []string `json:"commands"`
|
||||
ProfilesDirectory string `json:"profiles_directory,omitempty"`
|
||||
ProjectDirectory string `json:"project_directory,omitempty"`
|
||||
|
@ -67,6 +72,17 @@ type DataSourceJobJobSettingsSettingsJobClusterNewClusterClusterLogConf struct {
|
|||
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 {
|
||||
Password string `json:"password"`
|
||||
Username string `json:"username"`
|
||||
|
@ -85,6 +101,10 @@ type DataSourceJobJobSettingsSettingsJobClusterNewClusterGcpAttributes struct {
|
|||
ZoneId string `json:"zone_id,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsAbfss struct {
|
||||
Destination string `json:"destination,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsDbfs struct {
|
||||
Destination string `json:"destination"`
|
||||
}
|
||||
|
@ -108,10 +128,11 @@ type DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsS3 struct {
|
|||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScripts struct {
|
||||
Dbfs *DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsDbfs `json:"dbfs,omitempty"`
|
||||
File *DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsFile `json:"file,omitempty"`
|
||||
Gcs *DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsGcs `json:"gcs,omitempty"`
|
||||
S3 *DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsS3 `json:"s3,omitempty"`
|
||||
Abfss *DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsAbfss `json:"abfss,omitempty"`
|
||||
Dbfs *DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsDbfs `json:"dbfs,omitempty"`
|
||||
File *DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsFile `json:"file,omitempty"`
|
||||
Gcs *DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsGcs `json:"gcs,omitempty"`
|
||||
S3 *DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScriptsS3 `json:"s3,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsJobClusterNewClusterWorkloadTypeClients struct {
|
||||
|
@ -124,35 +145,36 @@ type DataSourceJobJobSettingsSettingsJobClusterNewClusterWorkloadType struct {
|
|||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsJobClusterNewCluster struct {
|
||||
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
|
||||
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
|
||||
ClusterId string `json:"cluster_id,omitempty"`
|
||||
ClusterName string `json:"cluster_name,omitempty"`
|
||||
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
||||
DataSecurityMode string `json:"data_security_mode,omitempty"`
|
||||
DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"`
|
||||
DriverNodeTypeId string `json:"driver_node_type_id,omitempty"`
|
||||
EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"`
|
||||
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
||||
IdempotencyToken string `json:"idempotency_token,omitempty"`
|
||||
InstancePoolId string `json:"instance_pool_id,omitempty"`
|
||||
NodeTypeId string `json:"node_type_id,omitempty"`
|
||||
NumWorkers int `json:"num_workers"`
|
||||
PolicyId string `json:"policy_id,omitempty"`
|
||||
RuntimeEngine string `json:"runtime_engine,omitempty"`
|
||||
SingleUserName string `json:"single_user_name,omitempty"`
|
||||
SparkConf map[string]string `json:"spark_conf,omitempty"`
|
||||
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
||||
SparkVersion string `json:"spark_version"`
|
||||
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
||||
Autoscale *DataSourceJobJobSettingsSettingsJobClusterNewClusterAutoscale `json:"autoscale,omitempty"`
|
||||
AwsAttributes *DataSourceJobJobSettingsSettingsJobClusterNewClusterAwsAttributes `json:"aws_attributes,omitempty"`
|
||||
AzureAttributes *DataSourceJobJobSettingsSettingsJobClusterNewClusterAzureAttributes `json:"azure_attributes,omitempty"`
|
||||
ClusterLogConf *DataSourceJobJobSettingsSettingsJobClusterNewClusterClusterLogConf `json:"cluster_log_conf,omitempty"`
|
||||
DockerImage *DataSourceJobJobSettingsSettingsJobClusterNewClusterDockerImage `json:"docker_image,omitempty"`
|
||||
GcpAttributes *DataSourceJobJobSettingsSettingsJobClusterNewClusterGcpAttributes `json:"gcp_attributes,omitempty"`
|
||||
InitScripts []DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScripts `json:"init_scripts,omitempty"`
|
||||
WorkloadType *DataSourceJobJobSettingsSettingsJobClusterNewClusterWorkloadType `json:"workload_type,omitempty"`
|
||||
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
|
||||
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
|
||||
ClusterId string `json:"cluster_id,omitempty"`
|
||||
ClusterName string `json:"cluster_name,omitempty"`
|
||||
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
||||
DataSecurityMode string `json:"data_security_mode,omitempty"`
|
||||
DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"`
|
||||
DriverNodeTypeId string `json:"driver_node_type_id,omitempty"`
|
||||
EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"`
|
||||
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
||||
IdempotencyToken string `json:"idempotency_token,omitempty"`
|
||||
InstancePoolId string `json:"instance_pool_id,omitempty"`
|
||||
NodeTypeId string `json:"node_type_id,omitempty"`
|
||||
NumWorkers int `json:"num_workers"`
|
||||
PolicyId string `json:"policy_id,omitempty"`
|
||||
RuntimeEngine string `json:"runtime_engine,omitempty"`
|
||||
SingleUserName string `json:"single_user_name,omitempty"`
|
||||
SparkConf map[string]string `json:"spark_conf,omitempty"`
|
||||
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
||||
SparkVersion string `json:"spark_version"`
|
||||
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
||||
Autoscale *DataSourceJobJobSettingsSettingsJobClusterNewClusterAutoscale `json:"autoscale,omitempty"`
|
||||
AwsAttributes *DataSourceJobJobSettingsSettingsJobClusterNewClusterAwsAttributes `json:"aws_attributes,omitempty"`
|
||||
AzureAttributes *DataSourceJobJobSettingsSettingsJobClusterNewClusterAzureAttributes `json:"azure_attributes,omitempty"`
|
||||
ClusterLogConf *DataSourceJobJobSettingsSettingsJobClusterNewClusterClusterLogConf `json:"cluster_log_conf,omitempty"`
|
||||
ClusterMountInfo []DataSourceJobJobSettingsSettingsJobClusterNewClusterClusterMountInfo `json:"cluster_mount_info,omitempty"`
|
||||
DockerImage *DataSourceJobJobSettingsSettingsJobClusterNewClusterDockerImage `json:"docker_image,omitempty"`
|
||||
GcpAttributes *DataSourceJobJobSettingsSettingsJobClusterNewClusterGcpAttributes `json:"gcp_attributes,omitempty"`
|
||||
InitScripts []DataSourceJobJobSettingsSettingsJobClusterNewClusterInitScripts `json:"init_scripts,omitempty"`
|
||||
WorkloadType *DataSourceJobJobSettingsSettingsJobClusterNewClusterWorkloadType `json:"workload_type,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsJobCluster struct {
|
||||
|
@ -226,6 +248,17 @@ type DataSourceJobJobSettingsSettingsNewClusterClusterLogConf struct {
|
|||
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 {
|
||||
Password string `json:"password"`
|
||||
Username string `json:"username"`
|
||||
|
@ -244,6 +277,10 @@ type DataSourceJobJobSettingsSettingsNewClusterGcpAttributes struct {
|
|||
ZoneId string `json:"zone_id,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsNewClusterInitScriptsAbfss struct {
|
||||
Destination string `json:"destination,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsNewClusterInitScriptsDbfs struct {
|
||||
Destination string `json:"destination"`
|
||||
}
|
||||
|
@ -267,10 +304,11 @@ type DataSourceJobJobSettingsSettingsNewClusterInitScriptsS3 struct {
|
|||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsNewClusterInitScripts struct {
|
||||
Dbfs *DataSourceJobJobSettingsSettingsNewClusterInitScriptsDbfs `json:"dbfs,omitempty"`
|
||||
File *DataSourceJobJobSettingsSettingsNewClusterInitScriptsFile `json:"file,omitempty"`
|
||||
Gcs *DataSourceJobJobSettingsSettingsNewClusterInitScriptsGcs `json:"gcs,omitempty"`
|
||||
S3 *DataSourceJobJobSettingsSettingsNewClusterInitScriptsS3 `json:"s3,omitempty"`
|
||||
Abfss *DataSourceJobJobSettingsSettingsNewClusterInitScriptsAbfss `json:"abfss,omitempty"`
|
||||
Dbfs *DataSourceJobJobSettingsSettingsNewClusterInitScriptsDbfs `json:"dbfs,omitempty"`
|
||||
File *DataSourceJobJobSettingsSettingsNewClusterInitScriptsFile `json:"file,omitempty"`
|
||||
Gcs *DataSourceJobJobSettingsSettingsNewClusterInitScriptsGcs `json:"gcs,omitempty"`
|
||||
S3 *DataSourceJobJobSettingsSettingsNewClusterInitScriptsS3 `json:"s3,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsNewClusterWorkloadTypeClients struct {
|
||||
|
@ -283,40 +321,42 @@ type DataSourceJobJobSettingsSettingsNewClusterWorkloadType struct {
|
|||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsNewCluster struct {
|
||||
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
|
||||
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
|
||||
ClusterId string `json:"cluster_id,omitempty"`
|
||||
ClusterName string `json:"cluster_name,omitempty"`
|
||||
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
||||
DataSecurityMode string `json:"data_security_mode,omitempty"`
|
||||
DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"`
|
||||
DriverNodeTypeId string `json:"driver_node_type_id,omitempty"`
|
||||
EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"`
|
||||
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
||||
IdempotencyToken string `json:"idempotency_token,omitempty"`
|
||||
InstancePoolId string `json:"instance_pool_id,omitempty"`
|
||||
NodeTypeId string `json:"node_type_id,omitempty"`
|
||||
NumWorkers int `json:"num_workers"`
|
||||
PolicyId string `json:"policy_id,omitempty"`
|
||||
RuntimeEngine string `json:"runtime_engine,omitempty"`
|
||||
SingleUserName string `json:"single_user_name,omitempty"`
|
||||
SparkConf map[string]string `json:"spark_conf,omitempty"`
|
||||
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
||||
SparkVersion string `json:"spark_version"`
|
||||
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
||||
Autoscale *DataSourceJobJobSettingsSettingsNewClusterAutoscale `json:"autoscale,omitempty"`
|
||||
AwsAttributes *DataSourceJobJobSettingsSettingsNewClusterAwsAttributes `json:"aws_attributes,omitempty"`
|
||||
AzureAttributes *DataSourceJobJobSettingsSettingsNewClusterAzureAttributes `json:"azure_attributes,omitempty"`
|
||||
ClusterLogConf *DataSourceJobJobSettingsSettingsNewClusterClusterLogConf `json:"cluster_log_conf,omitempty"`
|
||||
DockerImage *DataSourceJobJobSettingsSettingsNewClusterDockerImage `json:"docker_image,omitempty"`
|
||||
GcpAttributes *DataSourceJobJobSettingsSettingsNewClusterGcpAttributes `json:"gcp_attributes,omitempty"`
|
||||
InitScripts []DataSourceJobJobSettingsSettingsNewClusterInitScripts `json:"init_scripts,omitempty"`
|
||||
WorkloadType *DataSourceJobJobSettingsSettingsNewClusterWorkloadType `json:"workload_type,omitempty"`
|
||||
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
|
||||
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
|
||||
ClusterId string `json:"cluster_id,omitempty"`
|
||||
ClusterName string `json:"cluster_name,omitempty"`
|
||||
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
||||
DataSecurityMode string `json:"data_security_mode,omitempty"`
|
||||
DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"`
|
||||
DriverNodeTypeId string `json:"driver_node_type_id,omitempty"`
|
||||
EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"`
|
||||
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
||||
IdempotencyToken string `json:"idempotency_token,omitempty"`
|
||||
InstancePoolId string `json:"instance_pool_id,omitempty"`
|
||||
NodeTypeId string `json:"node_type_id,omitempty"`
|
||||
NumWorkers int `json:"num_workers"`
|
||||
PolicyId string `json:"policy_id,omitempty"`
|
||||
RuntimeEngine string `json:"runtime_engine,omitempty"`
|
||||
SingleUserName string `json:"single_user_name,omitempty"`
|
||||
SparkConf map[string]string `json:"spark_conf,omitempty"`
|
||||
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
||||
SparkVersion string `json:"spark_version"`
|
||||
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
||||
Autoscale *DataSourceJobJobSettingsSettingsNewClusterAutoscale `json:"autoscale,omitempty"`
|
||||
AwsAttributes *DataSourceJobJobSettingsSettingsNewClusterAwsAttributes `json:"aws_attributes,omitempty"`
|
||||
AzureAttributes *DataSourceJobJobSettingsSettingsNewClusterAzureAttributes `json:"azure_attributes,omitempty"`
|
||||
ClusterLogConf *DataSourceJobJobSettingsSettingsNewClusterClusterLogConf `json:"cluster_log_conf,omitempty"`
|
||||
ClusterMountInfo []DataSourceJobJobSettingsSettingsNewClusterClusterMountInfo `json:"cluster_mount_info,omitempty"`
|
||||
DockerImage *DataSourceJobJobSettingsSettingsNewClusterDockerImage `json:"docker_image,omitempty"`
|
||||
GcpAttributes *DataSourceJobJobSettingsSettingsNewClusterGcpAttributes `json:"gcp_attributes,omitempty"`
|
||||
InitScripts []DataSourceJobJobSettingsSettingsNewClusterInitScripts `json:"init_scripts,omitempty"`
|
||||
WorkloadType *DataSourceJobJobSettingsSettingsNewClusterWorkloadType `json:"workload_type,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsNotebookTask struct {
|
||||
BaseParameters map[string]string `json:"base_parameters,omitempty"`
|
||||
NotebookPath string `json:"notebook_path"`
|
||||
Source string `json:"source,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsPipelineTask struct {
|
||||
|
@ -352,6 +392,7 @@ type DataSourceJobJobSettingsSettingsSparkSubmitTask struct {
|
|||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskDbtTask struct {
|
||||
Catalog string `json:"catalog,omitempty"`
|
||||
Commands []string `json:"commands"`
|
||||
ProfilesDirectory string `json:"profiles_directory,omitempty"`
|
||||
ProjectDirectory string `json:"project_directory,omitempty"`
|
||||
|
@ -437,6 +478,17 @@ type DataSourceJobJobSettingsSettingsTaskNewClusterClusterLogConf struct {
|
|||
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 {
|
||||
Password string `json:"password"`
|
||||
Username string `json:"username"`
|
||||
|
@ -455,6 +507,10 @@ type DataSourceJobJobSettingsSettingsTaskNewClusterGcpAttributes struct {
|
|||
ZoneId string `json:"zone_id,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsAbfss struct {
|
||||
Destination string `json:"destination,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsDbfs struct {
|
||||
Destination string `json:"destination"`
|
||||
}
|
||||
|
@ -478,10 +534,11 @@ type DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsS3 struct {
|
|||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskNewClusterInitScripts struct {
|
||||
Dbfs *DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsDbfs `json:"dbfs,omitempty"`
|
||||
File *DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsFile `json:"file,omitempty"`
|
||||
Gcs *DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsGcs `json:"gcs,omitempty"`
|
||||
S3 *DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsS3 `json:"s3,omitempty"`
|
||||
Abfss *DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsAbfss `json:"abfss,omitempty"`
|
||||
Dbfs *DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsDbfs `json:"dbfs,omitempty"`
|
||||
File *DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsFile `json:"file,omitempty"`
|
||||
Gcs *DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsGcs `json:"gcs,omitempty"`
|
||||
S3 *DataSourceJobJobSettingsSettingsTaskNewClusterInitScriptsS3 `json:"s3,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskNewClusterWorkloadTypeClients struct {
|
||||
|
@ -494,40 +551,42 @@ type DataSourceJobJobSettingsSettingsTaskNewClusterWorkloadType struct {
|
|||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskNewCluster struct {
|
||||
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
|
||||
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
|
||||
ClusterId string `json:"cluster_id,omitempty"`
|
||||
ClusterName string `json:"cluster_name,omitempty"`
|
||||
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
||||
DataSecurityMode string `json:"data_security_mode,omitempty"`
|
||||
DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"`
|
||||
DriverNodeTypeId string `json:"driver_node_type_id,omitempty"`
|
||||
EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"`
|
||||
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
||||
IdempotencyToken string `json:"idempotency_token,omitempty"`
|
||||
InstancePoolId string `json:"instance_pool_id,omitempty"`
|
||||
NodeTypeId string `json:"node_type_id,omitempty"`
|
||||
NumWorkers int `json:"num_workers"`
|
||||
PolicyId string `json:"policy_id,omitempty"`
|
||||
RuntimeEngine string `json:"runtime_engine,omitempty"`
|
||||
SingleUserName string `json:"single_user_name,omitempty"`
|
||||
SparkConf map[string]string `json:"spark_conf,omitempty"`
|
||||
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
||||
SparkVersion string `json:"spark_version"`
|
||||
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
||||
Autoscale *DataSourceJobJobSettingsSettingsTaskNewClusterAutoscale `json:"autoscale,omitempty"`
|
||||
AwsAttributes *DataSourceJobJobSettingsSettingsTaskNewClusterAwsAttributes `json:"aws_attributes,omitempty"`
|
||||
AzureAttributes *DataSourceJobJobSettingsSettingsTaskNewClusterAzureAttributes `json:"azure_attributes,omitempty"`
|
||||
ClusterLogConf *DataSourceJobJobSettingsSettingsTaskNewClusterClusterLogConf `json:"cluster_log_conf,omitempty"`
|
||||
DockerImage *DataSourceJobJobSettingsSettingsTaskNewClusterDockerImage `json:"docker_image,omitempty"`
|
||||
GcpAttributes *DataSourceJobJobSettingsSettingsTaskNewClusterGcpAttributes `json:"gcp_attributes,omitempty"`
|
||||
InitScripts []DataSourceJobJobSettingsSettingsTaskNewClusterInitScripts `json:"init_scripts,omitempty"`
|
||||
WorkloadType *DataSourceJobJobSettingsSettingsTaskNewClusterWorkloadType `json:"workload_type,omitempty"`
|
||||
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
|
||||
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
|
||||
ClusterId string `json:"cluster_id,omitempty"`
|
||||
ClusterName string `json:"cluster_name,omitempty"`
|
||||
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
||||
DataSecurityMode string `json:"data_security_mode,omitempty"`
|
||||
DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"`
|
||||
DriverNodeTypeId string `json:"driver_node_type_id,omitempty"`
|
||||
EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"`
|
||||
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
||||
IdempotencyToken string `json:"idempotency_token,omitempty"`
|
||||
InstancePoolId string `json:"instance_pool_id,omitempty"`
|
||||
NodeTypeId string `json:"node_type_id,omitempty"`
|
||||
NumWorkers int `json:"num_workers"`
|
||||
PolicyId string `json:"policy_id,omitempty"`
|
||||
RuntimeEngine string `json:"runtime_engine,omitempty"`
|
||||
SingleUserName string `json:"single_user_name,omitempty"`
|
||||
SparkConf map[string]string `json:"spark_conf,omitempty"`
|
||||
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
||||
SparkVersion string `json:"spark_version"`
|
||||
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
||||
Autoscale *DataSourceJobJobSettingsSettingsTaskNewClusterAutoscale `json:"autoscale,omitempty"`
|
||||
AwsAttributes *DataSourceJobJobSettingsSettingsTaskNewClusterAwsAttributes `json:"aws_attributes,omitempty"`
|
||||
AzureAttributes *DataSourceJobJobSettingsSettingsTaskNewClusterAzureAttributes `json:"azure_attributes,omitempty"`
|
||||
ClusterLogConf *DataSourceJobJobSettingsSettingsTaskNewClusterClusterLogConf `json:"cluster_log_conf,omitempty"`
|
||||
ClusterMountInfo []DataSourceJobJobSettingsSettingsTaskNewClusterClusterMountInfo `json:"cluster_mount_info,omitempty"`
|
||||
DockerImage *DataSourceJobJobSettingsSettingsTaskNewClusterDockerImage `json:"docker_image,omitempty"`
|
||||
GcpAttributes *DataSourceJobJobSettingsSettingsTaskNewClusterGcpAttributes `json:"gcp_attributes,omitempty"`
|
||||
InitScripts []DataSourceJobJobSettingsSettingsTaskNewClusterInitScripts `json:"init_scripts,omitempty"`
|
||||
WorkloadType *DataSourceJobJobSettingsSettingsTaskNewClusterWorkloadType `json:"workload_type,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskNotebookTask struct {
|
||||
BaseParameters map[string]string `json:"base_parameters,omitempty"`
|
||||
NotebookPath string `json:"notebook_path"`
|
||||
Source string `json:"source,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskPipelineTask struct {
|
||||
|
@ -627,6 +686,7 @@ type DataSourceJobJobSettingsSettings struct {
|
|||
RetryOnTimeout bool `json:"retry_on_timeout,omitempty"`
|
||||
Tags map[string]string `json:"tags,omitempty"`
|
||||
TimeoutSeconds int `json:"timeout_seconds,omitempty"`
|
||||
Continuous *DataSourceJobJobSettingsSettingsContinuous `json:"continuous,omitempty"`
|
||||
DbtTask *DataSourceJobJobSettingsSettingsDbtTask `json:"dbt_task,omitempty"`
|
||||
EmailNotifications *DataSourceJobJobSettingsSettingsEmailNotifications `json:"email_notifications,omitempty"`
|
||||
GitSource *DataSourceJobJobSettingsSettingsGitSource `json:"git_source,omitempty"`
|
||||
|
@ -655,5 +715,6 @@ type DataSourceJob struct {
|
|||
Id string `json:"id,omitempty"`
|
||||
JobId string `json:"job_id,omitempty"`
|
||||
JobName string `json:"job_name,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
JobSettings *DataSourceJobJobSettings `json:"job_settings,omitempty"`
|
||||
}
|
||||
|
|
|
@ -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"`
|
||||
}
|
|
@ -4,16 +4,17 @@ package schema
|
|||
|
||||
type DataSourceNodeType struct {
|
||||
Category string `json:"category,omitempty"`
|
||||
Fleet bool `json:"fleet,omitempty"`
|
||||
GbPerCore int `json:"gb_per_core,omitempty"`
|
||||
Graviton bool `json:"graviton,omitempty"`
|
||||
Id string `json:"id,omitempty"`
|
||||
IsIoCacheEnabled bool `json:"is_io_cache_enabled,omitempty"`
|
||||
LocalDisk bool `json:"local_disk,omitempty"`
|
||||
LocalDiskMinSize int `json:"local_disk_min_size,omitempty"`
|
||||
MinCores int `json:"min_cores,omitempty"`
|
||||
MinGpus int `json:"min_gpus,omitempty"`
|
||||
MinMemoryGb int `json:"min_memory_gb,omitempty"`
|
||||
PhotonDriverCapable bool `json:"photon_driver_capable,omitempty"`
|
||||
PhotonWorkerCapable bool `json:"photon_worker_capable,omitempty"`
|
||||
SupportPortForwarding bool `json:"support_port_forwarding,omitempty"`
|
||||
Vcpu bool `json:"vcpu,omitempty"`
|
||||
}
|
||||
|
|
|
@ -2,13 +2,29 @@
|
|||
|
||||
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 {
|
||||
AddedAt int `json:"added_at,omitempty"`
|
||||
AddedBy string `json:"added_by,omitempty"`
|
||||
Comment string `json:"comment,omitempty"`
|
||||
DataObjectType string `json:"data_object_type"`
|
||||
Name string `json:"name"`
|
||||
SharedAs string `json:"shared_as,omitempty"`
|
||||
AddedAt int `json:"added_at,omitempty"`
|
||||
AddedBy string `json:"added_by,omitempty"`
|
||||
CdfEnabled bool `json:"cdf_enabled,omitempty"`
|
||||
Comment string `json:"comment,omitempty"`
|
||||
DataObjectType string `json:"data_object_type"`
|
||||
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 {
|
||||
|
|
|
@ -8,13 +8,17 @@ type DataSources struct {
|
|||
AwsCrossaccountPolicy map[string]*DataSourceAwsCrossaccountPolicy `json:"databricks_aws_crossaccount_policy,omitempty"`
|
||||
Catalogs map[string]*DataSourceCatalogs `json:"databricks_catalogs,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"`
|
||||
CurrentUser map[string]*DataSourceCurrentUser `json:"databricks_current_user,omitempty"`
|
||||
DbfsFile map[string]*DataSourceDbfsFile `json:"databricks_dbfs_file,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"`
|
||||
InstancePool map[string]*DataSourceInstancePool `json:"databricks_instance_pool,omitempty"`
|
||||
Job map[string]*DataSourceJob `json:"databricks_job,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"`
|
||||
NodeType map[string]*DataSourceNodeType `json:"databricks_node_type,omitempty"`
|
||||
Notebook map[string]*DataSourceNotebook `json:"databricks_notebook,omitempty"`
|
||||
|
@ -40,13 +44,17 @@ func NewDataSources() *DataSources {
|
|||
AwsCrossaccountPolicy: make(map[string]*DataSourceAwsCrossaccountPolicy),
|
||||
Catalogs: make(map[string]*DataSourceCatalogs),
|
||||
Cluster: make(map[string]*DataSourceCluster),
|
||||
ClusterPolicy: make(map[string]*DataSourceClusterPolicy),
|
||||
Clusters: make(map[string]*DataSourceClusters),
|
||||
CurrentUser: make(map[string]*DataSourceCurrentUser),
|
||||
DbfsFile: make(map[string]*DataSourceDbfsFile),
|
||||
DbfsFilePaths: make(map[string]*DataSourceDbfsFilePaths),
|
||||
Directory: make(map[string]*DataSourceDirectory),
|
||||
Group: make(map[string]*DataSourceGroup),
|
||||
InstancePool: make(map[string]*DataSourceInstancePool),
|
||||
Job: make(map[string]*DataSourceJob),
|
||||
Jobs: make(map[string]*DataSourceJobs),
|
||||
MwsCredentials: make(map[string]*DataSourceMwsCredentials),
|
||||
MwsWorkspaces: make(map[string]*DataSourceMwsWorkspaces),
|
||||
NodeType: make(map[string]*DataSourceNodeType),
|
||||
Notebook: make(map[string]*DataSourceNotebook),
|
||||
|
|
|
@ -10,4 +10,7 @@ type ResourceCatalog struct {
|
|||
Name string `json:"name"`
|
||||
Owner string `json:"owner,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"`
|
||||
}
|
||||
|
|
|
@ -43,6 +43,17 @@ type ResourceClusterClusterLogConf struct {
|
|||
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 {
|
||||
Password string `json:"password"`
|
||||
Username string `json:"username"`
|
||||
|
@ -61,6 +72,10 @@ type ResourceClusterGcpAttributes struct {
|
|||
ZoneId string `json:"zone_id,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceClusterInitScriptsAbfss struct {
|
||||
Destination string `json:"destination,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceClusterInitScriptsDbfs struct {
|
||||
Destination string `json:"destination"`
|
||||
}
|
||||
|
@ -84,10 +99,11 @@ type ResourceClusterInitScriptsS3 struct {
|
|||
}
|
||||
|
||||
type ResourceClusterInitScripts struct {
|
||||
Dbfs *ResourceClusterInitScriptsDbfs `json:"dbfs,omitempty"`
|
||||
File *ResourceClusterInitScriptsFile `json:"file,omitempty"`
|
||||
Gcs *ResourceClusterInitScriptsGcs `json:"gcs,omitempty"`
|
||||
S3 *ResourceClusterInitScriptsS3 `json:"s3,omitempty"`
|
||||
Abfss *ResourceClusterInitScriptsAbfss `json:"abfss,omitempty"`
|
||||
Dbfs *ResourceClusterInitScriptsDbfs `json:"dbfs,omitempty"`
|
||||
File *ResourceClusterInitScriptsFile `json:"file,omitempty"`
|
||||
Gcs *ResourceClusterInitScriptsGcs `json:"gcs,omitempty"`
|
||||
S3 *ResourceClusterInitScriptsS3 `json:"s3,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceClusterLibraryCran struct {
|
||||
|
@ -125,39 +141,40 @@ type ResourceClusterWorkloadType struct {
|
|||
}
|
||||
|
||||
type ResourceCluster struct {
|
||||
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
|
||||
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
|
||||
ClusterId string `json:"cluster_id,omitempty"`
|
||||
ClusterName string `json:"cluster_name,omitempty"`
|
||||
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
||||
DataSecurityMode string `json:"data_security_mode,omitempty"`
|
||||
DefaultTags map[string]string `json:"default_tags,omitempty"`
|
||||
DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"`
|
||||
DriverNodeTypeId string `json:"driver_node_type_id,omitempty"`
|
||||
EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"`
|
||||
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
||||
Id string `json:"id,omitempty"`
|
||||
IdempotencyToken string `json:"idempotency_token,omitempty"`
|
||||
InstancePoolId string `json:"instance_pool_id,omitempty"`
|
||||
IsPinned bool `json:"is_pinned,omitempty"`
|
||||
NodeTypeId string `json:"node_type_id,omitempty"`
|
||||
NumWorkers int `json:"num_workers,omitempty"`
|
||||
PolicyId string `json:"policy_id,omitempty"`
|
||||
RuntimeEngine string `json:"runtime_engine,omitempty"`
|
||||
SingleUserName string `json:"single_user_name,omitempty"`
|
||||
SparkConf map[string]string `json:"spark_conf,omitempty"`
|
||||
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
||||
SparkVersion string `json:"spark_version"`
|
||||
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
||||
State string `json:"state,omitempty"`
|
||||
Url string `json:"url,omitempty"`
|
||||
Autoscale *ResourceClusterAutoscale `json:"autoscale,omitempty"`
|
||||
AwsAttributes *ResourceClusterAwsAttributes `json:"aws_attributes,omitempty"`
|
||||
AzureAttributes *ResourceClusterAzureAttributes `json:"azure_attributes,omitempty"`
|
||||
ClusterLogConf *ResourceClusterClusterLogConf `json:"cluster_log_conf,omitempty"`
|
||||
DockerImage *ResourceClusterDockerImage `json:"docker_image,omitempty"`
|
||||
GcpAttributes *ResourceClusterGcpAttributes `json:"gcp_attributes,omitempty"`
|
||||
InitScripts []ResourceClusterInitScripts `json:"init_scripts,omitempty"`
|
||||
Library []ResourceClusterLibrary `json:"library,omitempty"`
|
||||
WorkloadType *ResourceClusterWorkloadType `json:"workload_type,omitempty"`
|
||||
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
|
||||
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
|
||||
ClusterId string `json:"cluster_id,omitempty"`
|
||||
ClusterName string `json:"cluster_name,omitempty"`
|
||||
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
||||
DataSecurityMode string `json:"data_security_mode,omitempty"`
|
||||
DefaultTags map[string]string `json:"default_tags,omitempty"`
|
||||
DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"`
|
||||
DriverNodeTypeId string `json:"driver_node_type_id,omitempty"`
|
||||
EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"`
|
||||
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
||||
Id string `json:"id,omitempty"`
|
||||
IdempotencyToken string `json:"idempotency_token,omitempty"`
|
||||
InstancePoolId string `json:"instance_pool_id,omitempty"`
|
||||
IsPinned bool `json:"is_pinned,omitempty"`
|
||||
NodeTypeId string `json:"node_type_id,omitempty"`
|
||||
NumWorkers int `json:"num_workers,omitempty"`
|
||||
PolicyId string `json:"policy_id,omitempty"`
|
||||
RuntimeEngine string `json:"runtime_engine,omitempty"`
|
||||
SingleUserName string `json:"single_user_name,omitempty"`
|
||||
SparkConf map[string]string `json:"spark_conf,omitempty"`
|
||||
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
||||
SparkVersion string `json:"spark_version"`
|
||||
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
||||
State string `json:"state,omitempty"`
|
||||
Url string `json:"url,omitempty"`
|
||||
Autoscale *ResourceClusterAutoscale `json:"autoscale,omitempty"`
|
||||
AwsAttributes *ResourceClusterAwsAttributes `json:"aws_attributes,omitempty"`
|
||||
AzureAttributes *ResourceClusterAzureAttributes `json:"azure_attributes,omitempty"`
|
||||
ClusterLogConf *ResourceClusterClusterLogConf `json:"cluster_log_conf,omitempty"`
|
||||
ClusterMountInfo []ResourceClusterClusterMountInfo `json:"cluster_mount_info,omitempty"`
|
||||
DockerImage *ResourceClusterDockerImage `json:"docker_image,omitempty"`
|
||||
GcpAttributes *ResourceClusterGcpAttributes `json:"gcp_attributes,omitempty"`
|
||||
InitScripts []ResourceClusterInitScripts `json:"init_scripts,omitempty"`
|
||||
Library []ResourceClusterLibrary `json:"library,omitempty"`
|
||||
WorkloadType *ResourceClusterWorkloadType `json:"workload_type,omitempty"`
|
||||
}
|
||||
|
|
|
@ -3,8 +3,9 @@
|
|||
package schema
|
||||
|
||||
type ResourceClusterPolicy struct {
|
||||
Definition string `json:"definition,omitempty"`
|
||||
Id string `json:"id,omitempty"`
|
||||
Name string `json:"name"`
|
||||
PolicyId string `json:"policy_id,omitempty"`
|
||||
Definition string `json:"definition"`
|
||||
Id string `json:"id,omitempty"`
|
||||
MaxClustersPerUser int `json:"max_clusters_per_user,omitempty"`
|
||||
Name string `json:"name"`
|
||||
PolicyId string `json:"policy_id,omitempty"`
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@ package schema
|
|||
type ResourceGitCredential struct {
|
||||
Force bool `json:"force,omitempty"`
|
||||
GitProvider string `json:"git_provider"`
|
||||
GitUsername string `json:"git_username"`
|
||||
GitUsername string `json:"git_username,omitempty"`
|
||||
Id string `json:"id,omitempty"`
|
||||
PersonalAccessToken string `json:"personal_access_token"`
|
||||
PersonalAccessToken string `json:"personal_access_token,omitempty"`
|
||||
}
|
||||
|
|
|
@ -3,8 +3,9 @@
|
|||
package schema
|
||||
|
||||
type ResourceInstanceProfile struct {
|
||||
IamRoleArn string `json:"iam_role_arn,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"`
|
||||
SkipValidation bool `json:"skip_validation,omitempty"`
|
||||
}
|
||||
|
|
|
@ -2,7 +2,12 @@
|
|||
|
||||
package schema
|
||||
|
||||
type ResourceJobContinuous struct {
|
||||
PauseStatus string `json:"pause_status,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceJobDbtTask struct {
|
||||
Catalog string `json:"catalog,omitempty"`
|
||||
Commands []string `json:"commands"`
|
||||
ProfilesDirectory string `json:"profiles_directory,omitempty"`
|
||||
ProjectDirectory string `json:"project_directory,omitempty"`
|
||||
|
@ -67,6 +72,17 @@ type ResourceJobJobClusterNewClusterClusterLogConf struct {
|
|||
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 {
|
||||
Password string `json:"password"`
|
||||
Username string `json:"username"`
|
||||
|
@ -85,6 +101,10 @@ type ResourceJobJobClusterNewClusterGcpAttributes struct {
|
|||
ZoneId string `json:"zone_id,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceJobJobClusterNewClusterInitScriptsAbfss struct {
|
||||
Destination string `json:"destination,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceJobJobClusterNewClusterInitScriptsDbfs struct {
|
||||
Destination string `json:"destination"`
|
||||
}
|
||||
|
@ -108,10 +128,11 @@ type ResourceJobJobClusterNewClusterInitScriptsS3 struct {
|
|||
}
|
||||
|
||||
type ResourceJobJobClusterNewClusterInitScripts struct {
|
||||
Dbfs *ResourceJobJobClusterNewClusterInitScriptsDbfs `json:"dbfs,omitempty"`
|
||||
File *ResourceJobJobClusterNewClusterInitScriptsFile `json:"file,omitempty"`
|
||||
Gcs *ResourceJobJobClusterNewClusterInitScriptsGcs `json:"gcs,omitempty"`
|
||||
S3 *ResourceJobJobClusterNewClusterInitScriptsS3 `json:"s3,omitempty"`
|
||||
Abfss *ResourceJobJobClusterNewClusterInitScriptsAbfss `json:"abfss,omitempty"`
|
||||
Dbfs *ResourceJobJobClusterNewClusterInitScriptsDbfs `json:"dbfs,omitempty"`
|
||||
File *ResourceJobJobClusterNewClusterInitScriptsFile `json:"file,omitempty"`
|
||||
Gcs *ResourceJobJobClusterNewClusterInitScriptsGcs `json:"gcs,omitempty"`
|
||||
S3 *ResourceJobJobClusterNewClusterInitScriptsS3 `json:"s3,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceJobJobClusterNewClusterWorkloadTypeClients struct {
|
||||
|
@ -124,35 +145,36 @@ type ResourceJobJobClusterNewClusterWorkloadType struct {
|
|||
}
|
||||
|
||||
type ResourceJobJobClusterNewCluster struct {
|
||||
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
|
||||
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
|
||||
ClusterId string `json:"cluster_id,omitempty"`
|
||||
ClusterName string `json:"cluster_name,omitempty"`
|
||||
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
||||
DataSecurityMode string `json:"data_security_mode,omitempty"`
|
||||
DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"`
|
||||
DriverNodeTypeId string `json:"driver_node_type_id,omitempty"`
|
||||
EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"`
|
||||
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
||||
IdempotencyToken string `json:"idempotency_token,omitempty"`
|
||||
InstancePoolId string `json:"instance_pool_id,omitempty"`
|
||||
NodeTypeId string `json:"node_type_id,omitempty"`
|
||||
NumWorkers int `json:"num_workers,omitempty"`
|
||||
PolicyId string `json:"policy_id,omitempty"`
|
||||
RuntimeEngine string `json:"runtime_engine,omitempty"`
|
||||
SingleUserName string `json:"single_user_name,omitempty"`
|
||||
SparkConf map[string]string `json:"spark_conf,omitempty"`
|
||||
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
||||
SparkVersion string `json:"spark_version"`
|
||||
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
||||
Autoscale *ResourceJobJobClusterNewClusterAutoscale `json:"autoscale,omitempty"`
|
||||
AwsAttributes *ResourceJobJobClusterNewClusterAwsAttributes `json:"aws_attributes,omitempty"`
|
||||
AzureAttributes *ResourceJobJobClusterNewClusterAzureAttributes `json:"azure_attributes,omitempty"`
|
||||
ClusterLogConf *ResourceJobJobClusterNewClusterClusterLogConf `json:"cluster_log_conf,omitempty"`
|
||||
DockerImage *ResourceJobJobClusterNewClusterDockerImage `json:"docker_image,omitempty"`
|
||||
GcpAttributes *ResourceJobJobClusterNewClusterGcpAttributes `json:"gcp_attributes,omitempty"`
|
||||
InitScripts []ResourceJobJobClusterNewClusterInitScripts `json:"init_scripts,omitempty"`
|
||||
WorkloadType *ResourceJobJobClusterNewClusterWorkloadType `json:"workload_type,omitempty"`
|
||||
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
|
||||
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
|
||||
ClusterId string `json:"cluster_id,omitempty"`
|
||||
ClusterName string `json:"cluster_name,omitempty"`
|
||||
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
||||
DataSecurityMode string `json:"data_security_mode,omitempty"`
|
||||
DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"`
|
||||
DriverNodeTypeId string `json:"driver_node_type_id,omitempty"`
|
||||
EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"`
|
||||
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
||||
IdempotencyToken string `json:"idempotency_token,omitempty"`
|
||||
InstancePoolId string `json:"instance_pool_id,omitempty"`
|
||||
NodeTypeId string `json:"node_type_id,omitempty"`
|
||||
NumWorkers int `json:"num_workers,omitempty"`
|
||||
PolicyId string `json:"policy_id,omitempty"`
|
||||
RuntimeEngine string `json:"runtime_engine,omitempty"`
|
||||
SingleUserName string `json:"single_user_name,omitempty"`
|
||||
SparkConf map[string]string `json:"spark_conf,omitempty"`
|
||||
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
||||
SparkVersion string `json:"spark_version"`
|
||||
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
||||
Autoscale *ResourceJobJobClusterNewClusterAutoscale `json:"autoscale,omitempty"`
|
||||
AwsAttributes *ResourceJobJobClusterNewClusterAwsAttributes `json:"aws_attributes,omitempty"`
|
||||
AzureAttributes *ResourceJobJobClusterNewClusterAzureAttributes `json:"azure_attributes,omitempty"`
|
||||
ClusterLogConf *ResourceJobJobClusterNewClusterClusterLogConf `json:"cluster_log_conf,omitempty"`
|
||||
ClusterMountInfo []ResourceJobJobClusterNewClusterClusterMountInfo `json:"cluster_mount_info,omitempty"`
|
||||
DockerImage *ResourceJobJobClusterNewClusterDockerImage `json:"docker_image,omitempty"`
|
||||
GcpAttributes *ResourceJobJobClusterNewClusterGcpAttributes `json:"gcp_attributes,omitempty"`
|
||||
InitScripts []ResourceJobJobClusterNewClusterInitScripts `json:"init_scripts,omitempty"`
|
||||
WorkloadType *ResourceJobJobClusterNewClusterWorkloadType `json:"workload_type,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceJobJobCluster struct {
|
||||
|
@ -226,6 +248,17 @@ type ResourceJobNewClusterClusterLogConf struct {
|
|||
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 {
|
||||
Password string `json:"password"`
|
||||
Username string `json:"username"`
|
||||
|
@ -244,6 +277,10 @@ type ResourceJobNewClusterGcpAttributes struct {
|
|||
ZoneId string `json:"zone_id,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceJobNewClusterInitScriptsAbfss struct {
|
||||
Destination string `json:"destination,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceJobNewClusterInitScriptsDbfs struct {
|
||||
Destination string `json:"destination"`
|
||||
}
|
||||
|
@ -267,10 +304,11 @@ type ResourceJobNewClusterInitScriptsS3 struct {
|
|||
}
|
||||
|
||||
type ResourceJobNewClusterInitScripts struct {
|
||||
Dbfs *ResourceJobNewClusterInitScriptsDbfs `json:"dbfs,omitempty"`
|
||||
File *ResourceJobNewClusterInitScriptsFile `json:"file,omitempty"`
|
||||
Gcs *ResourceJobNewClusterInitScriptsGcs `json:"gcs,omitempty"`
|
||||
S3 *ResourceJobNewClusterInitScriptsS3 `json:"s3,omitempty"`
|
||||
Abfss *ResourceJobNewClusterInitScriptsAbfss `json:"abfss,omitempty"`
|
||||
Dbfs *ResourceJobNewClusterInitScriptsDbfs `json:"dbfs,omitempty"`
|
||||
File *ResourceJobNewClusterInitScriptsFile `json:"file,omitempty"`
|
||||
Gcs *ResourceJobNewClusterInitScriptsGcs `json:"gcs,omitempty"`
|
||||
S3 *ResourceJobNewClusterInitScriptsS3 `json:"s3,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceJobNewClusterWorkloadTypeClients struct {
|
||||
|
@ -283,40 +321,42 @@ type ResourceJobNewClusterWorkloadType struct {
|
|||
}
|
||||
|
||||
type ResourceJobNewCluster struct {
|
||||
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
|
||||
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
|
||||
ClusterId string `json:"cluster_id,omitempty"`
|
||||
ClusterName string `json:"cluster_name,omitempty"`
|
||||
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
||||
DataSecurityMode string `json:"data_security_mode,omitempty"`
|
||||
DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"`
|
||||
DriverNodeTypeId string `json:"driver_node_type_id,omitempty"`
|
||||
EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"`
|
||||
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
||||
IdempotencyToken string `json:"idempotency_token,omitempty"`
|
||||
InstancePoolId string `json:"instance_pool_id,omitempty"`
|
||||
NodeTypeId string `json:"node_type_id,omitempty"`
|
||||
NumWorkers int `json:"num_workers,omitempty"`
|
||||
PolicyId string `json:"policy_id,omitempty"`
|
||||
RuntimeEngine string `json:"runtime_engine,omitempty"`
|
||||
SingleUserName string `json:"single_user_name,omitempty"`
|
||||
SparkConf map[string]string `json:"spark_conf,omitempty"`
|
||||
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
||||
SparkVersion string `json:"spark_version"`
|
||||
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
||||
Autoscale *ResourceJobNewClusterAutoscale `json:"autoscale,omitempty"`
|
||||
AwsAttributes *ResourceJobNewClusterAwsAttributes `json:"aws_attributes,omitempty"`
|
||||
AzureAttributes *ResourceJobNewClusterAzureAttributes `json:"azure_attributes,omitempty"`
|
||||
ClusterLogConf *ResourceJobNewClusterClusterLogConf `json:"cluster_log_conf,omitempty"`
|
||||
DockerImage *ResourceJobNewClusterDockerImage `json:"docker_image,omitempty"`
|
||||
GcpAttributes *ResourceJobNewClusterGcpAttributes `json:"gcp_attributes,omitempty"`
|
||||
InitScripts []ResourceJobNewClusterInitScripts `json:"init_scripts,omitempty"`
|
||||
WorkloadType *ResourceJobNewClusterWorkloadType `json:"workload_type,omitempty"`
|
||||
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
|
||||
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
|
||||
ClusterId string `json:"cluster_id,omitempty"`
|
||||
ClusterName string `json:"cluster_name,omitempty"`
|
||||
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
||||
DataSecurityMode string `json:"data_security_mode,omitempty"`
|
||||
DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"`
|
||||
DriverNodeTypeId string `json:"driver_node_type_id,omitempty"`
|
||||
EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"`
|
||||
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
||||
IdempotencyToken string `json:"idempotency_token,omitempty"`
|
||||
InstancePoolId string `json:"instance_pool_id,omitempty"`
|
||||
NodeTypeId string `json:"node_type_id,omitempty"`
|
||||
NumWorkers int `json:"num_workers,omitempty"`
|
||||
PolicyId string `json:"policy_id,omitempty"`
|
||||
RuntimeEngine string `json:"runtime_engine,omitempty"`
|
||||
SingleUserName string `json:"single_user_name,omitempty"`
|
||||
SparkConf map[string]string `json:"spark_conf,omitempty"`
|
||||
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
||||
SparkVersion string `json:"spark_version"`
|
||||
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
||||
Autoscale *ResourceJobNewClusterAutoscale `json:"autoscale,omitempty"`
|
||||
AwsAttributes *ResourceJobNewClusterAwsAttributes `json:"aws_attributes,omitempty"`
|
||||
AzureAttributes *ResourceJobNewClusterAzureAttributes `json:"azure_attributes,omitempty"`
|
||||
ClusterLogConf *ResourceJobNewClusterClusterLogConf `json:"cluster_log_conf,omitempty"`
|
||||
ClusterMountInfo []ResourceJobNewClusterClusterMountInfo `json:"cluster_mount_info,omitempty"`
|
||||
DockerImage *ResourceJobNewClusterDockerImage `json:"docker_image,omitempty"`
|
||||
GcpAttributes *ResourceJobNewClusterGcpAttributes `json:"gcp_attributes,omitempty"`
|
||||
InitScripts []ResourceJobNewClusterInitScripts `json:"init_scripts,omitempty"`
|
||||
WorkloadType *ResourceJobNewClusterWorkloadType `json:"workload_type,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceJobNotebookTask struct {
|
||||
BaseParameters map[string]string `json:"base_parameters,omitempty"`
|
||||
NotebookPath string `json:"notebook_path"`
|
||||
Source string `json:"source,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceJobPipelineTask struct {
|
||||
|
@ -352,6 +392,7 @@ type ResourceJobSparkSubmitTask struct {
|
|||
}
|
||||
|
||||
type ResourceJobTaskDbtTask struct {
|
||||
Catalog string `json:"catalog,omitempty"`
|
||||
Commands []string `json:"commands"`
|
||||
ProfilesDirectory string `json:"profiles_directory,omitempty"`
|
||||
ProjectDirectory string `json:"project_directory,omitempty"`
|
||||
|
@ -437,6 +478,17 @@ type ResourceJobTaskNewClusterClusterLogConf struct {
|
|||
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 {
|
||||
Password string `json:"password"`
|
||||
Username string `json:"username"`
|
||||
|
@ -455,6 +507,10 @@ type ResourceJobTaskNewClusterGcpAttributes struct {
|
|||
ZoneId string `json:"zone_id,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceJobTaskNewClusterInitScriptsAbfss struct {
|
||||
Destination string `json:"destination,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceJobTaskNewClusterInitScriptsDbfs struct {
|
||||
Destination string `json:"destination"`
|
||||
}
|
||||
|
@ -478,10 +534,11 @@ type ResourceJobTaskNewClusterInitScriptsS3 struct {
|
|||
}
|
||||
|
||||
type ResourceJobTaskNewClusterInitScripts struct {
|
||||
Dbfs *ResourceJobTaskNewClusterInitScriptsDbfs `json:"dbfs,omitempty"`
|
||||
File *ResourceJobTaskNewClusterInitScriptsFile `json:"file,omitempty"`
|
||||
Gcs *ResourceJobTaskNewClusterInitScriptsGcs `json:"gcs,omitempty"`
|
||||
S3 *ResourceJobTaskNewClusterInitScriptsS3 `json:"s3,omitempty"`
|
||||
Abfss *ResourceJobTaskNewClusterInitScriptsAbfss `json:"abfss,omitempty"`
|
||||
Dbfs *ResourceJobTaskNewClusterInitScriptsDbfs `json:"dbfs,omitempty"`
|
||||
File *ResourceJobTaskNewClusterInitScriptsFile `json:"file,omitempty"`
|
||||
Gcs *ResourceJobTaskNewClusterInitScriptsGcs `json:"gcs,omitempty"`
|
||||
S3 *ResourceJobTaskNewClusterInitScriptsS3 `json:"s3,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceJobTaskNewClusterWorkloadTypeClients struct {
|
||||
|
@ -494,40 +551,42 @@ type ResourceJobTaskNewClusterWorkloadType struct {
|
|||
}
|
||||
|
||||
type ResourceJobTaskNewCluster struct {
|
||||
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
|
||||
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
|
||||
ClusterId string `json:"cluster_id,omitempty"`
|
||||
ClusterName string `json:"cluster_name,omitempty"`
|
||||
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
||||
DataSecurityMode string `json:"data_security_mode,omitempty"`
|
||||
DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"`
|
||||
DriverNodeTypeId string `json:"driver_node_type_id,omitempty"`
|
||||
EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"`
|
||||
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
||||
IdempotencyToken string `json:"idempotency_token,omitempty"`
|
||||
InstancePoolId string `json:"instance_pool_id,omitempty"`
|
||||
NodeTypeId string `json:"node_type_id,omitempty"`
|
||||
NumWorkers int `json:"num_workers,omitempty"`
|
||||
PolicyId string `json:"policy_id,omitempty"`
|
||||
RuntimeEngine string `json:"runtime_engine,omitempty"`
|
||||
SingleUserName string `json:"single_user_name,omitempty"`
|
||||
SparkConf map[string]string `json:"spark_conf,omitempty"`
|
||||
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
||||
SparkVersion string `json:"spark_version"`
|
||||
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
||||
Autoscale *ResourceJobTaskNewClusterAutoscale `json:"autoscale,omitempty"`
|
||||
AwsAttributes *ResourceJobTaskNewClusterAwsAttributes `json:"aws_attributes,omitempty"`
|
||||
AzureAttributes *ResourceJobTaskNewClusterAzureAttributes `json:"azure_attributes,omitempty"`
|
||||
ClusterLogConf *ResourceJobTaskNewClusterClusterLogConf `json:"cluster_log_conf,omitempty"`
|
||||
DockerImage *ResourceJobTaskNewClusterDockerImage `json:"docker_image,omitempty"`
|
||||
GcpAttributes *ResourceJobTaskNewClusterGcpAttributes `json:"gcp_attributes,omitempty"`
|
||||
InitScripts []ResourceJobTaskNewClusterInitScripts `json:"init_scripts,omitempty"`
|
||||
WorkloadType *ResourceJobTaskNewClusterWorkloadType `json:"workload_type,omitempty"`
|
||||
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
|
||||
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
|
||||
ClusterId string `json:"cluster_id,omitempty"`
|
||||
ClusterName string `json:"cluster_name,omitempty"`
|
||||
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
||||
DataSecurityMode string `json:"data_security_mode,omitempty"`
|
||||
DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"`
|
||||
DriverNodeTypeId string `json:"driver_node_type_id,omitempty"`
|
||||
EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"`
|
||||
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
||||
IdempotencyToken string `json:"idempotency_token,omitempty"`
|
||||
InstancePoolId string `json:"instance_pool_id,omitempty"`
|
||||
NodeTypeId string `json:"node_type_id,omitempty"`
|
||||
NumWorkers int `json:"num_workers,omitempty"`
|
||||
PolicyId string `json:"policy_id,omitempty"`
|
||||
RuntimeEngine string `json:"runtime_engine,omitempty"`
|
||||
SingleUserName string `json:"single_user_name,omitempty"`
|
||||
SparkConf map[string]string `json:"spark_conf,omitempty"`
|
||||
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
||||
SparkVersion string `json:"spark_version"`
|
||||
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
||||
Autoscale *ResourceJobTaskNewClusterAutoscale `json:"autoscale,omitempty"`
|
||||
AwsAttributes *ResourceJobTaskNewClusterAwsAttributes `json:"aws_attributes,omitempty"`
|
||||
AzureAttributes *ResourceJobTaskNewClusterAzureAttributes `json:"azure_attributes,omitempty"`
|
||||
ClusterLogConf *ResourceJobTaskNewClusterClusterLogConf `json:"cluster_log_conf,omitempty"`
|
||||
ClusterMountInfo []ResourceJobTaskNewClusterClusterMountInfo `json:"cluster_mount_info,omitempty"`
|
||||
DockerImage *ResourceJobTaskNewClusterDockerImage `json:"docker_image,omitempty"`
|
||||
GcpAttributes *ResourceJobTaskNewClusterGcpAttributes `json:"gcp_attributes,omitempty"`
|
||||
InitScripts []ResourceJobTaskNewClusterInitScripts `json:"init_scripts,omitempty"`
|
||||
WorkloadType *ResourceJobTaskNewClusterWorkloadType `json:"workload_type,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceJobTaskNotebookTask struct {
|
||||
BaseParameters map[string]string `json:"base_parameters,omitempty"`
|
||||
NotebookPath string `json:"notebook_path"`
|
||||
Source string `json:"source,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceJobTaskPipelineTask struct {
|
||||
|
@ -630,6 +689,7 @@ type ResourceJob struct {
|
|||
Tags map[string]string `json:"tags,omitempty"`
|
||||
TimeoutSeconds int `json:"timeout_seconds,omitempty"`
|
||||
Url string `json:"url,omitempty"`
|
||||
Continuous *ResourceJobContinuous `json:"continuous,omitempty"`
|
||||
DbtTask *ResourceJobDbtTask `json:"dbt_task,omitempty"`
|
||||
EmailNotifications *ResourceJobEmailNotifications `json:"email_notifications,omitempty"`
|
||||
GitSource *ResourceJobGitSource `json:"git_source,omitempty"`
|
||||
|
|
|
@ -16,13 +16,25 @@ type ResourceMetastoreDataAccessAzureServicePrincipal struct {
|
|||
DirectoryId string `json:"directory_id"`
|
||||
}
|
||||
|
||||
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"`
|
||||
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 {
|
||||
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"`
|
||||
}
|
||||
|
|
|
@ -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"`
|
||||
}
|
|
@ -8,6 +8,10 @@ type ResourceMwsCustomerManagedKeysAwsKeyInfo struct {
|
|||
KeyRegion string `json:"key_region,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceMwsCustomerManagedKeysGcpKeyInfo struct {
|
||||
KmsKeyId string `json:"kms_key_id"`
|
||||
}
|
||||
|
||||
type ResourceMwsCustomerManagedKeys struct {
|
||||
AccountId string `json:"account_id"`
|
||||
CreationTime int `json:"creation_time,omitempty"`
|
||||
|
@ -15,4 +19,5 @@ type ResourceMwsCustomerManagedKeys struct {
|
|||
Id string `json:"id,omitempty"`
|
||||
UseCases []string `json:"use_cases"`
|
||||
AwsKeyInfo *ResourceMwsCustomerManagedKeysAwsKeyInfo `json:"aws_key_info,omitempty"`
|
||||
GcpKeyInfo *ResourceMwsCustomerManagedKeysGcpKeyInfo `json:"gcp_key_info,omitempty"`
|
||||
}
|
||||
|
|
|
@ -7,6 +7,15 @@ type ResourceMwsNetworksErrorMessages struct {
|
|||
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 {
|
||||
DataplaneRelay []string `json:"dataplane_relay"`
|
||||
RestApi []string `json:"rest_api"`
|
||||
|
@ -18,11 +27,12 @@ type ResourceMwsNetworks struct {
|
|||
Id string `json:"id,omitempty"`
|
||||
NetworkId string `json:"network_id,omitempty"`
|
||||
NetworkName string `json:"network_name"`
|
||||
SecurityGroupIds []string `json:"security_group_ids"`
|
||||
SubnetIds []string `json:"subnet_ids"`
|
||||
VpcId string `json:"vpc_id"`
|
||||
SecurityGroupIds []string `json:"security_group_ids,omitempty"`
|
||||
SubnetIds []string `json:"subnet_ids,omitempty"`
|
||||
VpcId string `json:"vpc_id,omitempty"`
|
||||
VpcStatus string `json:"vpc_status,omitempty"`
|
||||
WorkspaceId int `json:"workspace_id,omitempty"`
|
||||
ErrorMessages []ResourceMwsNetworksErrorMessages `json:"error_messages,omitempty"`
|
||||
GcpNetworkInfo *ResourceMwsNetworksGcpNetworkInfo `json:"gcp_network_info,omitempty"`
|
||||
VpcEndpoints *ResourceMwsNetworksVpcEndpoints `json:"vpc_endpoints,omitempty"`
|
||||
}
|
||||
|
|
|
@ -2,15 +2,24 @@
|
|||
|
||||
package schema
|
||||
|
||||
type ResourceMwsVpcEndpoint struct {
|
||||
AccountId string `json:"account_id,omitempty"`
|
||||
AwsAccountId string `json:"aws_account_id,omitempty"`
|
||||
AwsEndpointServiceId string `json:"aws_endpoint_service_id,omitempty"`
|
||||
AwsVpcEndpointId string `json:"aws_vpc_endpoint_id"`
|
||||
Id string `json:"id,omitempty"`
|
||||
Region string `json:"region"`
|
||||
State string `json:"state,omitempty"`
|
||||
UseCase string `json:"use_case,omitempty"`
|
||||
VpcEndpointId string `json:"vpc_endpoint_id,omitempty"`
|
||||
VpcEndpointName string `json:"vpc_endpoint_name"`
|
||||
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 {
|
||||
AccountId string `json:"account_id,omitempty"`
|
||||
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"`
|
||||
}
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
package schema
|
||||
|
||||
type ResourceMwsWorkspacesCloudResourceBucketGcp struct {
|
||||
type ResourceMwsWorkspacesCloudResourceContainerGcp struct {
|
||||
ProjectId string `json:"project_id"`
|
||||
}
|
||||
|
||||
type ResourceMwsWorkspacesCloudResourceBucket struct {
|
||||
Gcp *ResourceMwsWorkspacesCloudResourceBucketGcp `json:"gcp,omitempty"`
|
||||
type ResourceMwsWorkspacesCloudResourceContainer struct {
|
||||
Gcp *ResourceMwsWorkspacesCloudResourceContainerGcp `json:"gcp,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceMwsWorkspacesExternalCustomerInfo struct {
|
||||
|
@ -16,21 +16,15 @@ type ResourceMwsWorkspacesExternalCustomerInfo struct {
|
|||
CustomerName string `json:"customer_name"`
|
||||
}
|
||||
|
||||
type ResourceMwsWorkspacesNetworkGcpCommonNetworkConfig struct {
|
||||
GkeClusterMasterIpRange string `json:"gke_cluster_master_ip_range"`
|
||||
GkeConnectivityType string `json:"gke_connectivity_type"`
|
||||
}
|
||||
|
||||
type ResourceMwsWorkspacesNetworkGcpManagedNetworkConfig struct {
|
||||
type ResourceMwsWorkspacesGcpManagedNetworkConfig struct {
|
||||
GkeClusterPodIpRange string `json:"gke_cluster_pod_ip_range"`
|
||||
GkeClusterServiceIpRange string `json:"gke_cluster_service_ip_range"`
|
||||
SubnetCidr string `json:"subnet_cidr"`
|
||||
}
|
||||
|
||||
type ResourceMwsWorkspacesNetwork struct {
|
||||
NetworkId string `json:"network_id,omitempty"`
|
||||
GcpCommonNetworkConfig *ResourceMwsWorkspacesNetworkGcpCommonNetworkConfig `json:"gcp_common_network_config,omitempty"`
|
||||
GcpManagedNetworkConfig *ResourceMwsWorkspacesNetworkGcpManagedNetworkConfig `json:"gcp_managed_network_config,omitempty"`
|
||||
type ResourceMwsWorkspacesGkeConfig struct {
|
||||
ConnectivityType string `json:"connectivity_type"`
|
||||
MasterIpRange string `json:"master_ip_range"`
|
||||
}
|
||||
|
||||
type ResourceMwsWorkspacesToken struct {
|
||||
|
@ -41,29 +35,30 @@ type ResourceMwsWorkspacesToken struct {
|
|||
}
|
||||
|
||||
type ResourceMwsWorkspaces struct {
|
||||
AccountId string `json:"account_id"`
|
||||
AwsRegion string `json:"aws_region,omitempty"`
|
||||
Cloud string `json:"cloud,omitempty"`
|
||||
CreationTime int `json:"creation_time,omitempty"`
|
||||
CredentialsId string `json:"credentials_id,omitempty"`
|
||||
CustomerManagedKeyId string `json:"customer_managed_key_id,omitempty"`
|
||||
DeploymentName string `json:"deployment_name,omitempty"`
|
||||
Id string `json:"id,omitempty"`
|
||||
IsNoPublicIpEnabled bool `json:"is_no_public_ip_enabled,omitempty"`
|
||||
Location string `json:"location,omitempty"`
|
||||
ManagedServicesCustomerManagedKeyId string `json:"managed_services_customer_managed_key_id,omitempty"`
|
||||
NetworkId string `json:"network_id,omitempty"`
|
||||
PricingTier string `json:"pricing_tier,omitempty"`
|
||||
PrivateAccessSettingsId string `json:"private_access_settings_id,omitempty"`
|
||||
StorageConfigurationId string `json:"storage_configuration_id,omitempty"`
|
||||
StorageCustomerManagedKeyId string `json:"storage_customer_managed_key_id,omitempty"`
|
||||
WorkspaceId int `json:"workspace_id,omitempty"`
|
||||
WorkspaceName string `json:"workspace_name"`
|
||||
WorkspaceStatus string `json:"workspace_status,omitempty"`
|
||||
WorkspaceStatusMessage string `json:"workspace_status_message,omitempty"`
|
||||
WorkspaceUrl string `json:"workspace_url,omitempty"`
|
||||
CloudResourceBucket *ResourceMwsWorkspacesCloudResourceBucket `json:"cloud_resource_bucket,omitempty"`
|
||||
ExternalCustomerInfo *ResourceMwsWorkspacesExternalCustomerInfo `json:"external_customer_info,omitempty"`
|
||||
Network *ResourceMwsWorkspacesNetwork `json:"network,omitempty"`
|
||||
Token *ResourceMwsWorkspacesToken `json:"token,omitempty"`
|
||||
AccountId string `json:"account_id"`
|
||||
AwsRegion string `json:"aws_region,omitempty"`
|
||||
Cloud string `json:"cloud,omitempty"`
|
||||
CreationTime int `json:"creation_time,omitempty"`
|
||||
CredentialsId string `json:"credentials_id,omitempty"`
|
||||
CustomerManagedKeyId string `json:"customer_managed_key_id,omitempty"`
|
||||
DeploymentName string `json:"deployment_name,omitempty"`
|
||||
Id string `json:"id,omitempty"`
|
||||
IsNoPublicIpEnabled bool `json:"is_no_public_ip_enabled,omitempty"`
|
||||
Location string `json:"location,omitempty"`
|
||||
ManagedServicesCustomerManagedKeyId string `json:"managed_services_customer_managed_key_id,omitempty"`
|
||||
NetworkId string `json:"network_id,omitempty"`
|
||||
PricingTier string `json:"pricing_tier,omitempty"`
|
||||
PrivateAccessSettingsId string `json:"private_access_settings_id,omitempty"`
|
||||
StorageConfigurationId string `json:"storage_configuration_id,omitempty"`
|
||||
StorageCustomerManagedKeyId string `json:"storage_customer_managed_key_id,omitempty"`
|
||||
WorkspaceId int `json:"workspace_id,omitempty"`
|
||||
WorkspaceName string `json:"workspace_name"`
|
||||
WorkspaceStatus string `json:"workspace_status,omitempty"`
|
||||
WorkspaceStatusMessage string `json:"workspace_status_message,omitempty"`
|
||||
WorkspaceUrl string `json:"workspace_url,omitempty"`
|
||||
CloudResourceContainer *ResourceMwsWorkspacesCloudResourceContainer `json:"cloud_resource_container,omitempty"`
|
||||
ExternalCustomerInfo *ResourceMwsWorkspacesExternalCustomerInfo `json:"external_customer_info,omitempty"`
|
||||
GcpManagedNetworkConfig *ResourceMwsWorkspacesGcpManagedNetworkConfig `json:"gcp_managed_network_config,omitempty"`
|
||||
GkeConfig *ResourceMwsWorkspacesGkeConfig `json:"gke_config,omitempty"`
|
||||
Token *ResourceMwsWorkspacesToken `json:"token,omitempty"`
|
||||
}
|
||||
|
|
|
@ -4,8 +4,8 @@ package schema
|
|||
|
||||
type ResourceOboToken struct {
|
||||
ApplicationId string `json:"application_id"`
|
||||
Comment string `json:"comment"`
|
||||
Comment string `json:"comment,omitempty"`
|
||||
Id string `json:"id,omitempty"`
|
||||
LifetimeSeconds int `json:"lifetime_seconds"`
|
||||
LifetimeSeconds int `json:"lifetime_seconds,omitempty"`
|
||||
TokenValue string `json:"token_value,omitempty"`
|
||||
}
|
||||
|
|
|
@ -9,9 +9,20 @@ type ResourcePipelineClusterAutoscale struct {
|
|||
}
|
||||
|
||||
type ResourcePipelineClusterAwsAttributes struct {
|
||||
FirstOnDemand int `json:"first_on_demand,omitempty"`
|
||||
InstanceProfileArn string `json:"instance_profile_arn,omitempty"`
|
||||
ZoneId string `json:"zone_id,omitempty"`
|
||||
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"`
|
||||
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 {
|
||||
|
@ -34,7 +45,13 @@ type ResourcePipelineClusterClusterLogConf struct {
|
|||
}
|
||||
|
||||
type ResourcePipelineClusterGcpAttributes struct {
|
||||
Availability string `json:"availability,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 {
|
||||
|
@ -60,30 +77,33 @@ type ResourcePipelineClusterInitScriptsS3 struct {
|
|||
}
|
||||
|
||||
type ResourcePipelineClusterInitScripts struct {
|
||||
Dbfs *ResourcePipelineClusterInitScriptsDbfs `json:"dbfs,omitempty"`
|
||||
File *ResourcePipelineClusterInitScriptsFile `json:"file,omitempty"`
|
||||
Gcs *ResourcePipelineClusterInitScriptsGcs `json:"gcs,omitempty"`
|
||||
S3 *ResourcePipelineClusterInitScriptsS3 `json:"s3,omitempty"`
|
||||
Abfss *ResourcePipelineClusterInitScriptsAbfss `json:"abfss,omitempty"`
|
||||
Dbfs *ResourcePipelineClusterInitScriptsDbfs `json:"dbfs,omitempty"`
|
||||
File *ResourcePipelineClusterInitScriptsFile `json:"file,omitempty"`
|
||||
Gcs *ResourcePipelineClusterInitScriptsGcs `json:"gcs,omitempty"`
|
||||
S3 *ResourcePipelineClusterInitScriptsS3 `json:"s3,omitempty"`
|
||||
}
|
||||
|
||||
type ResourcePipelineCluster struct {
|
||||
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
|
||||
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
||||
DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"`
|
||||
DriverNodeTypeId string `json:"driver_node_type_id,omitempty"`
|
||||
InstancePoolId string `json:"instance_pool_id,omitempty"`
|
||||
Label string `json:"label,omitempty"`
|
||||
NodeTypeId string `json:"node_type_id,omitempty"`
|
||||
NumWorkers int `json:"num_workers,omitempty"`
|
||||
PolicyId string `json:"policy_id,omitempty"`
|
||||
SparkConf map[string]string `json:"spark_conf,omitempty"`
|
||||
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
||||
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
||||
Autoscale *ResourcePipelineClusterAutoscale `json:"autoscale,omitempty"`
|
||||
AwsAttributes *ResourcePipelineClusterAwsAttributes `json:"aws_attributes,omitempty"`
|
||||
ClusterLogConf *ResourcePipelineClusterClusterLogConf `json:"cluster_log_conf,omitempty"`
|
||||
GcpAttributes *ResourcePipelineClusterGcpAttributes `json:"gcp_attributes,omitempty"`
|
||||
InitScripts []ResourcePipelineClusterInitScripts `json:"init_scripts,omitempty"`
|
||||
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
|
||||
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
||||
DriverInstancePoolId string `json:"driver_instance_pool_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"`
|
||||
Label string `json:"label,omitempty"`
|
||||
NodeTypeId string `json:"node_type_id,omitempty"`
|
||||
NumWorkers int `json:"num_workers,omitempty"`
|
||||
PolicyId string `json:"policy_id,omitempty"`
|
||||
SparkConf map[string]string `json:"spark_conf,omitempty"`
|
||||
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
||||
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
||||
Autoscale *ResourcePipelineClusterAutoscale `json:"autoscale,omitempty"`
|
||||
AwsAttributes *ResourcePipelineClusterAwsAttributes `json:"aws_attributes,omitempty"`
|
||||
AzureAttributes *ResourcePipelineClusterAzureAttributes `json:"azure_attributes,omitempty"`
|
||||
ClusterLogConf *ResourcePipelineClusterClusterLogConf `json:"cluster_log_conf,omitempty"`
|
||||
GcpAttributes *ResourcePipelineClusterGcpAttributes `json:"gcp_attributes,omitempty"`
|
||||
InitScripts []ResourcePipelineClusterInitScripts `json:"init_scripts,omitempty"`
|
||||
}
|
||||
|
||||
type ResourcePipelineFilters struct {
|
||||
|
@ -91,6 +111,10 @@ type ResourcePipelineFilters struct {
|
|||
Include []string `json:"include,omitempty"`
|
||||
}
|
||||
|
||||
type ResourcePipelineLibraryFile struct {
|
||||
Path string `json:"path"`
|
||||
}
|
||||
|
||||
type ResourcePipelineLibraryMaven struct {
|
||||
Coordinates string `json:"coordinates"`
|
||||
Exclusions []string `json:"exclusions,omitempty"`
|
||||
|
@ -104,12 +128,14 @@ type ResourcePipelineLibraryNotebook struct {
|
|||
type ResourcePipelineLibrary struct {
|
||||
Jar string `json:"jar,omitempty"`
|
||||
Whl string `json:"whl,omitempty"`
|
||||
File *ResourcePipelineLibraryFile `json:"file,omitempty"`
|
||||
Maven *ResourcePipelineLibraryMaven `json:"maven,omitempty"`
|
||||
Notebook *ResourcePipelineLibraryNotebook `json:"notebook,omitempty"`
|
||||
}
|
||||
|
||||
type ResourcePipeline struct {
|
||||
AllowDuplicateNames bool `json:"allow_duplicate_names,omitempty"`
|
||||
Catalog string `json:"catalog,omitempty"`
|
||||
Channel string `json:"channel,omitempty"`
|
||||
Configuration map[string]string `json:"configuration,omitempty"`
|
||||
Continuous bool `json:"continuous,omitempty"`
|
||||
|
|
|
@ -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"`
|
||||
}
|
|
@ -2,12 +2,17 @@
|
|||
|
||||
package schema
|
||||
|
||||
type ResourceRepo struct {
|
||||
Branch string `json:"branch,omitempty"`
|
||||
CommitHash string `json:"commit_hash,omitempty"`
|
||||
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"`
|
||||
type ResourceRepoSparseCheckout struct {
|
||||
Patterns []string `json:"patterns"`
|
||||
}
|
||||
|
||||
type ResourceRepo struct {
|
||||
Branch string `json:"branch,omitempty"`
|
||||
CommitHash string `json:"commit_hash,omitempty"`
|
||||
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"`
|
||||
}
|
||||
|
|
|
@ -11,4 +11,5 @@ type ResourceSchema struct {
|
|||
Name string `json:"name"`
|
||||
Owner string `json:"owner,omitempty"`
|
||||
Properties map[string]string `json:"properties,omitempty"`
|
||||
StorageRoot string `json:"storage_root,omitempty"`
|
||||
}
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
package schema
|
||||
|
||||
type ResourceSecret struct {
|
||||
ConfigReference string `json:"config_reference,omitempty"`
|
||||
Id string `json:"id,omitempty"`
|
||||
Key string `json:"key"`
|
||||
LastUpdatedTimestamp int `json:"last_updated_timestamp,omitempty"`
|
||||
|
|
|
@ -11,6 +11,10 @@ type ResourceServicePrincipal struct {
|
|||
DisplayName string `json:"display_name,omitempty"`
|
||||
ExternalId string `json:"external_id,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"`
|
||||
Repos string `json:"repos,omitempty"`
|
||||
WorkspaceAccess bool `json:"workspace_access,omitempty"`
|
||||
}
|
||||
|
|
|
@ -2,13 +2,29 @@
|
|||
|
||||
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 {
|
||||
AddedAt int `json:"added_at,omitempty"`
|
||||
AddedBy string `json:"added_by,omitempty"`
|
||||
Comment string `json:"comment,omitempty"`
|
||||
DataObjectType string `json:"data_object_type"`
|
||||
Name string `json:"name"`
|
||||
SharedAs string `json:"shared_as,omitempty"`
|
||||
AddedAt int `json:"added_at,omitempty"`
|
||||
AddedBy string `json:"added_by,omitempty"`
|
||||
CdfEnabled bool `json:"cdf_enabled,omitempty"`
|
||||
Comment string `json:"comment,omitempty"`
|
||||
DataObjectType string `json:"data_object_type"`
|
||||
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 {
|
||||
|
|
|
@ -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"`
|
||||
}
|
|
@ -3,7 +3,8 @@
|
|||
package schema
|
||||
|
||||
type ResourceSqlDashboard struct {
|
||||
Id string `json:"id,omitempty"`
|
||||
Name string `json:"name"`
|
||||
Tags []string `json:"tags,omitempty"`
|
||||
Id string `json:"id,omitempty"`
|
||||
Name string `json:"name"`
|
||||
Parent string `json:"parent,omitempty"`
|
||||
Tags []string `json:"tags,omitempty"`
|
||||
}
|
||||
|
|
|
@ -6,24 +6,42 @@ type ResourceSqlQueryParameterDate struct {
|
|||
Value string `json:"value"`
|
||||
}
|
||||
|
||||
type ResourceSqlQueryParameterDateRangeRange struct {
|
||||
End string `json:"end"`
|
||||
Start string `json:"start"`
|
||||
}
|
||||
|
||||
type ResourceSqlQueryParameterDateRange struct {
|
||||
Value string `json:"value"`
|
||||
Value string `json:"value,omitempty"`
|
||||
Range *ResourceSqlQueryParameterDateRangeRange `json:"range,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceSqlQueryParameterDatetime struct {
|
||||
Value string `json:"value"`
|
||||
}
|
||||
|
||||
type ResourceSqlQueryParameterDatetimeRangeRange struct {
|
||||
End string `json:"end"`
|
||||
Start string `json:"start"`
|
||||
}
|
||||
|
||||
type ResourceSqlQueryParameterDatetimeRange struct {
|
||||
Value string `json:"value"`
|
||||
Value string `json:"value,omitempty"`
|
||||
Range *ResourceSqlQueryParameterDatetimeRangeRange `json:"range,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceSqlQueryParameterDatetimesec struct {
|
||||
Value string `json:"value"`
|
||||
}
|
||||
|
||||
type ResourceSqlQueryParameterDatetimesecRangeRange struct {
|
||||
End string `json:"end"`
|
||||
Start string `json:"start"`
|
||||
}
|
||||
|
||||
type ResourceSqlQueryParameterDatetimesecRange struct {
|
||||
Value string `json:"value"`
|
||||
Value string `json:"value,omitempty"`
|
||||
Range *ResourceSqlQueryParameterDatetimesecRangeRange `json:"range,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceSqlQueryParameterEnumMultiple struct {
|
||||
|
@ -104,6 +122,7 @@ type ResourceSqlQuery struct {
|
|||
Description string `json:"description,omitempty"`
|
||||
Id string `json:"id,omitempty"`
|
||||
Name string `json:"name"`
|
||||
Parent string `json:"parent,omitempty"`
|
||||
Query string `json:"query"`
|
||||
RunAsRole string `json:"run_as_role,omitempty"`
|
||||
Tags []string `json:"tags,omitempty"`
|
||||
|
|
|
@ -16,13 +16,25 @@ type ResourceStorageCredentialAzureServicePrincipal struct {
|
|||
DirectoryId string `json:"directory_id"`
|
||||
}
|
||||
|
||||
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"`
|
||||
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 {
|
||||
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"`
|
||||
}
|
||||
|
|
|
@ -10,7 +10,11 @@ type ResourceUser struct {
|
|||
DisplayName string `json:"display_name,omitempty"`
|
||||
ExternalId string `json:"external_id,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"`
|
||||
Repos string `json:"repos,omitempty"`
|
||||
UserName string `json:"user_name"`
|
||||
WorkspaceAccess bool `json:"workspace_access,omitempty"`
|
||||
}
|
||||
|
|
|
@ -32,6 +32,7 @@ type Resources struct {
|
|||
MlflowExperiment map[string]*ResourceMlflowExperiment `json:"databricks_mlflow_experiment,omitempty"`
|
||||
MlflowModel map[string]*ResourceMlflowModel `json:"databricks_mlflow_model,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"`
|
||||
MwsCredentials map[string]*ResourceMwsCredentials `json:"databricks_mws_credentials,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"`
|
||||
Permissions map[string]*ResourcePermissions `json:"databricks_permissions,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"`
|
||||
Repo map[string]*ResourceRepo `json:"databricks_repo,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"`
|
||||
ServicePrincipalSecret map[string]*ResourceServicePrincipalSecret `json:"databricks_service_principal_secret,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"`
|
||||
SqlEndpoint map[string]*ResourceSqlEndpoint `json:"databricks_sql_endpoint,omitempty"`
|
||||
SqlGlobalConfig map[string]*ResourceSqlGlobalConfig `json:"databricks_sql_global_config,omitempty"`
|
||||
|
@ -104,6 +107,7 @@ func NewResources() *Resources {
|
|||
MlflowExperiment: make(map[string]*ResourceMlflowExperiment),
|
||||
MlflowModel: make(map[string]*ResourceMlflowModel),
|
||||
MlflowWebhook: make(map[string]*ResourceMlflowWebhook),
|
||||
ModelServing: make(map[string]*ResourceModelServing),
|
||||
Mount: make(map[string]*ResourceMount),
|
||||
MwsCredentials: make(map[string]*ResourceMwsCredentials),
|
||||
MwsCustomerManagedKeys: make(map[string]*ResourceMwsCustomerManagedKeys),
|
||||
|
@ -119,6 +123,7 @@ func NewResources() *Resources {
|
|||
PermissionAssignment: make(map[string]*ResourcePermissionAssignment),
|
||||
Permissions: make(map[string]*ResourcePermissions),
|
||||
Pipeline: make(map[string]*ResourcePipeline),
|
||||
Provider: make(map[string]*ResourceProvider),
|
||||
Recipient: make(map[string]*ResourceRecipient),
|
||||
Repo: make(map[string]*ResourceRepo),
|
||||
Schema: make(map[string]*ResourceSchema),
|
||||
|
@ -129,6 +134,7 @@ func NewResources() *Resources {
|
|||
ServicePrincipalRole: make(map[string]*ResourceServicePrincipalRole),
|
||||
ServicePrincipalSecret: make(map[string]*ResourceServicePrincipalSecret),
|
||||
Share: make(map[string]*ResourceShare),
|
||||
SqlAlert: make(map[string]*ResourceSqlAlert),
|
||||
SqlDashboard: make(map[string]*ResourceSqlDashboard),
|
||||
SqlEndpoint: make(map[string]*ResourceSqlEndpoint),
|
||||
SqlGlobalConfig: make(map[string]*ResourceSqlGlobalConfig),
|
||||
|
|
Loading…
Reference in New Issue