Language

BuildOptions Class

Definition

Provides a mechanism for controlling validation behaviors.

public class BuildOptions
type BuildOptions = class
Public Class BuildOptions
Inheritance
BuildOptions

Constructors

Name Description
BuildOptions()

Properties

Name Description
AllowEmptyQueueTarget

Gets or sets a value indicating whether or not a queue target without a queue should be considered an error.

DemandLatestAgent

Gets or sets a value indicating whether to demand the latest agent version.

EnableResourceExpressions

If true, resource definitions are allowed to use expressions

None
ResolveResourceVersions

Gets or sets a value indicating whether or not to resolve resource version.

ResolveTaskInputAliases

Gets or sets a value indicating whether input aliases defined in a task definition are honored.

RollupStepDemands

Gets or sets a value indicating whether or not the individual step demands should be rolled up into their parent phase's demands. Settings this value to true will result in Phase's demand sets being a superset of their children's demands.

ValidateExpressions

If true, all expressions must be resolvable given a provided context. This is normally going to be false for plan compile time and true for plan runtime.

ValidateResources

Gets or sets a value indicating whether or not to validate resource existence and other constraints.

ValidateStepNames

Gets or sets a value indicating whether or not step names provided by the caller should be validated for correctness and uniqueness. Setting this value to false will automatically fix invalid step names and de-duplicate step names which may lead to unexpected behavior at runtime when binding output variables.

ValidateTaskInputs

Gets or sets a value indicating whether or not to run input validation defined by the task author.

Applies to