pub async fn update_drain_mode_for_node(
configuration: &Configuration,
node_id: &str,
namespace: Option<&str>,
region: Option<&str>,
index: Option<i64>,
wait: Option<&str>,
node_update_drain_request: Option<NodeUpdateDrainRequest>,
) -> Result<NodeDrainUpdateResponse, Error<UpdateDrainModeForNodeError>>
Expand description
When draining is enabled, no further allocations will be assigned to this node, and existing allocations will be migrated to new nodes