2022-12-06 15:26:19 +00:00
|
|
|
// Generated from Databricks Terraform provider schema. DO NOT EDIT.
|
|
|
|
|
|
|
|
package schema
|
|
|
|
|
|
|
|
type ResourcePipelineClusterAutoscale struct {
|
|
|
|
MaxWorkers int `json:"max_workers,omitempty"`
|
|
|
|
MinWorkers int `json:"min_workers,omitempty"`
|
|
|
|
Mode string `json:"mode,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourcePipelineClusterAwsAttributes struct {
|
2023-03-20 16:22:55 +00:00
|
|
|
Availability string `json:"availability,omitempty"`
|
|
|
|
EbsVolumeCount int `json:"ebs_volume_count,omitempty"`
|
|
|
|
EbsVolumeSize int `json:"ebs_volume_size,omitempty"`
|
|
|
|
EbsVolumeType string `json:"ebs_volume_type,omitempty"`
|
|
|
|
FirstOnDemand int `json:"first_on_demand,omitempty"`
|
|
|
|
InstanceProfileArn string `json:"instance_profile_arn,omitempty"`
|
|
|
|
SpotBidPricePercent int `json:"spot_bid_price_percent,omitempty"`
|
|
|
|
ZoneId string `json:"zone_id,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourcePipelineClusterAzureAttributes struct {
|
|
|
|
Availability string `json:"availability,omitempty"`
|
|
|
|
FirstOnDemand int `json:"first_on_demand,omitempty"`
|
|
|
|
SpotBidMaxPrice int `json:"spot_bid_max_price,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourcePipelineClusterClusterLogConfDbfs struct {
|
|
|
|
Destination string `json:"destination"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourcePipelineClusterClusterLogConfS3 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 ResourcePipelineClusterClusterLogConf struct {
|
|
|
|
Dbfs *ResourcePipelineClusterClusterLogConfDbfs `json:"dbfs,omitempty"`
|
|
|
|
S3 *ResourcePipelineClusterClusterLogConfS3 `json:"s3,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourcePipelineClusterGcpAttributes struct {
|
2023-03-20 16:22:55 +00:00
|
|
|
Availability string `json:"availability,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
GoogleServiceAccount string `json:"google_service_account,omitempty"`
|
2023-08-30 13:58:28 +00:00
|
|
|
LocalSsdCount int `json:"local_ssd_count,omitempty"`
|
2023-03-20 16:22:55 +00:00
|
|
|
ZoneId string `json:"zone_id,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourcePipelineClusterInitScriptsAbfss struct {
|
2024-02-16 07:05:45 +00:00
|
|
|
Destination string `json:"destination"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourcePipelineClusterInitScriptsDbfs struct {
|
|
|
|
Destination string `json:"destination"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourcePipelineClusterInitScriptsFile struct {
|
2024-02-16 07:05:45 +00:00
|
|
|
Destination string `json:"destination"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourcePipelineClusterInitScriptsGcs struct {
|
2024-02-16 07:05:45 +00:00
|
|
|
Destination string `json:"destination"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourcePipelineClusterInitScriptsS3 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"`
|
|
|
|
}
|
|
|
|
|
2023-10-16 12:52:16 +00:00
|
|
|
type ResourcePipelineClusterInitScriptsVolumes struct {
|
2024-02-23 10:41:42 +00:00
|
|
|
Destination string `json:"destination"`
|
2023-10-16 12:52:16 +00:00
|
|
|
}
|
|
|
|
|
2023-05-23 17:33:24 +00:00
|
|
|
type ResourcePipelineClusterInitScriptsWorkspace struct {
|
2024-02-16 07:05:45 +00:00
|
|
|
Destination string `json:"destination"`
|
2023-05-23 17:33:24 +00:00
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourcePipelineClusterInitScripts struct {
|
2023-05-23 17:33:24 +00:00
|
|
|
Abfss *ResourcePipelineClusterInitScriptsAbfss `json:"abfss,omitempty"`
|
|
|
|
Dbfs *ResourcePipelineClusterInitScriptsDbfs `json:"dbfs,omitempty"`
|
|
|
|
File *ResourcePipelineClusterInitScriptsFile `json:"file,omitempty"`
|
|
|
|
Gcs *ResourcePipelineClusterInitScriptsGcs `json:"gcs,omitempty"`
|
|
|
|
S3 *ResourcePipelineClusterInitScriptsS3 `json:"s3,omitempty"`
|
2023-10-16 12:52:16 +00:00
|
|
|
Volumes *ResourcePipelineClusterInitScriptsVolumes `json:"volumes,omitempty"`
|
2023-05-23 17:33:24 +00:00
|
|
|
Workspace *ResourcePipelineClusterInitScriptsWorkspace `json:"workspace,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourcePipelineCluster struct {
|
2023-03-20 16:22:55 +00:00
|
|
|
ApplyPolicyDefaultValues bool `json:"apply_policy_default_values,omitempty"`
|
|
|
|
CustomTags map[string]string `json:"custom_tags,omitempty"`
|
|
|
|
DriverInstancePoolId string `json:"driver_instance_pool_id,omitempty"`
|
|
|
|
DriverNodeTypeId string `json:"driver_node_type_id,omitempty"`
|
|
|
|
EnableLocalDiskEncryption bool `json:"enable_local_disk_encryption,omitempty"`
|
|
|
|
InstancePoolId string `json:"instance_pool_id,omitempty"`
|
|
|
|
Label string `json:"label,omitempty"`
|
|
|
|
NodeTypeId string `json:"node_type_id,omitempty"`
|
|
|
|
NumWorkers int `json:"num_workers,omitempty"`
|
|
|
|
PolicyId string `json:"policy_id,omitempty"`
|
|
|
|
SparkConf map[string]string `json:"spark_conf,omitempty"`
|
|
|
|
SparkEnvVars map[string]string `json:"spark_env_vars,omitempty"`
|
|
|
|
SshPublicKeys []string `json:"ssh_public_keys,omitempty"`
|
|
|
|
Autoscale *ResourcePipelineClusterAutoscale `json:"autoscale,omitempty"`
|
|
|
|
AwsAttributes *ResourcePipelineClusterAwsAttributes `json:"aws_attributes,omitempty"`
|
|
|
|
AzureAttributes *ResourcePipelineClusterAzureAttributes `json:"azure_attributes,omitempty"`
|
|
|
|
ClusterLogConf *ResourcePipelineClusterClusterLogConf `json:"cluster_log_conf,omitempty"`
|
|
|
|
GcpAttributes *ResourcePipelineClusterGcpAttributes `json:"gcp_attributes,omitempty"`
|
|
|
|
InitScripts []ResourcePipelineClusterInitScripts `json:"init_scripts,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
type ResourcePipelineFilters struct {
|
|
|
|
Exclude []string `json:"exclude,omitempty"`
|
|
|
|
Include []string `json:"include,omitempty"`
|
|
|
|
}
|
|
|
|
|
2023-03-20 16:22:55 +00:00
|
|
|
type ResourcePipelineLibraryFile struct {
|
|
|
|
Path string `json:"path"`
|
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourcePipelineLibraryMaven struct {
|
|
|
|
Coordinates string `json:"coordinates"`
|
|
|
|
Exclusions []string `json:"exclusions,omitempty"`
|
|
|
|
Repo string `json:"repo,omitempty"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourcePipelineLibraryNotebook struct {
|
|
|
|
Path string `json:"path"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type ResourcePipelineLibrary struct {
|
|
|
|
Jar string `json:"jar,omitempty"`
|
|
|
|
Whl string `json:"whl,omitempty"`
|
2023-03-20 16:22:55 +00:00
|
|
|
File *ResourcePipelineLibraryFile `json:"file,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
Maven *ResourcePipelineLibraryMaven `json:"maven,omitempty"`
|
|
|
|
Notebook *ResourcePipelineLibraryNotebook `json:"notebook,omitempty"`
|
|
|
|
}
|
|
|
|
|
2023-05-23 17:33:24 +00:00
|
|
|
type ResourcePipelineNotification struct {
|
|
|
|
Alerts []string `json:"alerts"`
|
|
|
|
EmailRecipients []string `json:"email_recipients"`
|
|
|
|
}
|
|
|
|
|
2022-12-06 15:26:19 +00:00
|
|
|
type ResourcePipeline struct {
|
2023-05-23 17:33:24 +00:00
|
|
|
AllowDuplicateNames bool `json:"allow_duplicate_names,omitempty"`
|
|
|
|
Catalog string `json:"catalog,omitempty"`
|
|
|
|
Channel string `json:"channel,omitempty"`
|
|
|
|
Configuration map[string]string `json:"configuration,omitempty"`
|
|
|
|
Continuous bool `json:"continuous,omitempty"`
|
|
|
|
Development bool `json:"development,omitempty"`
|
|
|
|
Edition string `json:"edition,omitempty"`
|
|
|
|
Id string `json:"id,omitempty"`
|
|
|
|
Name string `json:"name,omitempty"`
|
|
|
|
Photon bool `json:"photon,omitempty"`
|
|
|
|
Serverless bool `json:"serverless,omitempty"`
|
|
|
|
Storage string `json:"storage,omitempty"`
|
|
|
|
Target string `json:"target,omitempty"`
|
|
|
|
Url string `json:"url,omitempty"`
|
|
|
|
Cluster []ResourcePipelineCluster `json:"cluster,omitempty"`
|
|
|
|
Filters *ResourcePipelineFilters `json:"filters,omitempty"`
|
|
|
|
Library []ResourcePipelineLibrary `json:"library,omitempty"`
|
|
|
|
Notification []ResourcePipelineNotification `json:"notification,omitempty"`
|
2022-12-06 15:26:19 +00:00
|
|
|
}
|