JobEnvironment Class

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Represents the context of variables and vectors for a job request.

C#
[Newtonsoft.Json.JsonConverter(typeof(Microsoft.TeamFoundation.DistributedTask.WebApi.Legacy.LegacyJsonConverter`1<Microsoft.TeamFoundation.DistributedTask.WebApi.Legacy.JobEnvironment>))]
[System.Runtime.Serialization.DataContract]
public sealed class JobEnvironment : ICloneable
Inheritance
JobEnvironment
Attributes
Newtonsoft.Json.JsonConverterAttribute DataContractAttribute
Implements

Constructors

JobEnvironment()

Initializes a new JobEnvironment with empty collections of repositories, vectors, and variables.

JobEnvironment(PlanEnvironment)

Properties

Endpoints

Gets the collection of endpoints associated with the current context.

MaskHints

Gets the collection of mask hints

Options

Gets the collection of options associated with the current context.

Secrets

Gets the data associated with the current request.

Variables

Gets the collection of variables associated with the current context.

Methods

Clone()

Creates a deep copy of the job environment.

Explicit Interface Implementations

Applies to

Product Versions
Azure DevOps Services .NET SDK preview, latest