Function nomad_client::apis::nodes_api::update_drain_mode_for_node[][src]

pub async fn update_drain_mode_for_node(
    configuration: &Configuration,
    node_id: &str,
    node_update_drain_request: Option<NodeUpdateDrainRequest>
) -> Result<NodeDrainUpdateResponse, Error<UpdateDrainModeForNodeError>>

When draining is enabled, no further allocations will be assigned to this node, and existing allocations will be migrated to new nodes