|
Databricks C++ SDK 0.2.4
Interact with Databricks via an SDK
|
Represents detailed state information for a cluster. More...
#include <compute_types.h>
Static Public Member Functions | |
| static ClusterState | from_json (const std::string &json_str) |
| Parse a ClusterState from JSON string. | |
Public Attributes | |
| std::string | cluster_id |
| Unique identifier for the cluster. | |
| ClusterStateEnum | cluster_state = ClusterStateEnum::UNKNOWN |
| Enumerated state value (default: UNKNOWN) | |
| std::string | state_message |
| Human-readable message describing the state. | |
Represents detailed state information for a cluster.
Provides more granular state information including state messages that can help diagnose issues or understand cluster status.
Definition at line 64 of file compute_types.h.
|
static |
Parse a ClusterState from JSON string.
| json_str | JSON representation of cluster state |
| std::runtime_error | if parsing fails |
| std::string databricks::ClusterState::cluster_id |
Unique identifier for the cluster.
Definition at line 65 of file compute_types.h.
| ClusterStateEnum databricks::ClusterState::cluster_state = ClusterStateEnum::UNKNOWN |
Enumerated state value (default: UNKNOWN)
Definition at line 66 of file compute_types.h.
| std::string databricks::ClusterState::state_message |
Human-readable message describing the state.
Definition at line 67 of file compute_types.h.