This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.WebDeploy.
Summary
The settings used for the deployment
- Assembly
- Cake
.WebDeploy .dll - Namespace
- Cake
.WebDeploy - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["DeploySettings"]
class Type type-node
Syntax
public class DeploySettings
Constructors
| Name | Summary |
|---|---|
| DeploySettings |
Initializes a new instance of the DeploySettings class.
|
Properties
| Name | Value | Summary |
|---|---|---|
| AgentType | RemoteAgent |
Gets or sets the type of remote agent to connect to
|
| AllowUntrusted | bool |
Gets or sets if untrusted certificates should be allowed
|
| ComputerName | string |
Gets or sets the computer name to publish to
|
| Delete | bool |
Gets or sets if files that no longer exist should be deleted
|
| DestinationPath | FilePath |
Gets or sets the destination of the package to publish to
|
| NTLM | bool |
Gets or sets if NTLM authentication should be used
|
| Parameters | Dictionary |
Gets or sets the
Parameters.
|
| ParametersFilePath | FilePath |
Gets or sets the location of the SetParameters.xml file
|
| Password | string |
Gets or sets the credentials to use when connecting
|
| Port | int |
Sets the remote port to connect on
|
| PublishUrl | string |
Gets or sets the url to publish that package to
|
| SiteName | string |
Sets the name of the website to publish
|
| SkipRules | List |
Gets or sets the
SkipRules.
|
| SourcePath | FilePath |
Gets or sets the source of the package to publish
|
| TraceLevel | TraceLevel |
Gets or sets the logging trace level
|
| UseAppOffline | bool |
Gets or sets the AppOffline rule
|
| UseChecksum | bool |
Gets or sets if deployment compares each file using a checksum value instead of datetime
|
| Username | string |
Gets or sets the credentials to use when connecting
|
| WhatIf | bool |
Gets or sets if operations will not be executed but events will still be fired
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| AddParameter |
DeploySettings |
Adds the parameter.
Requires the Cake.WebDeploy addin
|
| AddSkipRule |
DeploySettings |
Adds a
SkipRule.
Requires the Cake.WebDeploy addin
|
| AddSkipRule |
DeploySettings |
Adds a
SkipRule.
Requires the Cake.WebDeploy addin
|
| Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
| FromSourcePath |
DeploySettings |
Sets the source of the package to publish
Requires the Cake.WebDeploy addin
|
| IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
| NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
| NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
| SetAllowUntrusted |
DeploySettings |
Sets if untrusted certificates should be allowed
Requires the Cake.WebDeploy addin
|
| SetDelete |
DeploySettings |
Sets if files that no longer exist should be deleted
Requires the Cake.WebDeploy addin
|
| SetPublishUrl |
DeploySettings |
Sets the url to publish that package to
Requires the Cake.WebDeploy addin
|
| SetTraceLevel |
DeploySettings |
Sets the logging trace level
Requires the Cake.WebDeploy addin
|
| SetWhatIf |
DeploySettings |
Sets if operations will not be executed but events will still be fired
Requires the Cake.WebDeploy addin
|
| ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
| ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
| ToDestinationPath |
DeploySettings |
Sets the destination of the package to publish to
Requires the Cake.WebDeploy addin
|
| ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
| To |
string |
Returns the string value or a
Not set> markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|
| UseAgentType |
DeploySettings |
Sets the type of remote agent to connect to
Requires the Cake.WebDeploy addin
|
| UseAppOffline |
DeploySettings |
Sets if the target web app should be put offline during the deployment process.
Requires the Cake.WebDeploy addin
|
| UseChecksum |
DeploySettings |
Sets if deployment compares each file using a checksum value instead of datetime
Requires the Cake.WebDeploy addin
|
| UseComputerName |
DeploySettings |
Sets the computer name on publish to
Requires the Cake.WebDeploy addin
|
| UseNTLM |
DeploySettings |
Sets if NTLM authentication should be used
Requires the Cake.WebDeploy addin
|
| UsePassword |
DeploySettings |
Sets the credentials to use when connecting
Requires the Cake.WebDeploy addin
|
| UsePort |
DeploySettings |
Sets the remote port to connect on.
Requires the Cake.WebDeploy addin
|
| UseSiteName |
DeploySettings |
Sets the name of the website to publish
Requires the Cake.WebDeploy addin
|
| UseUsername |
DeploySettings |
Sets the credentials to use when connecting
Requires the Cake.WebDeploy addin
|
