mirror of https://github.com/databricks/cli.git
Regenerate TF schema (#1635)
## Changes - Regenerate TF schema for CLI. Due to an issue the previous generation missed some TF changes.
This commit is contained in:
parent
a52b188e99
commit
ecba875fe5
|
@ -4,6 +4,8 @@ package schema
|
||||||
|
|
||||||
type Config struct {
|
type Config struct {
|
||||||
AccountId string `json:"account_id,omitempty"`
|
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"`
|
AuthType string `json:"auth_type,omitempty"`
|
||||||
AzureClientId string `json:"azure_client_id,omitempty"`
|
AzureClientId string `json:"azure_client_id,omitempty"`
|
||||||
AzureClientSecret string `json:"azure_client_secret,omitempty"`
|
AzureClientSecret string `json:"azure_client_secret,omitempty"`
|
||||||
|
@ -28,6 +30,7 @@ type Config struct {
|
||||||
Profile string `json:"profile,omitempty"`
|
Profile string `json:"profile,omitempty"`
|
||||||
RateLimit int `json:"rate_limit,omitempty"`
|
RateLimit int `json:"rate_limit,omitempty"`
|
||||||
RetryTimeoutSeconds int `json:"retry_timeout_seconds,omitempty"`
|
RetryTimeoutSeconds int `json:"retry_timeout_seconds,omitempty"`
|
||||||
|
ServerlessComputeId string `json:"serverless_compute_id,omitempty"`
|
||||||
SkipVerify bool `json:"skip_verify,omitempty"`
|
SkipVerify bool `json:"skip_verify,omitempty"`
|
||||||
Token string `json:"token,omitempty"`
|
Token string `json:"token,omitempty"`
|
||||||
Username string `json:"username,omitempty"`
|
Username string `json:"username,omitempty"`
|
||||||
|
|
|
@ -10,7 +10,9 @@ type DataSourceClusterClusterInfoAutoscale struct {
|
||||||
type DataSourceClusterClusterInfoAwsAttributes struct {
|
type DataSourceClusterClusterInfoAwsAttributes struct {
|
||||||
Availability string `json:"availability,omitempty"`
|
Availability string `json:"availability,omitempty"`
|
||||||
EbsVolumeCount int `json:"ebs_volume_count,omitempty"`
|
EbsVolumeCount int `json:"ebs_volume_count,omitempty"`
|
||||||
|
EbsVolumeIops int `json:"ebs_volume_iops,omitempty"`
|
||||||
EbsVolumeSize int `json:"ebs_volume_size,omitempty"`
|
EbsVolumeSize int `json:"ebs_volume_size,omitempty"`
|
||||||
|
EbsVolumeThroughput int `json:"ebs_volume_throughput,omitempty"`
|
||||||
EbsVolumeType string `json:"ebs_volume_type,omitempty"`
|
EbsVolumeType string `json:"ebs_volume_type,omitempty"`
|
||||||
FirstOnDemand int `json:"first_on_demand,omitempty"`
|
FirstOnDemand int `json:"first_on_demand,omitempty"`
|
||||||
InstanceProfileArn string `json:"instance_profile_arn,omitempty"`
|
InstanceProfileArn string `json:"instance_profile_arn,omitempty"`
|
||||||
|
@ -18,10 +20,16 @@ type DataSourceClusterClusterInfoAwsAttributes struct {
|
||||||
ZoneId string `json:"zone_id,omitempty"`
|
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 {
|
type DataSourceClusterClusterInfoAzureAttributes struct {
|
||||||
Availability string `json:"availability,omitempty"`
|
Availability string `json:"availability,omitempty"`
|
||||||
FirstOnDemand int `json:"first_on_demand,omitempty"`
|
FirstOnDemand int `json:"first_on_demand,omitempty"`
|
||||||
SpotBidMaxPrice int `json:"spot_bid_max_price,omitempty"`
|
SpotBidMaxPrice int `json:"spot_bid_max_price,omitempty"`
|
||||||
|
LogAnalyticsInfo *DataSourceClusterClusterInfoAzureAttributesLogAnalyticsInfo `json:"log_analytics_info,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type DataSourceClusterClusterInfoClusterLogConfDbfs struct {
|
type DataSourceClusterClusterInfoClusterLogConfDbfs struct {
|
||||||
|
@ -49,12 +57,12 @@ type DataSourceClusterClusterInfoClusterLogStatus struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type DataSourceClusterClusterInfoDockerImageBasicAuth struct {
|
type DataSourceClusterClusterInfoDockerImageBasicAuth struct {
|
||||||
Password string `json:"password"`
|
Password string `json:"password,omitempty"`
|
||||||
Username string `json:"username"`
|
Username string `json:"username,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type DataSourceClusterClusterInfoDockerImage struct {
|
type DataSourceClusterClusterInfoDockerImage struct {
|
||||||
Url string `json:"url"`
|
Url string `json:"url,omitempty"`
|
||||||
BasicAuth *DataSourceClusterClusterInfoDockerImageBasicAuth `json:"basic_auth,omitempty"`
|
BasicAuth *DataSourceClusterClusterInfoDockerImageBasicAuth `json:"basic_auth,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -139,12 +147,212 @@ type DataSourceClusterClusterInfoInitScripts struct {
|
||||||
Workspace *DataSourceClusterClusterInfoInitScriptsWorkspace `json:"workspace,omitempty"`
|
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 {
|
type DataSourceClusterClusterInfoTerminationReason struct {
|
||||||
Code string `json:"code,omitempty"`
|
Code string `json:"code,omitempty"`
|
||||||
Parameters map[string]string `json:"parameters,omitempty"`
|
Parameters map[string]string `json:"parameters,omitempty"`
|
||||||
Type string `json:"type,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 {
|
type DataSourceClusterClusterInfo struct {
|
||||||
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
|
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
|
||||||
ClusterCores int `json:"cluster_cores,omitempty"`
|
ClusterCores int `json:"cluster_cores,omitempty"`
|
||||||
|
@ -155,14 +363,14 @@ type DataSourceClusterClusterInfo struct {
|
||||||
CreatorUserName string `json:"creator_user_name,omitempty"`
|
CreatorUserName string `json:"creator_user_name,omitempty"`
|
||||||
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
||||||
DataSecurityMode string `json:"data_security_mode,omitempty"`
|
DataSecurityMode string `json:"data_security_mode,omitempty"`
|
||||||
DefaultTags map[string]string `json:"default_tags"`
|
DefaultTags map[string]string `json:"default_tags,omitempty"`
|
||||||
DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"`
|
DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"`
|
||||||
DriverNodeTypeId string `json:"driver_node_type_id,omitempty"`
|
DriverNodeTypeId string `json:"driver_node_type_id,omitempty"`
|
||||||
EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"`
|
EnableElasticDisk bool `json:"enable_elastic_disk,omitempty"`
|
||||||
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
||||||
InstancePoolId string `json:"instance_pool_id,omitempty"`
|
InstancePoolId string `json:"instance_pool_id,omitempty"`
|
||||||
JdbcPort int `json:"jdbc_port,omitempty"`
|
JdbcPort int `json:"jdbc_port,omitempty"`
|
||||||
LastActivityTime int `json:"last_activity_time,omitempty"`
|
LastRestartedTime int `json:"last_restarted_time,omitempty"`
|
||||||
LastStateLossTime int `json:"last_state_loss_time,omitempty"`
|
LastStateLossTime int `json:"last_state_loss_time,omitempty"`
|
||||||
NodeTypeId string `json:"node_type_id,omitempty"`
|
NodeTypeId string `json:"node_type_id,omitempty"`
|
||||||
NumWorkers int `json:"num_workers,omitempty"`
|
NumWorkers int `json:"num_workers,omitempty"`
|
||||||
|
@ -172,12 +380,12 @@ type DataSourceClusterClusterInfo struct {
|
||||||
SparkConf map[string]string `json:"spark_conf,omitempty"`
|
SparkConf map[string]string `json:"spark_conf,omitempty"`
|
||||||
SparkContextId int `json:"spark_context_id,omitempty"`
|
SparkContextId int `json:"spark_context_id,omitempty"`
|
||||||
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
||||||
SparkVersion string `json:"spark_version"`
|
SparkVersion string `json:"spark_version,omitempty"`
|
||||||
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
||||||
StartTime int `json:"start_time,omitempty"`
|
StartTime int `json:"start_time,omitempty"`
|
||||||
State string `json:"state"`
|
State string `json:"state,omitempty"`
|
||||||
StateMessage string `json:"state_message,omitempty"`
|
StateMessage string `json:"state_message,omitempty"`
|
||||||
TerminateTime int `json:"terminate_time,omitempty"`
|
TerminatedTime int `json:"terminated_time,omitempty"`
|
||||||
Autoscale *DataSourceClusterClusterInfoAutoscale `json:"autoscale,omitempty"`
|
Autoscale *DataSourceClusterClusterInfoAutoscale `json:"autoscale,omitempty"`
|
||||||
AwsAttributes *DataSourceClusterClusterInfoAwsAttributes `json:"aws_attributes,omitempty"`
|
AwsAttributes *DataSourceClusterClusterInfoAwsAttributes `json:"aws_attributes,omitempty"`
|
||||||
AzureAttributes *DataSourceClusterClusterInfoAzureAttributes `json:"azure_attributes,omitempty"`
|
AzureAttributes *DataSourceClusterClusterInfoAzureAttributes `json:"azure_attributes,omitempty"`
|
||||||
|
@ -188,7 +396,9 @@ type DataSourceClusterClusterInfo struct {
|
||||||
Executors []DataSourceClusterClusterInfoExecutors `json:"executors,omitempty"`
|
Executors []DataSourceClusterClusterInfoExecutors `json:"executors,omitempty"`
|
||||||
GcpAttributes *DataSourceClusterClusterInfoGcpAttributes `json:"gcp_attributes,omitempty"`
|
GcpAttributes *DataSourceClusterClusterInfoGcpAttributes `json:"gcp_attributes,omitempty"`
|
||||||
InitScripts []DataSourceClusterClusterInfoInitScripts `json:"init_scripts,omitempty"`
|
InitScripts []DataSourceClusterClusterInfoInitScripts `json:"init_scripts,omitempty"`
|
||||||
|
Spec *DataSourceClusterClusterInfoSpec `json:"spec,omitempty"`
|
||||||
TerminationReason *DataSourceClusterClusterInfoTerminationReason `json:"termination_reason,omitempty"`
|
TerminationReason *DataSourceClusterClusterInfoTerminationReason `json:"termination_reason,omitempty"`
|
||||||
|
WorkloadType *DataSourceClusterClusterInfoWorkloadType `json:"workload_type,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type DataSourceCluster struct {
|
type DataSourceCluster struct {
|
||||||
|
|
|
@ -19,6 +19,7 @@ type DataSourceExternalLocationExternalLocationInfo struct {
|
||||||
CreatedBy string `json:"created_by,omitempty"`
|
CreatedBy string `json:"created_by,omitempty"`
|
||||||
CredentialId string `json:"credential_id,omitempty"`
|
CredentialId string `json:"credential_id,omitempty"`
|
||||||
CredentialName string `json:"credential_name,omitempty"`
|
CredentialName string `json:"credential_name,omitempty"`
|
||||||
|
IsolationMode string `json:"isolation_mode,omitempty"`
|
||||||
MetastoreId string `json:"metastore_id,omitempty"`
|
MetastoreId string `json:"metastore_id,omitempty"`
|
||||||
Name string `json:"name,omitempty"`
|
Name string `json:"name,omitempty"`
|
||||||
Owner string `json:"owner,omitempty"`
|
Owner string `json:"owner,omitempty"`
|
||||||
|
|
|
@ -26,6 +26,7 @@ type DataSourceJobJobSettingsSettingsEmailNotifications struct {
|
||||||
OnDurationWarningThresholdExceeded []string `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
OnDurationWarningThresholdExceeded []string `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
||||||
OnFailure []string `json:"on_failure,omitempty"`
|
OnFailure []string `json:"on_failure,omitempty"`
|
||||||
OnStart []string `json:"on_start,omitempty"`
|
OnStart []string `json:"on_start,omitempty"`
|
||||||
|
OnStreamingBacklogExceeded []string `json:"on_streaming_backlog_exceeded,omitempty"`
|
||||||
OnSuccess []string `json:"on_success,omitempty"`
|
OnSuccess []string `json:"on_success,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -55,9 +56,9 @@ type DataSourceJobJobSettingsSettingsGitSource struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type DataSourceJobJobSettingsSettingsHealthRules struct {
|
type DataSourceJobJobSettingsSettingsHealthRules struct {
|
||||||
Metric string `json:"metric,omitempty"`
|
Metric string `json:"metric"`
|
||||||
Op string `json:"op,omitempty"`
|
Op string `json:"op"`
|
||||||
Value int `json:"value,omitempty"`
|
Value int `json:"value"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type DataSourceJobJobSettingsSettingsHealth struct {
|
type DataSourceJobJobSettingsSettingsHealth struct {
|
||||||
|
@ -222,7 +223,7 @@ type DataSourceJobJobSettingsSettingsJobClusterNewCluster struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type DataSourceJobJobSettingsSettingsJobCluster struct {
|
type DataSourceJobJobSettingsSettingsJobCluster struct {
|
||||||
JobClusterKey string `json:"job_cluster_key,omitempty"`
|
JobClusterKey string `json:"job_cluster_key"`
|
||||||
NewCluster *DataSourceJobJobSettingsSettingsJobClusterNewCluster `json:"new_cluster,omitempty"`
|
NewCluster *DataSourceJobJobSettingsSettingsJobClusterNewCluster `json:"new_cluster,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -500,6 +501,7 @@ type DataSourceJobJobSettingsSettingsTaskEmailNotifications struct {
|
||||||
OnDurationWarningThresholdExceeded []string `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
OnDurationWarningThresholdExceeded []string `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
||||||
OnFailure []string `json:"on_failure,omitempty"`
|
OnFailure []string `json:"on_failure,omitempty"`
|
||||||
OnStart []string `json:"on_start,omitempty"`
|
OnStart []string `json:"on_start,omitempty"`
|
||||||
|
OnStreamingBacklogExceeded []string `json:"on_streaming_backlog_exceeded,omitempty"`
|
||||||
OnSuccess []string `json:"on_success,omitempty"`
|
OnSuccess []string `json:"on_success,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -529,13 +531,14 @@ type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskEmailNotifications struc
|
||||||
OnDurationWarningThresholdExceeded []string `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
OnDurationWarningThresholdExceeded []string `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
||||||
OnFailure []string `json:"on_failure,omitempty"`
|
OnFailure []string `json:"on_failure,omitempty"`
|
||||||
OnStart []string `json:"on_start,omitempty"`
|
OnStart []string `json:"on_start,omitempty"`
|
||||||
|
OnStreamingBacklogExceeded []string `json:"on_streaming_backlog_exceeded,omitempty"`
|
||||||
OnSuccess []string `json:"on_success,omitempty"`
|
OnSuccess []string `json:"on_success,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskHealthRules struct {
|
type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskHealthRules struct {
|
||||||
Metric string `json:"metric,omitempty"`
|
Metric string `json:"metric"`
|
||||||
Op string `json:"op,omitempty"`
|
Op string `json:"op"`
|
||||||
Value int `json:"value,omitempty"`
|
Value int `json:"value"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskHealth struct {
|
type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskHealth struct {
|
||||||
|
@ -805,7 +808,7 @@ type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskQuery struct {
|
||||||
|
|
||||||
type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskSqlTask struct {
|
type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskSqlTask struct {
|
||||||
Parameters map[string]string `json:"parameters,omitempty"`
|
Parameters map[string]string `json:"parameters,omitempty"`
|
||||||
WarehouseId string `json:"warehouse_id,omitempty"`
|
WarehouseId string `json:"warehouse_id"`
|
||||||
Alert *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert `json:"alert,omitempty"`
|
Alert *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskAlert `json:"alert,omitempty"`
|
||||||
Dashboard *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard `json:"dashboard,omitempty"`
|
Dashboard *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskDashboard `json:"dashboard,omitempty"`
|
||||||
File *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile `json:"file,omitempty"`
|
File *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskSqlTaskFile `json:"file,omitempty"`
|
||||||
|
@ -824,6 +827,10 @@ type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSt
|
||||||
Id string `json:"id"`
|
Id string `json:"id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded struct {
|
||||||
|
Id string `json:"id"`
|
||||||
|
}
|
||||||
|
|
||||||
type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess struct {
|
type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess struct {
|
||||||
Id string `json:"id"`
|
Id string `json:"id"`
|
||||||
}
|
}
|
||||||
|
@ -832,6 +839,7 @@ type DataSourceJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotifications str
|
||||||
OnDurationWarningThresholdExceeded []DataSourceJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
OnDurationWarningThresholdExceeded []DataSourceJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
||||||
OnFailure []DataSourceJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure `json:"on_failure,omitempty"`
|
OnFailure []DataSourceJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnFailure `json:"on_failure,omitempty"`
|
||||||
OnStart []DataSourceJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart `json:"on_start,omitempty"`
|
OnStart []DataSourceJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStart `json:"on_start,omitempty"`
|
||||||
|
OnStreamingBacklogExceeded []DataSourceJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded `json:"on_streaming_backlog_exceeded,omitempty"`
|
||||||
OnSuccess []DataSourceJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess `json:"on_success,omitempty"`
|
OnSuccess []DataSourceJobJobSettingsSettingsTaskForEachTaskTaskWebhookNotificationsOnSuccess `json:"on_success,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -844,7 +852,7 @@ type DataSourceJobJobSettingsSettingsTaskForEachTaskTask struct {
|
||||||
MinRetryIntervalMillis int `json:"min_retry_interval_millis,omitempty"`
|
MinRetryIntervalMillis int `json:"min_retry_interval_millis,omitempty"`
|
||||||
RetryOnTimeout bool `json:"retry_on_timeout,omitempty"`
|
RetryOnTimeout bool `json:"retry_on_timeout,omitempty"`
|
||||||
RunIf string `json:"run_if,omitempty"`
|
RunIf string `json:"run_if,omitempty"`
|
||||||
TaskKey string `json:"task_key,omitempty"`
|
TaskKey string `json:"task_key"`
|
||||||
TimeoutSeconds int `json:"timeout_seconds,omitempty"`
|
TimeoutSeconds int `json:"timeout_seconds,omitempty"`
|
||||||
ConditionTask *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskConditionTask `json:"condition_task,omitempty"`
|
ConditionTask *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskConditionTask `json:"condition_task,omitempty"`
|
||||||
DbtTask *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskDbtTask `json:"dbt_task,omitempty"`
|
DbtTask *DataSourceJobJobSettingsSettingsTaskForEachTaskTaskDbtTask `json:"dbt_task,omitempty"`
|
||||||
|
@ -872,9 +880,9 @@ type DataSourceJobJobSettingsSettingsTaskForEachTask struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type DataSourceJobJobSettingsSettingsTaskHealthRules struct {
|
type DataSourceJobJobSettingsSettingsTaskHealthRules struct {
|
||||||
Metric string `json:"metric,omitempty"`
|
Metric string `json:"metric"`
|
||||||
Op string `json:"op,omitempty"`
|
Op string `json:"op"`
|
||||||
Value int `json:"value,omitempty"`
|
Value int `json:"value"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type DataSourceJobJobSettingsSettingsTaskHealth struct {
|
type DataSourceJobJobSettingsSettingsTaskHealth struct {
|
||||||
|
@ -1144,7 +1152,7 @@ type DataSourceJobJobSettingsSettingsTaskSqlTaskQuery struct {
|
||||||
|
|
||||||
type DataSourceJobJobSettingsSettingsTaskSqlTask struct {
|
type DataSourceJobJobSettingsSettingsTaskSqlTask struct {
|
||||||
Parameters map[string]string `json:"parameters,omitempty"`
|
Parameters map[string]string `json:"parameters,omitempty"`
|
||||||
WarehouseId string `json:"warehouse_id,omitempty"`
|
WarehouseId string `json:"warehouse_id"`
|
||||||
Alert *DataSourceJobJobSettingsSettingsTaskSqlTaskAlert `json:"alert,omitempty"`
|
Alert *DataSourceJobJobSettingsSettingsTaskSqlTaskAlert `json:"alert,omitempty"`
|
||||||
Dashboard *DataSourceJobJobSettingsSettingsTaskSqlTaskDashboard `json:"dashboard,omitempty"`
|
Dashboard *DataSourceJobJobSettingsSettingsTaskSqlTaskDashboard `json:"dashboard,omitempty"`
|
||||||
File *DataSourceJobJobSettingsSettingsTaskSqlTaskFile `json:"file,omitempty"`
|
File *DataSourceJobJobSettingsSettingsTaskSqlTaskFile `json:"file,omitempty"`
|
||||||
|
@ -1163,6 +1171,10 @@ type DataSourceJobJobSettingsSettingsTaskWebhookNotificationsOnStart struct {
|
||||||
Id string `json:"id"`
|
Id string `json:"id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type DataSourceJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded struct {
|
||||||
|
Id string `json:"id"`
|
||||||
|
}
|
||||||
|
|
||||||
type DataSourceJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess struct {
|
type DataSourceJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess struct {
|
||||||
Id string `json:"id"`
|
Id string `json:"id"`
|
||||||
}
|
}
|
||||||
|
@ -1171,6 +1183,7 @@ type DataSourceJobJobSettingsSettingsTaskWebhookNotifications struct {
|
||||||
OnDurationWarningThresholdExceeded []DataSourceJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
OnDurationWarningThresholdExceeded []DataSourceJobJobSettingsSettingsTaskWebhookNotificationsOnDurationWarningThresholdExceeded `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
||||||
OnFailure []DataSourceJobJobSettingsSettingsTaskWebhookNotificationsOnFailure `json:"on_failure,omitempty"`
|
OnFailure []DataSourceJobJobSettingsSettingsTaskWebhookNotificationsOnFailure `json:"on_failure,omitempty"`
|
||||||
OnStart []DataSourceJobJobSettingsSettingsTaskWebhookNotificationsOnStart `json:"on_start,omitempty"`
|
OnStart []DataSourceJobJobSettingsSettingsTaskWebhookNotificationsOnStart `json:"on_start,omitempty"`
|
||||||
|
OnStreamingBacklogExceeded []DataSourceJobJobSettingsSettingsTaskWebhookNotificationsOnStreamingBacklogExceeded `json:"on_streaming_backlog_exceeded,omitempty"`
|
||||||
OnSuccess []DataSourceJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess `json:"on_success,omitempty"`
|
OnSuccess []DataSourceJobJobSettingsSettingsTaskWebhookNotificationsOnSuccess `json:"on_success,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1183,7 +1196,7 @@ type DataSourceJobJobSettingsSettingsTask struct {
|
||||||
MinRetryIntervalMillis int `json:"min_retry_interval_millis,omitempty"`
|
MinRetryIntervalMillis int `json:"min_retry_interval_millis,omitempty"`
|
||||||
RetryOnTimeout bool `json:"retry_on_timeout,omitempty"`
|
RetryOnTimeout bool `json:"retry_on_timeout,omitempty"`
|
||||||
RunIf string `json:"run_if,omitempty"`
|
RunIf string `json:"run_if,omitempty"`
|
||||||
TaskKey string `json:"task_key,omitempty"`
|
TaskKey string `json:"task_key"`
|
||||||
TimeoutSeconds int `json:"timeout_seconds,omitempty"`
|
TimeoutSeconds int `json:"timeout_seconds,omitempty"`
|
||||||
ConditionTask *DataSourceJobJobSettingsSettingsTaskConditionTask `json:"condition_task,omitempty"`
|
ConditionTask *DataSourceJobJobSettingsSettingsTaskConditionTask `json:"condition_task,omitempty"`
|
||||||
DbtTask *DataSourceJobJobSettingsSettingsTaskDbtTask `json:"dbt_task,omitempty"`
|
DbtTask *DataSourceJobJobSettingsSettingsTaskDbtTask `json:"dbt_task,omitempty"`
|
||||||
|
@ -1211,6 +1224,11 @@ type DataSourceJobJobSettingsSettingsTriggerFileArrival struct {
|
||||||
WaitAfterLastChangeSeconds int `json:"wait_after_last_change_seconds,omitempty"`
|
WaitAfterLastChangeSeconds int `json:"wait_after_last_change_seconds,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type DataSourceJobJobSettingsSettingsTriggerPeriodic struct {
|
||||||
|
Interval int `json:"interval"`
|
||||||
|
Unit string `json:"unit"`
|
||||||
|
}
|
||||||
|
|
||||||
type DataSourceJobJobSettingsSettingsTriggerTableUpdate struct {
|
type DataSourceJobJobSettingsSettingsTriggerTableUpdate struct {
|
||||||
Condition string `json:"condition,omitempty"`
|
Condition string `json:"condition,omitempty"`
|
||||||
MinTimeBetweenTriggersSeconds int `json:"min_time_between_triggers_seconds,omitempty"`
|
MinTimeBetweenTriggersSeconds int `json:"min_time_between_triggers_seconds,omitempty"`
|
||||||
|
@ -1221,6 +1239,7 @@ type DataSourceJobJobSettingsSettingsTriggerTableUpdate struct {
|
||||||
type DataSourceJobJobSettingsSettingsTrigger struct {
|
type DataSourceJobJobSettingsSettingsTrigger struct {
|
||||||
PauseStatus string `json:"pause_status,omitempty"`
|
PauseStatus string `json:"pause_status,omitempty"`
|
||||||
FileArrival *DataSourceJobJobSettingsSettingsTriggerFileArrival `json:"file_arrival,omitempty"`
|
FileArrival *DataSourceJobJobSettingsSettingsTriggerFileArrival `json:"file_arrival,omitempty"`
|
||||||
|
Periodic *DataSourceJobJobSettingsSettingsTriggerPeriodic `json:"periodic,omitempty"`
|
||||||
TableUpdate *DataSourceJobJobSettingsSettingsTriggerTableUpdate `json:"table_update,omitempty"`
|
TableUpdate *DataSourceJobJobSettingsSettingsTriggerTableUpdate `json:"table_update,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1236,6 +1255,10 @@ type DataSourceJobJobSettingsSettingsWebhookNotificationsOnStart struct {
|
||||||
Id string `json:"id"`
|
Id string `json:"id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type DataSourceJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded struct {
|
||||||
|
Id string `json:"id"`
|
||||||
|
}
|
||||||
|
|
||||||
type DataSourceJobJobSettingsSettingsWebhookNotificationsOnSuccess struct {
|
type DataSourceJobJobSettingsSettingsWebhookNotificationsOnSuccess struct {
|
||||||
Id string `json:"id"`
|
Id string `json:"id"`
|
||||||
}
|
}
|
||||||
|
@ -1244,6 +1267,7 @@ type DataSourceJobJobSettingsSettingsWebhookNotifications struct {
|
||||||
OnDurationWarningThresholdExceeded []DataSourceJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
OnDurationWarningThresholdExceeded []DataSourceJobJobSettingsSettingsWebhookNotificationsOnDurationWarningThresholdExceeded `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
||||||
OnFailure []DataSourceJobJobSettingsSettingsWebhookNotificationsOnFailure `json:"on_failure,omitempty"`
|
OnFailure []DataSourceJobJobSettingsSettingsWebhookNotificationsOnFailure `json:"on_failure,omitempty"`
|
||||||
OnStart []DataSourceJobJobSettingsSettingsWebhookNotificationsOnStart `json:"on_start,omitempty"`
|
OnStart []DataSourceJobJobSettingsSettingsWebhookNotificationsOnStart `json:"on_start,omitempty"`
|
||||||
|
OnStreamingBacklogExceeded []DataSourceJobJobSettingsSettingsWebhookNotificationsOnStreamingBacklogExceeded `json:"on_streaming_backlog_exceeded,omitempty"`
|
||||||
OnSuccess []DataSourceJobJobSettingsSettingsWebhookNotificationsOnSuccess `json:"on_success,omitempty"`
|
OnSuccess []DataSourceJobJobSettingsSettingsWebhookNotificationsOnSuccess `json:"on_success,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -36,6 +36,7 @@ type DataSourceStorageCredentialStorageCredentialInfo struct {
|
||||||
CreatedAt int `json:"created_at,omitempty"`
|
CreatedAt int `json:"created_at,omitempty"`
|
||||||
CreatedBy string `json:"created_by,omitempty"`
|
CreatedBy string `json:"created_by,omitempty"`
|
||||||
Id string `json:"id,omitempty"`
|
Id string `json:"id,omitempty"`
|
||||||
|
IsolationMode string `json:"isolation_mode,omitempty"`
|
||||||
MetastoreId string `json:"metastore_id,omitempty"`
|
MetastoreId string `json:"metastore_id,omitempty"`
|
||||||
Name string `json:"name,omitempty"`
|
Name string `json:"name,omitempty"`
|
||||||
Owner string `json:"owner,omitempty"`
|
Owner string `json:"owner,omitempty"`
|
||||||
|
|
|
@ -6,6 +6,7 @@ type DataSources struct {
|
||||||
AwsAssumeRolePolicy map[string]any `json:"databricks_aws_assume_role_policy,omitempty"`
|
AwsAssumeRolePolicy map[string]any `json:"databricks_aws_assume_role_policy,omitempty"`
|
||||||
AwsBucketPolicy map[string]any `json:"databricks_aws_bucket_policy,omitempty"`
|
AwsBucketPolicy map[string]any `json:"databricks_aws_bucket_policy,omitempty"`
|
||||||
AwsCrossaccountPolicy map[string]any `json:"databricks_aws_crossaccount_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"`
|
AwsUnityCatalogPolicy map[string]any `json:"databricks_aws_unity_catalog_policy,omitempty"`
|
||||||
Catalog map[string]any `json:"databricks_catalog,omitempty"`
|
Catalog map[string]any `json:"databricks_catalog,omitempty"`
|
||||||
Catalogs map[string]any `json:"databricks_catalogs,omitempty"`
|
Catalogs map[string]any `json:"databricks_catalogs,omitempty"`
|
||||||
|
@ -35,6 +36,7 @@ type DataSources struct {
|
||||||
Notebook map[string]any `json:"databricks_notebook,omitempty"`
|
Notebook map[string]any `json:"databricks_notebook,omitempty"`
|
||||||
NotebookPaths map[string]any `json:"databricks_notebook_paths,omitempty"`
|
NotebookPaths map[string]any `json:"databricks_notebook_paths,omitempty"`
|
||||||
Pipelines map[string]any `json:"databricks_pipelines,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"`
|
Schemas map[string]any `json:"databricks_schemas,omitempty"`
|
||||||
ServicePrincipal map[string]any `json:"databricks_service_principal,omitempty"`
|
ServicePrincipal map[string]any `json:"databricks_service_principal,omitempty"`
|
||||||
ServicePrincipals map[string]any `json:"databricks_service_principals,omitempty"`
|
ServicePrincipals map[string]any `json:"databricks_service_principals,omitempty"`
|
||||||
|
@ -49,6 +51,7 @@ type DataSources struct {
|
||||||
Tables map[string]any `json:"databricks_tables,omitempty"`
|
Tables map[string]any `json:"databricks_tables,omitempty"`
|
||||||
User map[string]any `json:"databricks_user,omitempty"`
|
User map[string]any `json:"databricks_user,omitempty"`
|
||||||
Views map[string]any `json:"databricks_views,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"`
|
Volumes map[string]any `json:"databricks_volumes,omitempty"`
|
||||||
Zones map[string]any `json:"databricks_zones,omitempty"`
|
Zones map[string]any `json:"databricks_zones,omitempty"`
|
||||||
}
|
}
|
||||||
|
@ -58,6 +61,7 @@ func NewDataSources() *DataSources {
|
||||||
AwsAssumeRolePolicy: make(map[string]any),
|
AwsAssumeRolePolicy: make(map[string]any),
|
||||||
AwsBucketPolicy: make(map[string]any),
|
AwsBucketPolicy: make(map[string]any),
|
||||||
AwsCrossaccountPolicy: make(map[string]any),
|
AwsCrossaccountPolicy: make(map[string]any),
|
||||||
|
AwsUnityCatalogAssumeRolePolicy: make(map[string]any),
|
||||||
AwsUnityCatalogPolicy: make(map[string]any),
|
AwsUnityCatalogPolicy: make(map[string]any),
|
||||||
Catalog: make(map[string]any),
|
Catalog: make(map[string]any),
|
||||||
Catalogs: make(map[string]any),
|
Catalogs: make(map[string]any),
|
||||||
|
@ -87,6 +91,7 @@ func NewDataSources() *DataSources {
|
||||||
Notebook: make(map[string]any),
|
Notebook: make(map[string]any),
|
||||||
NotebookPaths: make(map[string]any),
|
NotebookPaths: make(map[string]any),
|
||||||
Pipelines: make(map[string]any),
|
Pipelines: make(map[string]any),
|
||||||
|
Schema: make(map[string]any),
|
||||||
Schemas: make(map[string]any),
|
Schemas: make(map[string]any),
|
||||||
ServicePrincipal: make(map[string]any),
|
ServicePrincipal: make(map[string]any),
|
||||||
ServicePrincipals: make(map[string]any),
|
ServicePrincipals: make(map[string]any),
|
||||||
|
@ -101,6 +106,7 @@ func NewDataSources() *DataSources {
|
||||||
Tables: make(map[string]any),
|
Tables: make(map[string]any),
|
||||||
User: make(map[string]any),
|
User: make(map[string]any),
|
||||||
Views: make(map[string]any),
|
Views: make(map[string]any),
|
||||||
|
Volume: make(map[string]any),
|
||||||
Volumes: make(map[string]any),
|
Volumes: make(map[string]any),
|
||||||
Zones: make(map[string]any),
|
Zones: make(map[string]any),
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,6 +18,7 @@ type ResourceExternalLocation struct {
|
||||||
ForceDestroy bool `json:"force_destroy,omitempty"`
|
ForceDestroy bool `json:"force_destroy,omitempty"`
|
||||||
ForceUpdate bool `json:"force_update,omitempty"`
|
ForceUpdate bool `json:"force_update,omitempty"`
|
||||||
Id string `json:"id,omitempty"`
|
Id string `json:"id,omitempty"`
|
||||||
|
IsolationMode string `json:"isolation_mode,omitempty"`
|
||||||
MetastoreId string `json:"metastore_id,omitempty"`
|
MetastoreId string `json:"metastore_id,omitempty"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Owner string `json:"owner,omitempty"`
|
Owner string `json:"owner,omitempty"`
|
||||||
|
|
|
@ -26,6 +26,7 @@ type ResourceJobEmailNotifications struct {
|
||||||
OnDurationWarningThresholdExceeded []string `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
OnDurationWarningThresholdExceeded []string `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
||||||
OnFailure []string `json:"on_failure,omitempty"`
|
OnFailure []string `json:"on_failure,omitempty"`
|
||||||
OnStart []string `json:"on_start,omitempty"`
|
OnStart []string `json:"on_start,omitempty"`
|
||||||
|
OnStreamingBacklogExceeded []string `json:"on_streaming_backlog_exceeded,omitempty"`
|
||||||
OnSuccess []string `json:"on_success,omitempty"`
|
OnSuccess []string `json:"on_success,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -60,9 +61,9 @@ type ResourceJobGitSource struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResourceJobHealthRules struct {
|
type ResourceJobHealthRules struct {
|
||||||
Metric string `json:"metric,omitempty"`
|
Metric string `json:"metric"`
|
||||||
Op string `json:"op,omitempty"`
|
Op string `json:"op"`
|
||||||
Value int `json:"value,omitempty"`
|
Value int `json:"value"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResourceJobHealth struct {
|
type ResourceJobHealth struct {
|
||||||
|
@ -229,7 +230,6 @@ type ResourceJobJobClusterNewClusterWorkloadType struct {
|
||||||
|
|
||||||
type ResourceJobJobClusterNewCluster struct {
|
type ResourceJobJobClusterNewCluster struct {
|
||||||
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
|
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
|
||||||
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
|
|
||||||
ClusterId string `json:"cluster_id,omitempty"`
|
ClusterId string `json:"cluster_id,omitempty"`
|
||||||
ClusterName string `json:"cluster_name,omitempty"`
|
ClusterName string `json:"cluster_name,omitempty"`
|
||||||
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
||||||
|
@ -262,7 +262,7 @@ type ResourceJobJobClusterNewCluster struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResourceJobJobCluster struct {
|
type ResourceJobJobCluster struct {
|
||||||
JobClusterKey string `json:"job_cluster_key,omitempty"`
|
JobClusterKey string `json:"job_cluster_key"`
|
||||||
NewCluster *ResourceJobJobClusterNewCluster `json:"new_cluster,omitempty"`
|
NewCluster *ResourceJobJobClusterNewCluster `json:"new_cluster,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -452,7 +452,6 @@ type ResourceJobNewClusterWorkloadType struct {
|
||||||
|
|
||||||
type ResourceJobNewCluster struct {
|
type ResourceJobNewCluster struct {
|
||||||
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
|
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
|
||||||
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
|
|
||||||
ClusterId string `json:"cluster_id,omitempty"`
|
ClusterId string `json:"cluster_id,omitempty"`
|
||||||
ClusterName string `json:"cluster_name,omitempty"`
|
ClusterName string `json:"cluster_name,omitempty"`
|
||||||
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
||||||
|
@ -575,6 +574,7 @@ type ResourceJobTaskEmailNotifications struct {
|
||||||
OnDurationWarningThresholdExceeded []string `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
OnDurationWarningThresholdExceeded []string `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
||||||
OnFailure []string `json:"on_failure,omitempty"`
|
OnFailure []string `json:"on_failure,omitempty"`
|
||||||
OnStart []string `json:"on_start,omitempty"`
|
OnStart []string `json:"on_start,omitempty"`
|
||||||
|
OnStreamingBacklogExceeded []string `json:"on_streaming_backlog_exceeded,omitempty"`
|
||||||
OnSuccess []string `json:"on_success,omitempty"`
|
OnSuccess []string `json:"on_success,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -604,13 +604,14 @@ type ResourceJobTaskForEachTaskTaskEmailNotifications struct {
|
||||||
OnDurationWarningThresholdExceeded []string `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
OnDurationWarningThresholdExceeded []string `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
||||||
OnFailure []string `json:"on_failure,omitempty"`
|
OnFailure []string `json:"on_failure,omitempty"`
|
||||||
OnStart []string `json:"on_start,omitempty"`
|
OnStart []string `json:"on_start,omitempty"`
|
||||||
|
OnStreamingBacklogExceeded []string `json:"on_streaming_backlog_exceeded,omitempty"`
|
||||||
OnSuccess []string `json:"on_success,omitempty"`
|
OnSuccess []string `json:"on_success,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResourceJobTaskForEachTaskTaskHealthRules struct {
|
type ResourceJobTaskForEachTaskTaskHealthRules struct {
|
||||||
Metric string `json:"metric,omitempty"`
|
Metric string `json:"metric"`
|
||||||
Op string `json:"op,omitempty"`
|
Op string `json:"op"`
|
||||||
Value int `json:"value,omitempty"`
|
Value int `json:"value"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResourceJobTaskForEachTaskTaskHealth struct {
|
type ResourceJobTaskForEachTaskTaskHealth struct {
|
||||||
|
@ -803,7 +804,6 @@ type ResourceJobTaskForEachTaskTaskNewClusterWorkloadType struct {
|
||||||
|
|
||||||
type ResourceJobTaskForEachTaskTaskNewCluster struct {
|
type ResourceJobTaskForEachTaskTaskNewCluster struct {
|
||||||
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
|
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
|
||||||
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
|
|
||||||
ClusterId string `json:"cluster_id,omitempty"`
|
ClusterId string `json:"cluster_id,omitempty"`
|
||||||
ClusterName string `json:"cluster_name,omitempty"`
|
ClusterName string `json:"cluster_name,omitempty"`
|
||||||
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
||||||
|
@ -927,7 +927,7 @@ type ResourceJobTaskForEachTaskTaskSqlTaskQuery struct {
|
||||||
|
|
||||||
type ResourceJobTaskForEachTaskTaskSqlTask struct {
|
type ResourceJobTaskForEachTaskTaskSqlTask struct {
|
||||||
Parameters map[string]string `json:"parameters,omitempty"`
|
Parameters map[string]string `json:"parameters,omitempty"`
|
||||||
WarehouseId string `json:"warehouse_id,omitempty"`
|
WarehouseId string `json:"warehouse_id"`
|
||||||
Alert *ResourceJobTaskForEachTaskTaskSqlTaskAlert `json:"alert,omitempty"`
|
Alert *ResourceJobTaskForEachTaskTaskSqlTaskAlert `json:"alert,omitempty"`
|
||||||
Dashboard *ResourceJobTaskForEachTaskTaskSqlTaskDashboard `json:"dashboard,omitempty"`
|
Dashboard *ResourceJobTaskForEachTaskTaskSqlTaskDashboard `json:"dashboard,omitempty"`
|
||||||
File *ResourceJobTaskForEachTaskTaskSqlTaskFile `json:"file,omitempty"`
|
File *ResourceJobTaskForEachTaskTaskSqlTaskFile `json:"file,omitempty"`
|
||||||
|
@ -946,6 +946,10 @@ type ResourceJobTaskForEachTaskTaskWebhookNotificationsOnStart struct {
|
||||||
Id string `json:"id"`
|
Id string `json:"id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ResourceJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded struct {
|
||||||
|
Id string `json:"id"`
|
||||||
|
}
|
||||||
|
|
||||||
type ResourceJobTaskForEachTaskTaskWebhookNotificationsOnSuccess struct {
|
type ResourceJobTaskForEachTaskTaskWebhookNotificationsOnSuccess struct {
|
||||||
Id string `json:"id"`
|
Id string `json:"id"`
|
||||||
}
|
}
|
||||||
|
@ -954,6 +958,7 @@ type ResourceJobTaskForEachTaskTaskWebhookNotifications struct {
|
||||||
OnDurationWarningThresholdExceeded []ResourceJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
OnDurationWarningThresholdExceeded []ResourceJobTaskForEachTaskTaskWebhookNotificationsOnDurationWarningThresholdExceeded `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
||||||
OnFailure []ResourceJobTaskForEachTaskTaskWebhookNotificationsOnFailure `json:"on_failure,omitempty"`
|
OnFailure []ResourceJobTaskForEachTaskTaskWebhookNotificationsOnFailure `json:"on_failure,omitempty"`
|
||||||
OnStart []ResourceJobTaskForEachTaskTaskWebhookNotificationsOnStart `json:"on_start,omitempty"`
|
OnStart []ResourceJobTaskForEachTaskTaskWebhookNotificationsOnStart `json:"on_start,omitempty"`
|
||||||
|
OnStreamingBacklogExceeded []ResourceJobTaskForEachTaskTaskWebhookNotificationsOnStreamingBacklogExceeded `json:"on_streaming_backlog_exceeded,omitempty"`
|
||||||
OnSuccess []ResourceJobTaskForEachTaskTaskWebhookNotificationsOnSuccess `json:"on_success,omitempty"`
|
OnSuccess []ResourceJobTaskForEachTaskTaskWebhookNotificationsOnSuccess `json:"on_success,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -967,7 +972,7 @@ type ResourceJobTaskForEachTaskTask struct {
|
||||||
MinRetryIntervalMillis int `json:"min_retry_interval_millis,omitempty"`
|
MinRetryIntervalMillis int `json:"min_retry_interval_millis,omitempty"`
|
||||||
RetryOnTimeout bool `json:"retry_on_timeout,omitempty"`
|
RetryOnTimeout bool `json:"retry_on_timeout,omitempty"`
|
||||||
RunIf string `json:"run_if,omitempty"`
|
RunIf string `json:"run_if,omitempty"`
|
||||||
TaskKey string `json:"task_key,omitempty"`
|
TaskKey string `json:"task_key"`
|
||||||
TimeoutSeconds int `json:"timeout_seconds,omitempty"`
|
TimeoutSeconds int `json:"timeout_seconds,omitempty"`
|
||||||
ConditionTask *ResourceJobTaskForEachTaskTaskConditionTask `json:"condition_task,omitempty"`
|
ConditionTask *ResourceJobTaskForEachTaskTaskConditionTask `json:"condition_task,omitempty"`
|
||||||
DbtTask *ResourceJobTaskForEachTaskTaskDbtTask `json:"dbt_task,omitempty"`
|
DbtTask *ResourceJobTaskForEachTaskTaskDbtTask `json:"dbt_task,omitempty"`
|
||||||
|
@ -995,9 +1000,9 @@ type ResourceJobTaskForEachTask struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResourceJobTaskHealthRules struct {
|
type ResourceJobTaskHealthRules struct {
|
||||||
Metric string `json:"metric,omitempty"`
|
Metric string `json:"metric"`
|
||||||
Op string `json:"op,omitempty"`
|
Op string `json:"op"`
|
||||||
Value int `json:"value,omitempty"`
|
Value int `json:"value"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResourceJobTaskHealth struct {
|
type ResourceJobTaskHealth struct {
|
||||||
|
@ -1190,7 +1195,6 @@ type ResourceJobTaskNewClusterWorkloadType struct {
|
||||||
|
|
||||||
type ResourceJobTaskNewCluster struct {
|
type ResourceJobTaskNewCluster struct {
|
||||||
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
|
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
|
||||||
AutoterminationMinutes int `json:"autotermination_minutes,omitempty"`
|
|
||||||
ClusterId string `json:"cluster_id,omitempty"`
|
ClusterId string `json:"cluster_id,omitempty"`
|
||||||
ClusterName string `json:"cluster_name,omitempty"`
|
ClusterName string `json:"cluster_name,omitempty"`
|
||||||
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
||||||
|
@ -1314,7 +1318,7 @@ type ResourceJobTaskSqlTaskQuery struct {
|
||||||
|
|
||||||
type ResourceJobTaskSqlTask struct {
|
type ResourceJobTaskSqlTask struct {
|
||||||
Parameters map[string]string `json:"parameters,omitempty"`
|
Parameters map[string]string `json:"parameters,omitempty"`
|
||||||
WarehouseId string `json:"warehouse_id,omitempty"`
|
WarehouseId string `json:"warehouse_id"`
|
||||||
Alert *ResourceJobTaskSqlTaskAlert `json:"alert,omitempty"`
|
Alert *ResourceJobTaskSqlTaskAlert `json:"alert,omitempty"`
|
||||||
Dashboard *ResourceJobTaskSqlTaskDashboard `json:"dashboard,omitempty"`
|
Dashboard *ResourceJobTaskSqlTaskDashboard `json:"dashboard,omitempty"`
|
||||||
File *ResourceJobTaskSqlTaskFile `json:"file,omitempty"`
|
File *ResourceJobTaskSqlTaskFile `json:"file,omitempty"`
|
||||||
|
@ -1333,6 +1337,10 @@ type ResourceJobTaskWebhookNotificationsOnStart struct {
|
||||||
Id string `json:"id"`
|
Id string `json:"id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ResourceJobTaskWebhookNotificationsOnStreamingBacklogExceeded struct {
|
||||||
|
Id string `json:"id"`
|
||||||
|
}
|
||||||
|
|
||||||
type ResourceJobTaskWebhookNotificationsOnSuccess struct {
|
type ResourceJobTaskWebhookNotificationsOnSuccess struct {
|
||||||
Id string `json:"id"`
|
Id string `json:"id"`
|
||||||
}
|
}
|
||||||
|
@ -1341,6 +1349,7 @@ type ResourceJobTaskWebhookNotifications struct {
|
||||||
OnDurationWarningThresholdExceeded []ResourceJobTaskWebhookNotificationsOnDurationWarningThresholdExceeded `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
OnDurationWarningThresholdExceeded []ResourceJobTaskWebhookNotificationsOnDurationWarningThresholdExceeded `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
||||||
OnFailure []ResourceJobTaskWebhookNotificationsOnFailure `json:"on_failure,omitempty"`
|
OnFailure []ResourceJobTaskWebhookNotificationsOnFailure `json:"on_failure,omitempty"`
|
||||||
OnStart []ResourceJobTaskWebhookNotificationsOnStart `json:"on_start,omitempty"`
|
OnStart []ResourceJobTaskWebhookNotificationsOnStart `json:"on_start,omitempty"`
|
||||||
|
OnStreamingBacklogExceeded []ResourceJobTaskWebhookNotificationsOnStreamingBacklogExceeded `json:"on_streaming_backlog_exceeded,omitempty"`
|
||||||
OnSuccess []ResourceJobTaskWebhookNotificationsOnSuccess `json:"on_success,omitempty"`
|
OnSuccess []ResourceJobTaskWebhookNotificationsOnSuccess `json:"on_success,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1354,7 +1363,7 @@ type ResourceJobTask struct {
|
||||||
MinRetryIntervalMillis int `json:"min_retry_interval_millis,omitempty"`
|
MinRetryIntervalMillis int `json:"min_retry_interval_millis,omitempty"`
|
||||||
RetryOnTimeout bool `json:"retry_on_timeout,omitempty"`
|
RetryOnTimeout bool `json:"retry_on_timeout,omitempty"`
|
||||||
RunIf string `json:"run_if,omitempty"`
|
RunIf string `json:"run_if,omitempty"`
|
||||||
TaskKey string `json:"task_key,omitempty"`
|
TaskKey string `json:"task_key"`
|
||||||
TimeoutSeconds int `json:"timeout_seconds,omitempty"`
|
TimeoutSeconds int `json:"timeout_seconds,omitempty"`
|
||||||
ConditionTask *ResourceJobTaskConditionTask `json:"condition_task,omitempty"`
|
ConditionTask *ResourceJobTaskConditionTask `json:"condition_task,omitempty"`
|
||||||
DbtTask *ResourceJobTaskDbtTask `json:"dbt_task,omitempty"`
|
DbtTask *ResourceJobTaskDbtTask `json:"dbt_task,omitempty"`
|
||||||
|
@ -1382,6 +1391,11 @@ type ResourceJobTriggerFileArrival struct {
|
||||||
WaitAfterLastChangeSeconds int `json:"wait_after_last_change_seconds,omitempty"`
|
WaitAfterLastChangeSeconds int `json:"wait_after_last_change_seconds,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ResourceJobTriggerPeriodic struct {
|
||||||
|
Interval int `json:"interval"`
|
||||||
|
Unit string `json:"unit"`
|
||||||
|
}
|
||||||
|
|
||||||
type ResourceJobTriggerTable struct {
|
type ResourceJobTriggerTable struct {
|
||||||
Condition string `json:"condition,omitempty"`
|
Condition string `json:"condition,omitempty"`
|
||||||
MinTimeBetweenTriggersSeconds int `json:"min_time_between_triggers_seconds,omitempty"`
|
MinTimeBetweenTriggersSeconds int `json:"min_time_between_triggers_seconds,omitempty"`
|
||||||
|
@ -1399,6 +1413,7 @@ type ResourceJobTriggerTableUpdate struct {
|
||||||
type ResourceJobTrigger struct {
|
type ResourceJobTrigger struct {
|
||||||
PauseStatus string `json:"pause_status,omitempty"`
|
PauseStatus string `json:"pause_status,omitempty"`
|
||||||
FileArrival *ResourceJobTriggerFileArrival `json:"file_arrival,omitempty"`
|
FileArrival *ResourceJobTriggerFileArrival `json:"file_arrival,omitempty"`
|
||||||
|
Periodic *ResourceJobTriggerPeriodic `json:"periodic,omitempty"`
|
||||||
Table *ResourceJobTriggerTable `json:"table,omitempty"`
|
Table *ResourceJobTriggerTable `json:"table,omitempty"`
|
||||||
TableUpdate *ResourceJobTriggerTableUpdate `json:"table_update,omitempty"`
|
TableUpdate *ResourceJobTriggerTableUpdate `json:"table_update,omitempty"`
|
||||||
}
|
}
|
||||||
|
@ -1415,6 +1430,10 @@ type ResourceJobWebhookNotificationsOnStart struct {
|
||||||
Id string `json:"id"`
|
Id string `json:"id"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type ResourceJobWebhookNotificationsOnStreamingBacklogExceeded struct {
|
||||||
|
Id string `json:"id"`
|
||||||
|
}
|
||||||
|
|
||||||
type ResourceJobWebhookNotificationsOnSuccess struct {
|
type ResourceJobWebhookNotificationsOnSuccess struct {
|
||||||
Id string `json:"id"`
|
Id string `json:"id"`
|
||||||
}
|
}
|
||||||
|
@ -1423,6 +1442,7 @@ type ResourceJobWebhookNotifications struct {
|
||||||
OnDurationWarningThresholdExceeded []ResourceJobWebhookNotificationsOnDurationWarningThresholdExceeded `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
OnDurationWarningThresholdExceeded []ResourceJobWebhookNotificationsOnDurationWarningThresholdExceeded `json:"on_duration_warning_threshold_exceeded,omitempty"`
|
||||||
OnFailure []ResourceJobWebhookNotificationsOnFailure `json:"on_failure,omitempty"`
|
OnFailure []ResourceJobWebhookNotificationsOnFailure `json:"on_failure,omitempty"`
|
||||||
OnStart []ResourceJobWebhookNotificationsOnStart `json:"on_start,omitempty"`
|
OnStart []ResourceJobWebhookNotificationsOnStart `json:"on_start,omitempty"`
|
||||||
|
OnStreamingBacklogExceeded []ResourceJobWebhookNotificationsOnStreamingBacklogExceeded `json:"on_streaming_backlog_exceeded,omitempty"`
|
||||||
OnSuccess []ResourceJobWebhookNotificationsOnSuccess `json:"on_success,omitempty"`
|
OnSuccess []ResourceJobWebhookNotificationsOnSuccess `json:"on_success,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -37,6 +37,7 @@ type ResourceMetastoreDataAccess struct {
|
||||||
ForceUpdate bool `json:"force_update,omitempty"`
|
ForceUpdate bool `json:"force_update,omitempty"`
|
||||||
Id string `json:"id,omitempty"`
|
Id string `json:"id,omitempty"`
|
||||||
IsDefault bool `json:"is_default,omitempty"`
|
IsDefault bool `json:"is_default,omitempty"`
|
||||||
|
IsolationMode string `json:"isolation_mode,omitempty"`
|
||||||
MetastoreId string `json:"metastore_id,omitempty"`
|
MetastoreId string `json:"metastore_id,omitempty"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Owner string `json:"owner,omitempty"`
|
Owner string `json:"owner,omitempty"`
|
||||||
|
|
|
@ -43,6 +43,7 @@ type ResourceMwsWorkspaces struct {
|
||||||
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
||||||
CustomerManagedKeyId string `json:"customer_managed_key_id,omitempty"`
|
CustomerManagedKeyId string `json:"customer_managed_key_id,omitempty"`
|
||||||
DeploymentName string `json:"deployment_name,omitempty"`
|
DeploymentName string `json:"deployment_name,omitempty"`
|
||||||
|
GcpWorkspaceSa string `json:"gcp_workspace_sa,omitempty"`
|
||||||
Id string `json:"id,omitempty"`
|
Id string `json:"id,omitempty"`
|
||||||
IsNoPublicIpEnabled bool `json:"is_no_public_ip_enabled,omitempty"`
|
IsNoPublicIpEnabled bool `json:"is_no_public_ip_enabled,omitempty"`
|
||||||
Location string `json:"location,omitempty"`
|
Location string `json:"location,omitempty"`
|
||||||
|
|
|
@ -22,5 +22,6 @@ type ResourceOnlineTable struct {
|
||||||
Id string `json:"id,omitempty"`
|
Id string `json:"id,omitempty"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Status []any `json:"status,omitempty"`
|
Status []any `json:"status,omitempty"`
|
||||||
|
TableServingUrl string `json:"table_serving_url,omitempty"`
|
||||||
Spec *ResourceOnlineTableSpec `json:"spec,omitempty"`
|
Spec *ResourceOnlineTableSpec `json:"spec,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,6 +13,7 @@ type ResourcePermissions struct {
|
||||||
Authorization string `json:"authorization,omitempty"`
|
Authorization string `json:"authorization,omitempty"`
|
||||||
ClusterId string `json:"cluster_id,omitempty"`
|
ClusterId string `json:"cluster_id,omitempty"`
|
||||||
ClusterPolicyId string `json:"cluster_policy_id,omitempty"`
|
ClusterPolicyId string `json:"cluster_policy_id,omitempty"`
|
||||||
|
DashboardId string `json:"dashboard_id,omitempty"`
|
||||||
DirectoryId string `json:"directory_id,omitempty"`
|
DirectoryId string `json:"directory_id,omitempty"`
|
||||||
DirectoryPath string `json:"directory_path,omitempty"`
|
DirectoryPath string `json:"directory_path,omitempty"`
|
||||||
ExperimentId string `json:"experiment_id,omitempty"`
|
ExperimentId string `json:"experiment_id,omitempty"`
|
||||||
|
|
|
@ -36,11 +36,13 @@ type ResourceStorageCredential struct {
|
||||||
ForceDestroy bool `json:"force_destroy,omitempty"`
|
ForceDestroy bool `json:"force_destroy,omitempty"`
|
||||||
ForceUpdate bool `json:"force_update,omitempty"`
|
ForceUpdate bool `json:"force_update,omitempty"`
|
||||||
Id string `json:"id,omitempty"`
|
Id string `json:"id,omitempty"`
|
||||||
|
IsolationMode string `json:"isolation_mode,omitempty"`
|
||||||
MetastoreId string `json:"metastore_id,omitempty"`
|
MetastoreId string `json:"metastore_id,omitempty"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Owner string `json:"owner,omitempty"`
|
Owner string `json:"owner,omitempty"`
|
||||||
ReadOnly bool `json:"read_only,omitempty"`
|
ReadOnly bool `json:"read_only,omitempty"`
|
||||||
SkipValidation bool `json:"skip_validation,omitempty"`
|
SkipValidation bool `json:"skip_validation,omitempty"`
|
||||||
|
StorageCredentialId string `json:"storage_credential_id,omitempty"`
|
||||||
AwsIamRole *ResourceStorageCredentialAwsIamRole `json:"aws_iam_role,omitempty"`
|
AwsIamRole *ResourceStorageCredentialAwsIamRole `json:"aws_iam_role,omitempty"`
|
||||||
AzureManagedIdentity *ResourceStorageCredentialAzureManagedIdentity `json:"azure_managed_identity,omitempty"`
|
AzureManagedIdentity *ResourceStorageCredentialAzureManagedIdentity `json:"azure_managed_identity,omitempty"`
|
||||||
AzureServicePrincipal *ResourceStorageCredentialAzureServicePrincipal `json:"azure_service_principal,omitempty"`
|
AzureServicePrincipal *ResourceStorageCredentialAzureServicePrincipal `json:"azure_service_principal,omitempty"`
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
package schema
|
package schema
|
||||||
|
|
||||||
type ResourceSystemSchema struct {
|
type ResourceSystemSchema struct {
|
||||||
|
FullName string `json:"full_name,omitempty"`
|
||||||
Id string `json:"id,omitempty"`
|
Id string `json:"id,omitempty"`
|
||||||
MetastoreId string `json:"metastore_id,omitempty"`
|
MetastoreId string `json:"metastore_id,omitempty"`
|
||||||
Schema string `json:"schema,omitempty"`
|
Schema string `json:"schema,omitempty"`
|
||||||
|
|
|
@ -16,6 +16,7 @@ type Resources struct {
|
||||||
ClusterPolicy map[string]any `json:"databricks_cluster_policy,omitempty"`
|
ClusterPolicy map[string]any `json:"databricks_cluster_policy,omitempty"`
|
||||||
ComplianceSecurityProfileWorkspaceSetting map[string]any `json:"databricks_compliance_security_profile_workspace_setting,omitempty"`
|
ComplianceSecurityProfileWorkspaceSetting map[string]any `json:"databricks_compliance_security_profile_workspace_setting,omitempty"`
|
||||||
Connection map[string]any `json:"databricks_connection,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"`
|
DbfsFile map[string]any `json:"databricks_dbfs_file,omitempty"`
|
||||||
DefaultNamespaceSetting map[string]any `json:"databricks_default_namespace_setting,omitempty"`
|
DefaultNamespaceSetting map[string]any `json:"databricks_default_namespace_setting,omitempty"`
|
||||||
Directory map[string]any `json:"databricks_directory,omitempty"`
|
Directory map[string]any `json:"databricks_directory,omitempty"`
|
||||||
|
@ -96,6 +97,7 @@ type Resources struct {
|
||||||
VectorSearchEndpoint map[string]any `json:"databricks_vector_search_endpoint,omitempty"`
|
VectorSearchEndpoint map[string]any `json:"databricks_vector_search_endpoint,omitempty"`
|
||||||
VectorSearchIndex map[string]any `json:"databricks_vector_search_index,omitempty"`
|
VectorSearchIndex map[string]any `json:"databricks_vector_search_index,omitempty"`
|
||||||
Volume map[string]any `json:"databricks_volume,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"`
|
WorkspaceConf map[string]any `json:"databricks_workspace_conf,omitempty"`
|
||||||
WorkspaceFile map[string]any `json:"databricks_workspace_file,omitempty"`
|
WorkspaceFile map[string]any `json:"databricks_workspace_file,omitempty"`
|
||||||
}
|
}
|
||||||
|
@ -115,6 +117,7 @@ func NewResources() *Resources {
|
||||||
ClusterPolicy: make(map[string]any),
|
ClusterPolicy: make(map[string]any),
|
||||||
ComplianceSecurityProfileWorkspaceSetting: make(map[string]any),
|
ComplianceSecurityProfileWorkspaceSetting: make(map[string]any),
|
||||||
Connection: make(map[string]any),
|
Connection: make(map[string]any),
|
||||||
|
Dashboard: make(map[string]any),
|
||||||
DbfsFile: make(map[string]any),
|
DbfsFile: make(map[string]any),
|
||||||
DefaultNamespaceSetting: make(map[string]any),
|
DefaultNamespaceSetting: make(map[string]any),
|
||||||
Directory: make(map[string]any),
|
Directory: make(map[string]any),
|
||||||
|
@ -195,6 +198,7 @@ func NewResources() *Resources {
|
||||||
VectorSearchEndpoint: make(map[string]any),
|
VectorSearchEndpoint: make(map[string]any),
|
||||||
VectorSearchIndex: make(map[string]any),
|
VectorSearchIndex: make(map[string]any),
|
||||||
Volume: make(map[string]any),
|
Volume: make(map[string]any),
|
||||||
|
WorkspaceBinding: make(map[string]any),
|
||||||
WorkspaceConf: make(map[string]any),
|
WorkspaceConf: make(map[string]any),
|
||||||
WorkspaceFile: make(map[string]any),
|
WorkspaceFile: make(map[string]any),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue