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.MsDeploy.
Summary
Contains settings used by
MsDeployRunner
.
- Assembly
- Cake
.MsDeploy .dll - Namespace
- Cake
.MsDeploy - Base Types
-
- ToolSettings
graph BT
Type-->Base0["ToolSettings"]
Type["MsDeploySettings"]
class Type type-node
Syntax
public class MsDeploySettings : ToolSettings
Constructors
Name | Summary |
---|---|
MsDeploySettings |
Properties
Name | Value | Summary |
---|---|---|
AllowUntrusted | Nullable |
Allow untrusted server certificate when using SSL.
|
DeclareParamFile | FilePath |
Includes parameter declarations from an XML file.
|
DeclareParams | IEnumerable |
Collection of Parameters to DECLARE during a sync operation
|
Destination | MsDeployProvider |
The destination object for the operation.
|
DisableAppStore | Nullable |
Disables saving to the application store during a sync
|
DisableLinks | IEnumerable |
Collection of link extensions to disable during a sync operation
|
DisableRules | IEnumerable |
Disables the specified synchronization rule(s).
|
DisableSkipDirective | string |
Specifies collection of specified skip directive(s) to disable.
|
EnableLinks | IEnumerable |
Enables the specified link extension(s).
|
EnableRules | IEnumerable |
Enables the specified synchronization rule(s).
|
EnableSkipDirective | string |
Specifies collection of specified skip directive(s) to enable.
|
PostSyncCommand | CommandProvider |
Command to run on the remote server after a sync operation completes
|
PreSyncCommand | CommandProvider |
Command to run on the remote server before a sync operation starts
|
RemoveParams | IEnumerable |
Collection parameters to remove from the declare list
|
ReplacementRules | IEnumerable |
Specifies collection of attribute replacement rules
|
RetryAttempts | Nullable |
The number of times a provider will retry after a failed action (not all providers support retrying). Defaults to 5.
|
RetryInterval | Nullable |
Interval in milliseconds between retry attempts (-retryAttempts). The default is 1000.
|
SetParamFile | FilePath |
Applies parameter settings from an XML file
|
SetParams | IEnumerable |
Collection of Parameters to SET during a sync operation
|
ShowSecure | Nullable |
true to show secure attributes in XML output instead of hiding them
|
SkipDirectives | IEnumerable |
Collection of SkipDirectives that specifies object(s) to skip during synchronization.
|
Source | MsDeployProvider |
The source object for the operation (required).
|
UseCheckSum | Nullable |
This setting is useful when you want to copy only
the files whose content has changed, and ignore
files that have the same content but different time stamps.
|
Verb | Operation |
Action to perform (required).
|
Verbose | Nullable |
Enables more verbose output.
|
WhatIf | Nullable |
Displays what would have happened without actually performing any operations.
|
Xml | Nullable |
True to Return results in XML format.
|
XPath | string |
An XPath expression to apply to XML output.
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator 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
|
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
|
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
|