VagrantSnapshotRestoreSettings Class

Summary

Additional settings for the vagrant snapshot restore command.
Assembly
Cake.Vagrant.dll
Namespace
Cake.Vagrant.Settings
Interfaces
  • IVagrantCommandSettings
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IVagrantCommandSettings"] Type["VagrantSnapshotRestoreSettings"] class Type type-node

Syntax

public class VagrantSnapshotRestoreSettings : IVagrantCommandSettings

Constructors

Name Summary
VagrantSnapshotRestoreSettings(bool) Creates a new instance of the VagrantSnapshotRestoreSettings class

Properties

Name Value Summary
DoNotDelete Nullable<bool>
Prevents deletion of the snapshot after restoring (so that you can restore to the same point again later).
RunProvisioners Nullable<bool>
Force the provisioners to run (or prevent them from doing so).

Methods

Name Value Summary
GetToolArguments() Action<ProcessArgumentBuilder>
Gets the command arguments corresponding to the specified IVagrantCommandSettings

Extension Methods

Name Value Summary
Delete(bool) VagrantSnapshotRestoreSettings
Forces deletion of the snapshot after restoring
Requires the Cake.Vagrant addin
DoNotDelete() VagrantSnapshotRestoreSettings
Prevents deletion of the snapshot after restoring (so that you can restore to the same point again later).
Requires the Cake.Vagrant addin
Dump<VagrantSnapshotRestoreSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<VagrantSnapshotRestoreSettings>(VagrantSnapshotRestoreSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<VagrantSnapshotRestoreSettings>(string) void
Requires the Cake.Issues addin
NotNull<VagrantSnapshotRestoreSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
RunProvisioners(bool) VagrantSnapshotRestoreSettings
Force the provisioners to run (or prevent them from doing so).
Requires the Cake.Vagrant addin
ThrowIfNull<VagrantSnapshotRestoreSettings>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<VagrantSnapshotRestoreSettings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin