mirror of https://github.com/databricks/cli.git
Upgrade TF provider to 1.49.1 (#1626)
## Changes Upgrade TF provider to 1.49.1
This commit is contained in:
parent
9dbb58e821
commit
90aaf2d20f
|
@ -1,3 +1,3 @@
|
|||
package schema
|
||||
|
||||
const ProviderVersion = "1.49.0"
|
||||
const ProviderVersion = "1.49.1"
|
||||
|
|
|
@ -4,8 +4,6 @@ package schema
|
|||
|
||||
type Config struct {
|
||||
AccountId string `json:"account_id,omitempty"`
|
||||
ActionsIdTokenRequestToken string `json:"actions_id_token_request_token,omitempty"`
|
||||
ActionsIdTokenRequestUrl string `json:"actions_id_token_request_url,omitempty"`
|
||||
AuthType string `json:"auth_type,omitempty"`
|
||||
AzureClientId string `json:"azure_client_id,omitempty"`
|
||||
AzureClientSecret string `json:"azure_client_secret,omitempty"`
|
||||
|
@ -30,7 +28,6 @@ type Config struct {
|
|||
Profile string `json:"profile,omitempty"`
|
||||
RateLimit int `json:"rate_limit,omitempty"`
|
||||
RetryTimeoutSeconds int `json:"retry_timeout_seconds,omitempty"`
|
||||
ServerlessComputeId string `json:"serverless_compute_id,omitempty"`
|
||||
SkipVerify bool `json:"skip_verify,omitempty"`
|
||||
Token string `json:"token,omitempty"`
|
||||
Username string `json:"username,omitempty"`
|
||||
|
|
|
@ -10,9 +10,7 @@ type DataSourceClusterClusterInfoAutoscale struct {
|
|||
type DataSourceClusterClusterInfoAwsAttributes struct {
|
||||
Availability string `json:"availability,omitempty"`
|
||||
EbsVolumeCount int `json:"ebs_volume_count,omitempty"`
|
||||
EbsVolumeIops int `json:"ebs_volume_iops,omitempty"`
|
||||
EbsVolumeSize int `json:"ebs_volume_size,omitempty"`
|
||||
EbsVolumeThroughput int `json:"ebs_volume_throughput,omitempty"`
|
||||
EbsVolumeType string `json:"ebs_volume_type,omitempty"`
|
||||
FirstOnDemand int `json:"first_on_demand,omitempty"`
|
||||
InstanceProfileArn string `json:"instance_profile_arn,omitempty"`
|
||||
|
@ -20,16 +18,10 @@ type DataSourceClusterClusterInfoAwsAttributes struct {
|
|||
ZoneId string `json:"zone_id,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoAzureAttributesLogAnalyticsInfo struct {
|
||||
LogAnalyticsPrimaryKey string `json:"log_analytics_primary_key,omitempty"`
|
||||
LogAnalyticsWorkspaceId string `json:"log_analytics_workspace_id,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoAzureAttributes struct {
|
||||
Availability string `json:"availability,omitempty"`
|
||||
FirstOnDemand int `json:"first_on_demand,omitempty"`
|
||||
SpotBidMaxPrice int `json:"spot_bid_max_price,omitempty"`
|
||||
LogAnalyticsInfo *DataSourceClusterClusterInfoAzureAttributesLogAnalyticsInfo `json:"log_analytics_info,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoClusterLogConfDbfs struct {
|
||||
|
@ -57,12 +49,12 @@ type DataSourceClusterClusterInfoClusterLogStatus struct {
|
|||
}
|
||||
|
||||
type DataSourceClusterClusterInfoDockerImageBasicAuth struct {
|
||||
Password string `json:"password,omitempty"`
|
||||
Username string `json:"username,omitempty"`
|
||||
Password string `json:"password"`
|
||||
Username string `json:"username"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoDockerImage struct {
|
||||
Url string `json:"url,omitempty"`
|
||||
Url string `json:"url"`
|
||||
BasicAuth *DataSourceClusterClusterInfoDockerImageBasicAuth `json:"basic_auth,omitempty"`
|
||||
}
|
||||
|
||||
|
@ -147,212 +139,12 @@ type DataSourceClusterClusterInfoInitScripts struct {
|
|||
Workspace *DataSourceClusterClusterInfoInitScriptsWorkspace `json:"workspace,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoSpecAutoscale struct {
|
||||
MaxWorkers int `json:"max_workers,omitempty"`
|
||||
MinWorkers int `json:"min_workers,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoSpecAwsAttributes struct {
|
||||
Availability string `json:"availability,omitempty"`
|
||||
EbsVolumeCount int `json:"ebs_volume_count,omitempty"`
|
||||
EbsVolumeIops int `json:"ebs_volume_iops,omitempty"`
|
||||
EbsVolumeSize int `json:"ebs_volume_size,omitempty"`
|
||||
EbsVolumeThroughput int `json:"ebs_volume_throughput,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 DataSourceClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo struct {
|
||||
LogAnalyticsPrimaryKey string `json:"log_analytics_primary_key,omitempty"`
|
||||
LogAnalyticsWorkspaceId string `json:"log_analytics_workspace_id,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoSpecAzureAttributes struct {
|
||||
Availability string `json:"availability,omitempty"`
|
||||
FirstOnDemand int `json:"first_on_demand,omitempty"`
|
||||
SpotBidMaxPrice int `json:"spot_bid_max_price,omitempty"`
|
||||
LogAnalyticsInfo *DataSourceClusterClusterInfoSpecAzureAttributesLogAnalyticsInfo `json:"log_analytics_info,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoSpecClusterLogConfDbfs struct {
|
||||
Destination string `json:"destination"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoSpecClusterLogConfS3 struct {
|
||||
CannedAcl string `json:"canned_acl,omitempty"`
|
||||
Destination string `json:"destination"`
|
||||
EnableEncryption bool `json:"enable_encryption,omitempty"`
|
||||
EncryptionType string `json:"encryption_type,omitempty"`
|
||||
Endpoint string `json:"endpoint,omitempty"`
|
||||
KmsKey string `json:"kms_key,omitempty"`
|
||||
Region string `json:"region,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoSpecClusterLogConf struct {
|
||||
Dbfs *DataSourceClusterClusterInfoSpecClusterLogConfDbfs `json:"dbfs,omitempty"`
|
||||
S3 *DataSourceClusterClusterInfoSpecClusterLogConfS3 `json:"s3,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfo struct {
|
||||
MountOptions string `json:"mount_options,omitempty"`
|
||||
ServerAddress string `json:"server_address"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoSpecClusterMountInfo struct {
|
||||
LocalMountDirPath string `json:"local_mount_dir_path"`
|
||||
RemoteMountDirPath string `json:"remote_mount_dir_path,omitempty"`
|
||||
NetworkFilesystemInfo *DataSourceClusterClusterInfoSpecClusterMountInfoNetworkFilesystemInfo `json:"network_filesystem_info,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoSpecDockerImageBasicAuth struct {
|
||||
Password string `json:"password"`
|
||||
Username string `json:"username"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoSpecDockerImage struct {
|
||||
Url string `json:"url"`
|
||||
BasicAuth *DataSourceClusterClusterInfoSpecDockerImageBasicAuth `json:"basic_auth,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoSpecGcpAttributes struct {
|
||||
Availability string `json:"availability,omitempty"`
|
||||
BootDiskSize int `json:"boot_disk_size,omitempty"`
|
||||
GoogleServiceAccount string `json:"google_service_account,omitempty"`
|
||||
LocalSsdCount int `json:"local_ssd_count,omitempty"`
|
||||
UsePreemptibleExecutors bool `json:"use_preemptible_executors,omitempty"`
|
||||
ZoneId string `json:"zone_id,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoSpecInitScriptsAbfss struct {
|
||||
Destination string `json:"destination"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoSpecInitScriptsDbfs struct {
|
||||
Destination string `json:"destination"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoSpecInitScriptsFile struct {
|
||||
Destination string `json:"destination"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoSpecInitScriptsGcs struct {
|
||||
Destination string `json:"destination"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoSpecInitScriptsS3 struct {
|
||||
CannedAcl string `json:"canned_acl,omitempty"`
|
||||
Destination string `json:"destination"`
|
||||
EnableEncryption bool `json:"enable_encryption,omitempty"`
|
||||
EncryptionType string `json:"encryption_type,omitempty"`
|
||||
Endpoint string `json:"endpoint,omitempty"`
|
||||
KmsKey string `json:"kms_key,omitempty"`
|
||||
Region string `json:"region,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoSpecInitScriptsVolumes struct {
|
||||
Destination string `json:"destination"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoSpecInitScriptsWorkspace struct {
|
||||
Destination string `json:"destination"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoSpecInitScripts struct {
|
||||
Abfss *DataSourceClusterClusterInfoSpecInitScriptsAbfss `json:"abfss,omitempty"`
|
||||
Dbfs *DataSourceClusterClusterInfoSpecInitScriptsDbfs `json:"dbfs,omitempty"`
|
||||
File *DataSourceClusterClusterInfoSpecInitScriptsFile `json:"file,omitempty"`
|
||||
Gcs *DataSourceClusterClusterInfoSpecInitScriptsGcs `json:"gcs,omitempty"`
|
||||
S3 *DataSourceClusterClusterInfoSpecInitScriptsS3 `json:"s3,omitempty"`
|
||||
Volumes *DataSourceClusterClusterInfoSpecInitScriptsVolumes `json:"volumes,omitempty"`
|
||||
Workspace *DataSourceClusterClusterInfoSpecInitScriptsWorkspace `json:"workspace,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoSpecLibraryCran struct {
|
||||
Package string `json:"package"`
|
||||
Repo string `json:"repo,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoSpecLibraryMaven struct {
|
||||
Coordinates string `json:"coordinates"`
|
||||
Exclusions []string `json:"exclusions,omitempty"`
|
||||
Repo string `json:"repo,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoSpecLibraryPypi struct {
|
||||
Package string `json:"package"`
|
||||
Repo string `json:"repo,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoSpecLibrary struct {
|
||||
Egg string `json:"egg,omitempty"`
|
||||
Jar string `json:"jar,omitempty"`
|
||||
Requirements string `json:"requirements,omitempty"`
|
||||
Whl string `json:"whl,omitempty"`
|
||||
Cran *DataSourceClusterClusterInfoSpecLibraryCran `json:"cran,omitempty"`
|
||||
Maven *DataSourceClusterClusterInfoSpecLibraryMaven `json:"maven,omitempty"`
|
||||
Pypi *DataSourceClusterClusterInfoSpecLibraryPypi `json:"pypi,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoSpecWorkloadTypeClients struct {
|
||||
Jobs bool `json:"jobs,omitempty"`
|
||||
Notebooks bool `json:"notebooks,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoSpecWorkloadType struct {
|
||||
Clients *DataSourceClusterClusterInfoSpecWorkloadTypeClients `json:"clients,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoSpec struct {
|
||||
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,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 *DataSourceClusterClusterInfoSpecAutoscale `json:"autoscale,omitempty"`
|
||||
AwsAttributes *DataSourceClusterClusterInfoSpecAwsAttributes `json:"aws_attributes,omitempty"`
|
||||
AzureAttributes *DataSourceClusterClusterInfoSpecAzureAttributes `json:"azure_attributes,omitempty"`
|
||||
ClusterLogConf *DataSourceClusterClusterInfoSpecClusterLogConf `json:"cluster_log_conf,omitempty"`
|
||||
ClusterMountInfo []DataSourceClusterClusterInfoSpecClusterMountInfo `json:"cluster_mount_info,omitempty"`
|
||||
DockerImage *DataSourceClusterClusterInfoSpecDockerImage `json:"docker_image,omitempty"`
|
||||
GcpAttributes *DataSourceClusterClusterInfoSpecGcpAttributes `json:"gcp_attributes,omitempty"`
|
||||
InitScripts []DataSourceClusterClusterInfoSpecInitScripts `json:"init_scripts,omitempty"`
|
||||
Library []DataSourceClusterClusterInfoSpecLibrary `json:"library,omitempty"`
|
||||
WorkloadType *DataSourceClusterClusterInfoSpecWorkloadType `json:"workload_type,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoTerminationReason struct {
|
||||
Code string `json:"code,omitempty"`
|
||||
Parameters map[string]string `json:"parameters,omitempty"`
|
||||
Type string `json:"type,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoWorkloadTypeClients struct {
|
||||
Jobs bool `json:"jobs,omitempty"`
|
||||
Notebooks bool `json:"notebooks,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfoWorkloadType struct {
|
||||
Clients *DataSourceClusterClusterInfoWorkloadTypeClients `json:"clients,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceClusterClusterInfo struct {
|
||||
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
|
||||
ClusterCores int `json:"cluster_cores,omitempty"`
|
||||
|
@ -363,14 +155,14 @@ type DataSourceClusterClusterInfo struct {
|
|||
CreatorUserName string `json:"creator_user_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"`
|
||||
DefaultTags map[string]string `json:"default_tags"`
|
||||
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"`
|
||||
InstancePoolId string `json:"instance_pool_id,omitempty"`
|
||||
JdbcPort int `json:"jdbc_port,omitempty"`
|
||||
LastRestartedTime int `json:"last_restarted_time,omitempty"`
|
||||
LastActivityTime int `json:"last_activity_time,omitempty"`
|
||||
LastStateLossTime int `json:"last_state_loss_time,omitempty"`
|
||||
NodeTypeId string `json:"node_type_id,omitempty"`
|
||||
NumWorkers int `json:"num_workers,omitempty"`
|
||||
|
@ -380,12 +172,12 @@ type DataSourceClusterClusterInfo struct {
|
|||
SparkConf map[string]string `json:"spark_conf,omitempty"`
|
||||
SparkContextId int `json:"spark_context_id,omitempty"`
|
||||
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
||||
SparkVersion string `json:"spark_version,omitempty"`
|
||||
SparkVersion string `json:"spark_version"`
|
||||
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
||||
StartTime int `json:"start_time,omitempty"`
|
||||
State string `json:"state,omitempty"`
|
||||
State string `json:"state"`
|
||||
StateMessage string `json:"state_message,omitempty"`
|
||||
TerminatedTime int `json:"terminated_time,omitempty"`
|
||||
TerminateTime int `json:"terminate_time,omitempty"`
|
||||
Autoscale *DataSourceClusterClusterInfoAutoscale `json:"autoscale,omitempty"`
|
||||
AwsAttributes *DataSourceClusterClusterInfoAwsAttributes `json:"aws_attributes,omitempty"`
|
||||
AzureAttributes *DataSourceClusterClusterInfoAzureAttributes `json:"azure_attributes,omitempty"`
|
||||
|
@ -396,9 +188,7 @@ type DataSourceClusterClusterInfo struct {
|
|||
Executors []DataSourceClusterClusterInfoExecutors `json:"executors,omitempty"`
|
||||
GcpAttributes *DataSourceClusterClusterInfoGcpAttributes `json:"gcp_attributes,omitempty"`
|
||||
InitScripts []DataSourceClusterClusterInfoInitScripts `json:"init_scripts,omitempty"`
|
||||
Spec *DataSourceClusterClusterInfoSpec `json:"spec,omitempty"`
|
||||
TerminationReason *DataSourceClusterClusterInfoTerminationReason `json:"termination_reason,omitempty"`
|
||||
WorkloadType *DataSourceClusterClusterInfoWorkloadType `json:"workload_type,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceCluster struct {
|
||||
|
|
|
@ -19,7 +19,6 @@ type DataSourceExternalLocationExternalLocationInfo struct {
|
|||
CreatedBy string `json:"created_by,omitempty"`
|
||||
CredentialId string `json:"credential_id,omitempty"`
|
||||
CredentialName string `json:"credential_name,omitempty"`
|
||||
IsolationMode string `json:"isolation_mode,omitempty"`
|
||||
MetastoreId string `json:"metastore_id,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
Owner string `json:"owner,omitempty"`
|
||||
|
|
|
@ -26,7 +26,6 @@ type DataSourceJobJobSettingsSettingsEmailNotifications struct {
|
|||
OnDurationWarningThresholdExceeded []string `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
||||
OnFailure []string `json:"on_failure,omitempty"`
|
||||
OnStart []string `json:"on_start,omitempty"`
|
||||
OnStreamingBacklogExceeded []string `json:"on_streaming_backlog_exceeded,omitempty"`
|
||||
OnSuccess []string `json:"on_success,omitempty"`
|
||||
}
|
||||
|
||||
|
@ -56,9 +55,9 @@ type DataSourceJobJobSettingsSettingsGitSource struct {
|
|||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsHealthRules struct {
|
||||
Metric string `json:"metric"`
|
||||
Op string `json:"op"`
|
||||
Value int `json:"value"`
|
||||
Metric string `json:"metric,omitempty"`
|
||||
Op string `json:"op,omitempty"`
|
||||
Value int `json:"value,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsHealth struct {
|
||||
|
@ -223,7 +222,7 @@ type DataSourceJobJobSettingsSettingsJobClusterNewCluster struct {
|
|||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsJobCluster struct {
|
||||
JobClusterKey string `json:"job_cluster_key"`
|
||||
JobClusterKey string `json:"job_cluster_key,omitempty"`
|
||||
NewCluster *DataSourceJobJobSettingsSettingsJobClusterNewCluster `json:"new_cluster,omitempty"`
|
||||
}
|
||||
|
||||
|
@ -501,7 +500,6 @@ type DataSourceJobJobSettingsSettingsTaskEmailNotifications struct {
|
|||
OnDurationWarningThresholdExceeded []string `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
||||
OnFailure []string `json:"on_failure,omitempty"`
|
||||
OnStart []string `json:"on_start,omitempty"`
|
||||
OnStreamingBacklogExceeded []string `json:"on_streaming_backlog_exceeded,omitempty"`
|
||||
OnSuccess []string `json:"on_success,omitempty"`
|
||||
}
|
||||
|
||||
|
@ -531,14 +529,13 @@ type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications struc
|
|||
OnDurationWarningThresholdExceeded []string `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
||||
OnFailure []string `json:"on_failure,omitempty"`
|
||||
OnStart []string `json:"on_start,omitempty"`
|
||||
OnStreamingBacklogExceeded []string `json:"on_streaming_backlog_exceeded,omitempty"`
|
||||
OnSuccess []string `json:"on_success,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskHealthRules struct {
|
||||
Metric string `json:"metric"`
|
||||
Op string `json:"op"`
|
||||
Value int `json:"value"`
|
||||
Metric string `json:"metric,omitempty"`
|
||||
Op string `json:"op,omitempty"`
|
||||
Value int `json:"value,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskHealth struct {
|
||||
|
@ -808,7 +805,7 @@ type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery struct {
|
|||
|
||||
type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskSqlTask struct {
|
||||
Parameters map[string]string `json:"parameters,omitempty"`
|
||||
WarehouseId string `json:"warehouse_id"`
|
||||
WarehouseId string `json:"warehouse_id,omitempty"`
|
||||
Alert *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert `json:"alert,omitempty"`
|
||||
Dashboard *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard `json:"dashboard,omitempty"`
|
||||
File *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile `json:"file,omitempty"`
|
||||
|
@ -827,10 +824,6 @@ type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSt
|
|||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded struct {
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess struct {
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
@ -839,7 +832,6 @@ type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications str
|
|||
OnDurationWarningThresholdExceeded []DataSourceJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
||||
OnFailure []DataSourceJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure `json:"on_failure,omitempty"`
|
||||
OnStart []DataSourceJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart `json:"on_start,omitempty"`
|
||||
OnStreamingBacklogExceeded []DataSourceJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded `json:"on_streaming_backlog_exceeded,omitempty"`
|
||||
OnSuccess []DataSourceJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess `json:"on_success,omitempty"`
|
||||
}
|
||||
|
||||
|
@ -852,7 +844,7 @@ type DataSourceJobJobSettingsSettingsTaskForEachTaskTask struct {
|
|||
MinRetryIntervalMillis int `json:"min_retry_interval_millis,omitempty"`
|
||||
RetryOnTimeout bool `json:"retry_on_timeout,omitempty"`
|
||||
RunIf string `json:"run_if,omitempty"`
|
||||
TaskKey string `json:"task_key"`
|
||||
TaskKey string `json:"task_key,omitempty"`
|
||||
TimeoutSeconds int `json:"timeout_seconds,omitempty"`
|
||||
ConditionTask *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskConditionTask `json:"condition_task,omitempty"`
|
||||
DbtTask *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskDbtTask `json:"dbt_task,omitempty"`
|
||||
|
@ -880,9 +872,9 @@ type DataSourceJobJobSettingsSettingsTaskForEachTask struct {
|
|||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskHealthRules struct {
|
||||
Metric string `json:"metric"`
|
||||
Op string `json:"op"`
|
||||
Value int `json:"value"`
|
||||
Metric string `json:"metric,omitempty"`
|
||||
Op string `json:"op,omitempty"`
|
||||
Value int `json:"value,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskHealth struct {
|
||||
|
@ -1152,7 +1144,7 @@ type DataSourceJobJobSettingsSettingsTaskSqlTaskQuery struct {
|
|||
|
||||
type DataSourceJobJobSettingsSettingsTaskSqlTask struct {
|
||||
Parameters map[string]string `json:"parameters,omitempty"`
|
||||
WarehouseId string `json:"warehouse_id"`
|
||||
WarehouseId string `json:"warehouse_id,omitempty"`
|
||||
Alert *DataSourceJobJobSettingsSettingsTaskSqlTaskAlert `json:"alert,omitempty"`
|
||||
Dashboard *DataSourceJobJobSettingsSettingsTaskSqlTaskDashboard `json:"dashboard,omitempty"`
|
||||
File *DataSourceJobJobSettingsSettingsTaskSqlTaskFile `json:"file,omitempty"`
|
||||
|
@ -1171,10 +1163,6 @@ type DataSourceJobJobSettingsSettingsTaskWebhookNotificationsOnStart struct {
|
|||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded struct {
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess struct {
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
@ -1183,7 +1171,6 @@ type DataSourceJobJobSettingsSettingsTaskWebhookNotifications struct {
|
|||
OnDurationWarningThresholdExceeded []DataSourceJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
||||
OnFailure []DataSourceJobJobSettingsSettingsTaskWebhookNotificationsOnFailure `json:"on_failure,omitempty"`
|
||||
OnStart []DataSourceJobJobSettingsSettingsTaskWebhookNotificationsOnStart `json:"on_start,omitempty"`
|
||||
OnStreamingBacklogExceeded []DataSourceJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded `json:"on_streaming_backlog_exceeded,omitempty"`
|
||||
OnSuccess []DataSourceJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess `json:"on_success,omitempty"`
|
||||
}
|
||||
|
||||
|
@ -1196,7 +1183,7 @@ type DataSourceJobJobSettingsSettingsTask struct {
|
|||
MinRetryIntervalMillis int `json:"min_retry_interval_millis,omitempty"`
|
||||
RetryOnTimeout bool `json:"retry_on_timeout,omitempty"`
|
||||
RunIf string `json:"run_if,omitempty"`
|
||||
TaskKey string `json:"task_key"`
|
||||
TaskKey string `json:"task_key,omitempty"`
|
||||
TimeoutSeconds int `json:"timeout_seconds,omitempty"`
|
||||
ConditionTask *DataSourceJobJobSettingsSettingsTaskConditionTask `json:"condition_task,omitempty"`
|
||||
DbtTask *DataSourceJobJobSettingsSettingsTaskDbtTask `json:"dbt_task,omitempty"`
|
||||
|
@ -1224,11 +1211,6 @@ type DataSourceJobJobSettingsSettingsTriggerFileArrival struct {
|
|||
WaitAfterLastChangeSeconds int `json:"wait_after_last_change_seconds,omitempty"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTriggerPeriodic struct {
|
||||
Interval int `json:"interval"`
|
||||
Unit string `json:"unit"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsTriggerTableUpdate struct {
|
||||
Condition string `json:"condition,omitempty"`
|
||||
MinTimeBetweenTriggersSeconds int `json:"min_time_between_triggers_seconds,omitempty"`
|
||||
|
@ -1239,7 +1221,6 @@ type DataSourceJobJobSettingsSettingsTriggerTableUpdate struct {
|
|||
type DataSourceJobJobSettingsSettingsTrigger struct {
|
||||
PauseStatus string `json:"pause_status,omitempty"`
|
||||
FileArrival *DataSourceJobJobSettingsSettingsTriggerFileArrival `json:"file_arrival,omitempty"`
|
||||
Periodic *DataSourceJobJobSettingsSettingsTriggerPeriodic `json:"periodic,omitempty"`
|
||||
TableUpdate *DataSourceJobJobSettingsSettingsTriggerTableUpdate `json:"table_update,omitempty"`
|
||||
}
|
||||
|
||||
|
@ -1255,10 +1236,6 @@ type DataSourceJobJobSettingsSettingsWebhookNotificationsOnStart struct {
|
|||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded struct {
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type DataSourceJobJobSettingsSettingsWebhookNotificationsOnSuccess struct {
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
@ -1267,7 +1244,6 @@ type DataSourceJobJobSettingsSettingsWebhookNotifications struct {
|
|||
OnDurationWarningThresholdExceeded []DataSourceJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
||||
OnFailure []DataSourceJobJobSettingsSettingsWebhookNotificationsOnFailure `json:"on_failure,omitempty"`
|
||||
OnStart []DataSourceJobJobSettingsSettingsWebhookNotificationsOnStart `json:"on_start,omitempty"`
|
||||
OnStreamingBacklogExceeded []DataSourceJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded `json:"on_streaming_backlog_exceeded,omitempty"`
|
||||
OnSuccess []DataSourceJobJobSettingsSettingsWebhookNotificationsOnSuccess `json:"on_success,omitempty"`
|
||||
}
|
||||
|
||||
|
|
|
@ -36,7 +36,6 @@ type DataSourceStorageCredentialStorageCredentialInfo struct {
|
|||
CreatedAt int `json:"created_at,omitempty"`
|
||||
CreatedBy string `json:"created_by,omitempty"`
|
||||
Id string `json:"id,omitempty"`
|
||||
IsolationMode string `json:"isolation_mode,omitempty"`
|
||||
MetastoreId string `json:"metastore_id,omitempty"`
|
||||
Name string `json:"name,omitempty"`
|
||||
Owner string `json:"owner,omitempty"`
|
||||
|
|
|
@ -6,7 +6,6 @@ type DataSources struct {
|
|||
AwsAssumeRolePolicy map[string]any `json:"databricks_aws_assume_role_policy,omitempty"`
|
||||
AwsBucketPolicy map[string]any `json:"databricks_aws_bucket_policy,omitempty"`
|
||||
AwsCrossaccountPolicy map[string]any `json:"databricks_aws_crossaccount_policy,omitempty"`
|
||||
AwsUnityCatalogAssumeRolePolicy map[string]any `json:"databricks_aws_unity_catalog_assume_role_policy,omitempty"`
|
||||
AwsUnityCatalogPolicy map[string]any `json:"databricks_aws_unity_catalog_policy,omitempty"`
|
||||
Catalog map[string]any `json:"databricks_catalog,omitempty"`
|
||||
Catalogs map[string]any `json:"databricks_catalogs,omitempty"`
|
||||
|
@ -36,7 +35,6 @@ type DataSources struct {
|
|||
Notebook map[string]any `json:"databricks_notebook,omitempty"`
|
||||
NotebookPaths map[string]any `json:"databricks_notebook_paths,omitempty"`
|
||||
Pipelines map[string]any `json:"databricks_pipelines,omitempty"`
|
||||
Schema map[string]any `json:"databricks_schema,omitempty"`
|
||||
Schemas map[string]any `json:"databricks_schemas,omitempty"`
|
||||
ServicePrincipal map[string]any `json:"databricks_service_principal,omitempty"`
|
||||
ServicePrincipals map[string]any `json:"databricks_service_principals,omitempty"`
|
||||
|
@ -51,7 +49,6 @@ type DataSources struct {
|
|||
Tables map[string]any `json:"databricks_tables,omitempty"`
|
||||
User map[string]any `json:"databricks_user,omitempty"`
|
||||
Views map[string]any `json:"databricks_views,omitempty"`
|
||||
Volume map[string]any `json:"databricks_volume,omitempty"`
|
||||
Volumes map[string]any `json:"databricks_volumes,omitempty"`
|
||||
Zones map[string]any `json:"databricks_zones,omitempty"`
|
||||
}
|
||||
|
@ -61,7 +58,6 @@ func NewDataSources() *DataSources {
|
|||
AwsAssumeRolePolicy: make(map[string]any),
|
||||
AwsBucketPolicy: make(map[string]any),
|
||||
AwsCrossaccountPolicy: make(map[string]any),
|
||||
AwsUnityCatalogAssumeRolePolicy: make(map[string]any),
|
||||
AwsUnityCatalogPolicy: make(map[string]any),
|
||||
Catalog: make(map[string]any),
|
||||
Catalogs: make(map[string]any),
|
||||
|
@ -91,7 +87,6 @@ func NewDataSources() *DataSources {
|
|||
Notebook: make(map[string]any),
|
||||
NotebookPaths: make(map[string]any),
|
||||
Pipelines: make(map[string]any),
|
||||
Schema: make(map[string]any),
|
||||
Schemas: make(map[string]any),
|
||||
ServicePrincipal: make(map[string]any),
|
||||
ServicePrincipals: make(map[string]any),
|
||||
|
@ -106,7 +101,6 @@ func NewDataSources() *DataSources {
|
|||
Tables: make(map[string]any),
|
||||
User: make(map[string]any),
|
||||
Views: make(map[string]any),
|
||||
Volume: make(map[string]any),
|
||||
Volumes: make(map[string]any),
|
||||
Zones: make(map[string]any),
|
||||
}
|
||||
|
|
|
@ -18,7 +18,6 @@ type ResourceExternalLocation struct {
|
|||
ForceDestroy bool `json:"force_destroy,omitempty"`
|
||||
ForceUpdate bool `json:"force_update,omitempty"`
|
||||
Id string `json:"id,omitempty"`
|
||||
IsolationMode string `json:"isolation_mode,omitempty"`
|
||||
MetastoreId string `json:"metastore_id,omitempty"`
|
||||
Name string `json:"name"`
|
||||
Owner string `json:"owner,omitempty"`
|
||||
|
|
|
@ -26,7 +26,6 @@ type ResourceJobEmailNotifications struct {
|
|||
OnDurationWarningThresholdExceeded []string `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
||||
OnFailure []string `json:"on_failure,omitempty"`
|
||||
OnStart []string `json:"on_start,omitempty"`
|
||||
OnStreamingBacklogExceeded []string `json:"on_streaming_backlog_exceeded,omitempty"`
|
||||
OnSuccess []string `json:"on_success,omitempty"`
|
||||
}
|
||||
|
||||
|
@ -61,9 +60,9 @@ type ResourceJobGitSource struct {
|
|||
}
|
||||
|
||||
type ResourceJobHealthRules struct {
|
||||
Metric string `json:"metric"`
|
||||
Op string `json:"op"`
|
||||
Value int `json:"value"`
|
||||
Metric string `json:"metric,omitempty"`
|
||||
Op string `json:"op,omitempty"`
|
||||
Value int `json:"value,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceJobHealth struct {
|
||||
|
@ -230,6 +229,7 @@ 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"`
|
||||
|
@ -262,7 +262,7 @@ type ResourceJobJobClusterNewCluster struct {
|
|||
}
|
||||
|
||||
type ResourceJobJobCluster struct {
|
||||
JobClusterKey string `json:"job_cluster_key"`
|
||||
JobClusterKey string `json:"job_cluster_key,omitempty"`
|
||||
NewCluster *ResourceJobJobClusterNewCluster `json:"new_cluster,omitempty"`
|
||||
}
|
||||
|
||||
|
@ -452,6 +452,7 @@ 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"`
|
||||
|
@ -574,7 +575,6 @@ type ResourceJobTaskEmailNotifications struct {
|
|||
OnDurationWarningThresholdExceeded []string `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
||||
OnFailure []string `json:"on_failure,omitempty"`
|
||||
OnStart []string `json:"on_start,omitempty"`
|
||||
OnStreamingBacklogExceeded []string `json:"on_streaming_backlog_exceeded,omitempty"`
|
||||
OnSuccess []string `json:"on_success,omitempty"`
|
||||
}
|
||||
|
||||
|
@ -604,14 +604,13 @@ type ResourceJobTaskForEachTaskTaskEmailNotifications struct {
|
|||
OnDurationWarningThresholdExceeded []string `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
||||
OnFailure []string `json:"on_failure,omitempty"`
|
||||
OnStart []string `json:"on_start,omitempty"`
|
||||
OnStreamingBacklogExceeded []string `json:"on_streaming_backlog_exceeded,omitempty"`
|
||||
OnSuccess []string `json:"on_success,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceJobTaskForEachTaskTaskHealthRules struct {
|
||||
Metric string `json:"metric"`
|
||||
Op string `json:"op"`
|
||||
Value int `json:"value"`
|
||||
Metric string `json:"metric,omitempty"`
|
||||
Op string `json:"op,omitempty"`
|
||||
Value int `json:"value,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceJobTaskForEachTaskTaskHealth struct {
|
||||
|
@ -804,6 +803,7 @@ type ResourceJobTaskForEachTaskTaskNewClusterWorkloadType struct {
|
|||
|
||||
type ResourceJobTaskForEachTaskTaskNewCluster 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"`
|
||||
|
@ -927,7 +927,7 @@ type ResourceJobTaskForEachTaskTaskSqlTaskQuery struct {
|
|||
|
||||
type ResourceJobTaskForEachTaskTaskSqlTask struct {
|
||||
Parameters map[string]string `json:"parameters,omitempty"`
|
||||
WarehouseId string `json:"warehouse_id"`
|
||||
WarehouseId string `json:"warehouse_id,omitempty"`
|
||||
Alert *ResourceJobTaskForEachTaskTaskSqlTaskAlert `json:"alert,omitempty"`
|
||||
Dashboard *ResourceJobTaskForEachTaskTaskSqlTaskDashboard `json:"dashboard,omitempty"`
|
||||
File *ResourceJobTaskForEachTaskTaskSqlTaskFile `json:"file,omitempty"`
|
||||
|
@ -946,10 +946,6 @@ type ResourceJobTaskForEachTaskTaskWebhookNotificationsOnStart struct {
|
|||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type ResourceJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded struct {
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type ResourceJobTaskForEachTaskTaskWebhookNotificationsOnSuccess struct {
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
@ -958,7 +954,6 @@ type ResourceJobTaskForEachTaskTaskWebhookNotifications struct {
|
|||
OnDurationWarningThresholdExceeded []ResourceJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
||||
OnFailure []ResourceJobTaskForEachTaskTaskWebhookNotificationsOnFailure `json:"on_failure,omitempty"`
|
||||
OnStart []ResourceJobTaskForEachTaskTaskWebhookNotificationsOnStart `json:"on_start,omitempty"`
|
||||
OnStreamingBacklogExceeded []ResourceJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded `json:"on_streaming_backlog_exceeded,omitempty"`
|
||||
OnSuccess []ResourceJobTaskForEachTaskTaskWebhookNotificationsOnSuccess `json:"on_success,omitempty"`
|
||||
}
|
||||
|
||||
|
@ -972,7 +967,7 @@ type ResourceJobTaskForEachTaskTask struct {
|
|||
MinRetryIntervalMillis int `json:"min_retry_interval_millis,omitempty"`
|
||||
RetryOnTimeout bool `json:"retry_on_timeout,omitempty"`
|
||||
RunIf string `json:"run_if,omitempty"`
|
||||
TaskKey string `json:"task_key"`
|
||||
TaskKey string `json:"task_key,omitempty"`
|
||||
TimeoutSeconds int `json:"timeout_seconds,omitempty"`
|
||||
ConditionTask *ResourceJobTaskForEachTaskTaskConditionTask `json:"condition_task,omitempty"`
|
||||
DbtTask *ResourceJobTaskForEachTaskTaskDbtTask `json:"dbt_task,omitempty"`
|
||||
|
@ -1000,9 +995,9 @@ type ResourceJobTaskForEachTask struct {
|
|||
}
|
||||
|
||||
type ResourceJobTaskHealthRules struct {
|
||||
Metric string `json:"metric"`
|
||||
Op string `json:"op"`
|
||||
Value int `json:"value"`
|
||||
Metric string `json:"metric,omitempty"`
|
||||
Op string `json:"op,omitempty"`
|
||||
Value int `json:"value,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceJobTaskHealth struct {
|
||||
|
@ -1195,6 +1190,7 @@ 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"`
|
||||
|
@ -1318,7 +1314,7 @@ type ResourceJobTaskSqlTaskQuery struct {
|
|||
|
||||
type ResourceJobTaskSqlTask struct {
|
||||
Parameters map[string]string `json:"parameters,omitempty"`
|
||||
WarehouseId string `json:"warehouse_id"`
|
||||
WarehouseId string `json:"warehouse_id,omitempty"`
|
||||
Alert *ResourceJobTaskSqlTaskAlert `json:"alert,omitempty"`
|
||||
Dashboard *ResourceJobTaskSqlTaskDashboard `json:"dashboard,omitempty"`
|
||||
File *ResourceJobTaskSqlTaskFile `json:"file,omitempty"`
|
||||
|
@ -1337,10 +1333,6 @@ type ResourceJobTaskWebhookNotificationsOnStart struct {
|
|||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type ResourceJobTaskWebhookNotificationsOnStreamingBacklogExceeded struct {
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type ResourceJobTaskWebhookNotificationsOnSuccess struct {
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
@ -1349,7 +1341,6 @@ type ResourceJobTaskWebhookNotifications struct {
|
|||
OnDurationWarningThresholdExceeded []ResourceJobTaskWebhookNotificationsOnDurationWarningThresholdExceeded `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
||||
OnFailure []ResourceJobTaskWebhookNotificationsOnFailure `json:"on_failure,omitempty"`
|
||||
OnStart []ResourceJobTaskWebhookNotificationsOnStart `json:"on_start,omitempty"`
|
||||
OnStreamingBacklogExceeded []ResourceJobTaskWebhookNotificationsOnStreamingBacklogExceeded `json:"on_streaming_backlog_exceeded,omitempty"`
|
||||
OnSuccess []ResourceJobTaskWebhookNotificationsOnSuccess `json:"on_success,omitempty"`
|
||||
}
|
||||
|
||||
|
@ -1363,7 +1354,7 @@ type ResourceJobTask struct {
|
|||
MinRetryIntervalMillis int `json:"min_retry_interval_millis,omitempty"`
|
||||
RetryOnTimeout bool `json:"retry_on_timeout,omitempty"`
|
||||
RunIf string `json:"run_if,omitempty"`
|
||||
TaskKey string `json:"task_key"`
|
||||
TaskKey string `json:"task_key,omitempty"`
|
||||
TimeoutSeconds int `json:"timeout_seconds,omitempty"`
|
||||
ConditionTask *ResourceJobTaskConditionTask `json:"condition_task,omitempty"`
|
||||
DbtTask *ResourceJobTaskDbtTask `json:"dbt_task,omitempty"`
|
||||
|
@ -1391,11 +1382,6 @@ type ResourceJobTriggerFileArrival struct {
|
|||
WaitAfterLastChangeSeconds int `json:"wait_after_last_change_seconds,omitempty"`
|
||||
}
|
||||
|
||||
type ResourceJobTriggerPeriodic struct {
|
||||
Interval int `json:"interval"`
|
||||
Unit string `json:"unit"`
|
||||
}
|
||||
|
||||
type ResourceJobTriggerTable struct {
|
||||
Condition string `json:"condition,omitempty"`
|
||||
MinTimeBetweenTriggersSeconds int `json:"min_time_between_triggers_seconds,omitempty"`
|
||||
|
@ -1413,7 +1399,6 @@ type ResourceJobTriggerTableUpdate struct {
|
|||
type ResourceJobTrigger struct {
|
||||
PauseStatus string `json:"pause_status,omitempty"`
|
||||
FileArrival *ResourceJobTriggerFileArrival `json:"file_arrival,omitempty"`
|
||||
Periodic *ResourceJobTriggerPeriodic `json:"periodic,omitempty"`
|
||||
Table *ResourceJobTriggerTable `json:"table,omitempty"`
|
||||
TableUpdate *ResourceJobTriggerTableUpdate `json:"table_update,omitempty"`
|
||||
}
|
||||
|
@ -1430,10 +1415,6 @@ type ResourceJobWebhookNotificationsOnStart struct {
|
|||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type ResourceJobWebhookNotificationsOnStreamingBacklogExceeded struct {
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
||||
type ResourceJobWebhookNotificationsOnSuccess struct {
|
||||
Id string `json:"id"`
|
||||
}
|
||||
|
@ -1442,7 +1423,6 @@ type ResourceJobWebhookNotifications struct {
|
|||
OnDurationWarningThresholdExceeded []ResourceJobWebhookNotificationsOnDurationWarningThresholdExceeded `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
||||
OnFailure []ResourceJobWebhookNotificationsOnFailure `json:"on_failure,omitempty"`
|
||||
OnStart []ResourceJobWebhookNotificationsOnStart `json:"on_start,omitempty"`
|
||||
OnStreamingBacklogExceeded []ResourceJobWebhookNotificationsOnStreamingBacklogExceeded `json:"on_streaming_backlog_exceeded,omitempty"`
|
||||
OnSuccess []ResourceJobWebhookNotificationsOnSuccess `json:"on_success,omitempty"`
|
||||
}
|
||||
|
||||
|
|
|
@ -37,7 +37,6 @@ type ResourceMetastoreDataAccess struct {
|
|||
ForceUpdate bool `json:"force_update,omitempty"`
|
||||
Id string `json:"id,omitempty"`
|
||||
IsDefault bool `json:"is_default,omitempty"`
|
||||
IsolationMode string `json:"isolation_mode,omitempty"`
|
||||
MetastoreId string `json:"metastore_id,omitempty"`
|
||||
Name string `json:"name"`
|
||||
Owner string `json:"owner,omitempty"`
|
||||
|
|
|
@ -43,7 +43,6 @@ type ResourceMwsWorkspaces struct {
|
|||
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
||||
CustomerManagedKeyId string `json:"customer_managed_key_id,omitempty"`
|
||||
DeploymentName string `json:"deployment_name,omitempty"`
|
||||
GcpWorkspaceSa string `json:"gcp_workspace_sa,omitempty"`
|
||||
Id string `json:"id,omitempty"`
|
||||
IsNoPublicIpEnabled bool `json:"is_no_public_ip_enabled,omitempty"`
|
||||
Location string `json:"location,omitempty"`
|
||||
|
|
|
@ -22,6 +22,5 @@ type ResourceOnlineTable struct {
|
|||
Id string `json:"id,omitempty"`
|
||||
Name string `json:"name"`
|
||||
Status []any `json:"status,omitempty"`
|
||||
TableServingUrl string `json:"table_serving_url,omitempty"`
|
||||
Spec *ResourceOnlineTableSpec `json:"spec,omitempty"`
|
||||
}
|
||||
|
|
|
@ -13,7 +13,6 @@ type ResourcePermissions struct {
|
|||
Authorization string `json:"authorization,omitempty"`
|
||||
ClusterId string `json:"cluster_id,omitempty"`
|
||||
ClusterPolicyId string `json:"cluster_policy_id,omitempty"`
|
||||
DashboardId string `json:"dashboard_id,omitempty"`
|
||||
DirectoryId string `json:"directory_id,omitempty"`
|
||||
DirectoryPath string `json:"directory_path,omitempty"`
|
||||
ExperimentId string `json:"experiment_id,omitempty"`
|
||||
|
|
|
@ -36,13 +36,11 @@ type ResourceStorageCredential struct {
|
|||
ForceDestroy bool `json:"force_destroy,omitempty"`
|
||||
ForceUpdate bool `json:"force_update,omitempty"`
|
||||
Id string `json:"id,omitempty"`
|
||||
IsolationMode string `json:"isolation_mode,omitempty"`
|
||||
MetastoreId string `json:"metastore_id,omitempty"`
|
||||
Name string `json:"name"`
|
||||
Owner string `json:"owner,omitempty"`
|
||||
ReadOnly bool `json:"read_only,omitempty"`
|
||||
SkipValidation bool `json:"skip_validation,omitempty"`
|
||||
StorageCredentialId string `json:"storage_credential_id,omitempty"`
|
||||
AwsIamRole *ResourceStorageCredentialAwsIamRole `json:"aws_iam_role,omitempty"`
|
||||
AzureManagedIdentity *ResourceStorageCredentialAzureManagedIdentity `json:"azure_managed_identity,omitempty"`
|
||||
AzureServicePrincipal *ResourceStorageCredentialAzureServicePrincipal `json:"azure_service_principal,omitempty"`
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
package schema
|
||||
|
||||
type ResourceSystemSchema struct {
|
||||
FullName string `json:"full_name,omitempty"`
|
||||
Id string `json:"id,omitempty"`
|
||||
MetastoreId string `json:"metastore_id,omitempty"`
|
||||
Schema string `json:"schema,omitempty"`
|
||||
|
|
|
@ -16,7 +16,6 @@ type Resources struct {
|
|||
ClusterPolicy map[string]any `json:"databricks_cluster_policy,omitempty"`
|
||||
ComplianceSecurityProfileWorkspaceSetting map[string]any `json:"databricks_compliance_security_profile_workspace_setting,omitempty"`
|
||||
Connection map[string]any `json:"databricks_connection,omitempty"`
|
||||
Dashboard map[string]any `json:"databricks_dashboard,omitempty"`
|
||||
DbfsFile map[string]any `json:"databricks_dbfs_file,omitempty"`
|
||||
DefaultNamespaceSetting map[string]any `json:"databricks_default_namespace_setting,omitempty"`
|
||||
Directory map[string]any `json:"databricks_directory,omitempty"`
|
||||
|
@ -97,7 +96,6 @@ type Resources struct {
|
|||
VectorSearchEndpoint map[string]any `json:"databricks_vector_search_endpoint,omitempty"`
|
||||
VectorSearchIndex map[string]any `json:"databricks_vector_search_index,omitempty"`
|
||||
Volume map[string]any `json:"databricks_volume,omitempty"`
|
||||
WorkspaceBinding map[string]any `json:"databricks_workspace_binding,omitempty"`
|
||||
WorkspaceConf map[string]any `json:"databricks_workspace_conf,omitempty"`
|
||||
WorkspaceFile map[string]any `json:"databricks_workspace_file,omitempty"`
|
||||
}
|
||||
|
@ -117,7 +115,6 @@ func NewResources() *Resources {
|
|||
ClusterPolicy: make(map[string]any),
|
||||
ComplianceSecurityProfileWorkspaceSetting: make(map[string]any),
|
||||
Connection: make(map[string]any),
|
||||
Dashboard: make(map[string]any),
|
||||
DbfsFile: make(map[string]any),
|
||||
DefaultNamespaceSetting: make(map[string]any),
|
||||
Directory: make(map[string]any),
|
||||
|
@ -198,7 +195,6 @@ func NewResources() *Resources {
|
|||
VectorSearchEndpoint: make(map[string]any),
|
||||
VectorSearchIndex: make(map[string]any),
|
||||
Volume: make(map[string]any),
|
||||
WorkspaceBinding: make(map[string]any),
|
||||
WorkspaceConf: make(map[string]any),
|
||||
WorkspaceFile: make(map[string]any),
|
||||
}
|
||||
|
|
|
@ -21,7 +21,7 @@ type Root struct {
|
|||
|
||||
const ProviderHost = "registry.terraform.io"
|
||||
const ProviderSource = "databricks/databricks"
|
||||
const ProviderVersion = "1.49.0"
|
||||
const ProviderVersion = "1.49.1"
|
||||
|
||||
func NewRoot() *Root {
|
||||
return &Root{
|
||||
|
|
Loading…
Reference in New Issue