VagrantRunner.

Suspend(string) Method

Summary

This suspends the guest machine Vagrant is managing, rather than shutting it down
Assembly
Cake.Vagrant.dll
Namespace
Cake.Vagrant
Containing Type
VagrantRunner

Syntax

public void Suspend(string name = null)

Examples

Vagrant.Suspend();

Remarks

A suspend effectively saves the exact point-in-time state of the machine, so that when you resume it later, it begins running immediately from that point, rather than doing a full boot.

Parameters

Name Type Description
name string Optional name of the machine to suspend

Return Value

Type Description
void