# Functions
No description provided by the author
No description provided by the author
DataSourceClusterZones ...
DataSourceNodeType returns smallest node depedning on the cloud.
DataSourceSparkVersion returns DBR version matching to the specification.
This method is a duplicate of FixInstancePoolChangeIfAny(d *schema.ResourceData) in clusters/clusters_api.go that uses Go SDK.
LatestSparkVersionOrDefault returns Spark version matching the definition, or default in case of error.
This method is a duplicate of ModifyRequestOnInstancePool() in clusters/clusters_api.go that uses Go SDK.
NewClustersAPI creates ClustersAPI instance from provider meta.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
StartAndGetInfo starts cluster and returns info.
This method is a duplicate of Validate() in clusters/clusters_api.go that uses Go SDK.
No description provided by the author
# Constants
AwsAvailabilityOnDemand is OnDemand instance type for clusters.
AwsAvailabilitySpot is spot instance type for clusters.
AwsAvailabilitySpotWithFallback is Spot instance type for clusters with option to fallback into on-demand if instance cannot be acquired.
AzureAvailabilityOnDemand is OnDemand instance type for clusters.
AzureAvailabilitySpot is spot instance type for clusters.
AzureAvailabilitySpotWithFallback is Spot instance type for clusters with option to fallback into on-demand if instance cannot be acquired.
AzureDiskVolumeTypePremium is for premium local redundant storage.
AzureDiskVolumeTypeStandard is for standard local redundant storage.
ClusterStateError This state is not used anymore.
ClusterStatePending Indicates that a cluster is in the process of being created.
ClusterStateResizing Indicates that a cluster is in the process of adding or removing nodes.
ClusterStateRestarting Indicates that a cluster is in the process of restarting.
ClusterStateRunning Indicates that a cluster has been started and is ready for use.
ClusterStateTerminated Indicates that a cluster has been successfully destroyed.
ClusterStateTerminating Indicates that a cluster is in the process of being destroyed.
ClusterStateUnknown Indicates that a cluster is in an unknown state.
No description provided by the author
No description provided by the author
EbsVolumeTypeGeneralPurposeSsd is general purpose ssd (starts at 32 gb).
EbsVolumeTypeThroughputOptimizedHdd is throughput optimized hdd (starts at 500 gb).
Constants for Event Types.
Constants for Event Types.
Constants for Event Types.
Constants for Event Types.
Constants for Event Types.
Constants for Event Types.
Constants for Event Types.
Constants for Event Types.
Constants for Event Types.
Constants for Event Types.
Constants for Event Types.
Constants for Event Types.
Constants for Event Types.
Constants for Event Types.
Constants for Event Types.
Constants for Event Types.
Constants for Event Types.
Constants for Event Types.
Constants for Event Types.
Constants for Event Types.
Constants for Event Types.
Constants for Event Types.
Constants for Event Types.
GcpAvailabilityOnDemand is OnDemand instance type for clusters.
GcpAvailabilityPreemptible is Preemptible instance type for clusters.
GcpAvailabilityPreemptible is Preemptible instance type for clusters with option to fallback into on-demand if instance cannot be acquired.
constants for SortOrder.
constants for SortOrder.
# Structs
AbfssStorageInfo contains the struct for when storing files in ADLS.
AutoScale is a struct the describes auto scaling for clusters.
AwsAttributes encapsulates the aws attributes for aws based clusters https://docs.databricks.com/dev-tools/api/latest/clusters.html#clusterclusterattributes.
AzureAttributes encapsulates the Azure attributes for Azure based clusters https://docs.microsoft.com/en-us/azure/databricks/dev-tools/api/latest/clusters#clusterazureattributes.
Cluster contains the information when trying to submit api calls or editing a cluster.
ClusterEvent - event information https://docs.databricks.com/dev-tools/api/latest/clusters.html#clustereventsclusterevent.
ClusterID holds cluster ID.
ClusterInfo contains the information when getting cluster info from the get request.
ClusterList shows existing clusters.
ClustersAPI is a struct that contains the Databricks api client to perform queries.
ClusterSize is structure to keep https://docs.databricks.com/dev-tools/api/latest/clusters.html#clusterclustersize.
No description provided by the author
DbfsStorageInfo contains the destination string for DBFS.
DockerBasicAuth contains the auth information when fetching containers.
DockerImage contains the image url and the auth for DCS.
EventDetails - details about specific events https://docs.databricks.com/dev-tools/api/latest/clusters.html#clustereventseventdetails.
EventsRequest - request structure https://docs.databricks.com/dev-tools/api/latest/clusters.html#request-structure.
EventsResponse - answer from API https://docs.databricks.com/dev-tools/api/latest/clusters.html#response-structure.
GcpAttributes encapsultes GCP specific attributes https://docs.gcp.databricks.com/dev-tools/api/latest/clusters.html#clustergcpattributes.
GcsStorageInfo contains the struct for when storing files in GCS.
InitScriptStorageInfo captures the allowed sources of init scripts.
No description provided by the author
No description provided by the author
LocalFileInfo represents a local file on disk, e.g.
LogSyncStatus encapsulates when the cluster logs were last delivered.
MountInfo provides configuration to mount a network file system.
NetworkFileSystemInfo contains information about network file system server.
No description provided by the author
S3StorageInfo contains the struct for when storing files in S3.
SparkNode encapsulates all the attributes of a node that is part of a databricks cluster.
SparkNodeAwsAttributes is the struct that determines if the node is a spot instance or not.
StorageInfo contains the struct for either DBFS or S3 storage depending on which one is relevant.
TerminationReason encapsulates the termination code and potential parameters.
WorkloadType defines which workloads may run on the cluster.
No description provided by the author
WorkspaceFileInfo represents a file in the Databricks workspace.
ZonesInfo encapsulates the zone information from the zones api call.
# Type aliases
Availability is a type for describing AWS availability on cluster nodes.
AzureDiskVolumeType is disk type on azure vms.
ClusterEventType - constants for API.
ClusterState is for describing possible cluster states.
EbsVolumeType is disk type on aws vms.
ResizeCause holds reason for resizing.
SortOrder - constants for API https://docs.databricks.com/dev-tools/api/latest/clusters.html#clusterlistorder.