|
Databricks C++ SDK 0.2.4
Interact with Databricks via an SDK
|
Represents a Databricks cluster. More...
#include <compute_types.h>
Public Attributes | |
| std::string | cluster_id |
| Unique identifier for the cluster. | |
| std::string | cluster_name |
| Display name of the cluster. | |
| std::string | state |
| Current lifecycle state (e.g., "RUNNING", "TERMINATED") | |
| std::string | creator_user_name |
| Username of the cluster creator. | |
| uint64_t | start_time = 0 |
| Unix timestamp in milliseconds when cluster started. | |
| uint64_t | terminated_time = 0 |
| Unix timestamp in milliseconds when cluster terminated (0 if running) | |
| std::string | spark_version |
| Spark runtime version (e.g., "11.3.x-scala2.12") | |
| std::string | node_type_id |
| Cloud provider instance type (e.g., "i3.xlarge") | |
| int | num_workers = 0 |
| Number of worker nodes in the cluster. | |
| std::map< std::string, std::string > | custom_tags |
| User-defined tags for organization and tracking. | |
Represents a Databricks cluster.
Clusters are compute resources used to run notebooks, jobs, and other workloads. This struct contains the core metadata about a cluster configuration and its state.
Definition at line 45 of file compute_types.h.
| std::string databricks::Cluster::cluster_id |
Unique identifier for the cluster.
Definition at line 46 of file compute_types.h.
| std::string databricks::Cluster::cluster_name |
Display name of the cluster.
Definition at line 47 of file compute_types.h.
| std::string databricks::Cluster::creator_user_name |
Username of the cluster creator.
Definition at line 49 of file compute_types.h.
| std::map<std::string, std::string> databricks::Cluster::custom_tags |
User-defined tags for organization and tracking.
Definition at line 55 of file compute_types.h.
| std::string databricks::Cluster::node_type_id |
Cloud provider instance type (e.g., "i3.xlarge")
Definition at line 53 of file compute_types.h.
| int databricks::Cluster::num_workers = 0 |
Number of worker nodes in the cluster.
Definition at line 54 of file compute_types.h.
| std::string databricks::Cluster::spark_version |
Spark runtime version (e.g., "11.3.x-scala2.12")
Definition at line 52 of file compute_types.h.
| uint64_t databricks::Cluster::start_time = 0 |
Unix timestamp in milliseconds when cluster started.
Definition at line 50 of file compute_types.h.
| std::string databricks::Cluster::state |
Current lifecycle state (e.g., "RUNNING", "TERMINATED")
Definition at line 48 of file compute_types.h.
| uint64_t databricks::Cluster::terminated_time = 0 |
Unix timestamp in milliseconds when cluster terminated (0 if running)
Definition at line 51 of file compute_types.h.