EnsureOperation Class

An operation that will collect information and configure a server based on a template configuration.

Inheritance Hierarchy

Syntax

public class EnsureOperation : Operation, IComparingOperation, ICollectingOperation, IExecutingOperation

Constructors

Name Description
EnsureOperation

Initializes a new instance of the EnsureOperation class.

Methods

Name Description
AddCustomInputStateValues(Inedo.ExecutionEngine.Mapping.OperationInputState state)
CollectAsync(IOperationCollectionContext context)
CompareAsync(Inedo.Extensibility.Configurations.PersistedConfiguration other, IOperationCollectionContext context)
Complete(Inedo.Extensibility.Configurations.PersistedConfiguration config)

Returns a System.Threading.Tasks.Task that can be returned from the Inedo.Extensibility.Operations.EnsureOperation.ConfigureAsync(Inedo.Extensibility.Operations.IOperationExecutionContext) method to indicate that the operation completed synchronously.

ConfigureAsync(IOperationExecutionContext context)
GetConfigurationTemplate

Gets the desired state of a configuration.

StoreConfigurationStatusAsync(Inedo.Extensibility.Configurations.PersistedConfiguration actual, Inedo.Extensibility.Configurations.ComparisonResult results, Inedo.Extensibility.Configurations.ConfigurationPersistenceContext context)

Remarks

This class should not normally be used directly. Instead, use EnsureOperation<TConfig> or RemoteEnsureOperation<TConfig>.