Skip to main content

transition

Function transition 

Source
pub fn transition(
    send: Exchange<'_>,
    id: &str,
    action: Transition,
    request_id: &str,
    confirm: bool,
) -> Result<Answer<Map<String, Value>>, CloudError>
Expand description

POST /v1/computers/{id}/start or /stop: the row (starting or stopping). confirm (start only) as in CreateRequest::confirm.