VagrantBoxAddSettingsExtensions Class

Summary

Fluent extension methods for the VagrantBoxAddSettings class
Assembly
Cake.Vagrant.dll
Namespace
Cake.Vagrant.Settings
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["VagrantBoxAddSettingsExtensions"] class Type type-node

Syntax

public static class VagrantBoxAddSettingsExtensions

Methods

Name Value Summary
AllowInsecure(VagrantBoxAddSettings, bool) VagrantBoxAddSettings
Enables unverified/untrusted SSL certificates when using HTTPS URLs.
static
CleanFirst(VagrantBoxAddSettings, bool) VagrantBoxAddSettings
Enables cleaning any temporary or partial download files first.
static
ConstrainVersion(VagrantBoxAddSettings, string) VagrantBoxAddSettings
Sets the version or version constraint to use when downloading the box
static
Force(VagrantBoxAddSettings, bool) VagrantBoxAddSettings
Forces downloading and overwriting any box with the same name
static
UseCertificateAuthority(VagrantBoxAddSettings, FilePath) VagrantBoxAddSettings
Sets the CACertificate property for the CA certificate used to verify the peer
static
UseCertificateAuthority(VagrantBoxAddSettings, IDirectory) VagrantBoxAddSettings
Sets the CAPath property for the CA used to verify the peer
static
UseProvider(VagrantBoxAddSettings, string) VagrantBoxAddSettings
Requests a specific provider as per the Provider property
static
WithClientCertificate(VagrantBoxAddSettings, FilePath) VagrantBoxAddSettings
Sets the CertificatePath property for a client certificate to use when downloading the box, if necessary.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin