Table of Contents

Class AzureAgentMetadata

Namespace
DotNetDo
Assembly
DotNetDo.Core.dll

Environment metadata used by AzureAgentMetadata.

public sealed record AzureAgentMetadata : IEquatable<AzureAgentMetadata>

Properties

Architecture

Reads AGENT_OSARCHITECTURE; returns null when it is unset or empty.

public string? Architecture { get; }

Property Value

string?

BuildDirectory

Reads AGENT_BUILDDIRECTORY; returns null when it is unset or empty.

public AbsolutePath? BuildDirectory { get; }

Property Value

AbsolutePath?

HomeDirectory

Reads AGENT_HOMEDIRECTORY; returns null when it is unset or empty.

public AbsolutePath? HomeDirectory { get; }

Property Value

AbsolutePath?

Id

Reads AGENT_ID; returns null when it is unset or empty.

public long? Id { get; }

Property Value

long?

JobName

Reads AGENT_JOBNAME; returns null when it is unset or empty.

public string? JobName { get; }

Property Value

string?

JobStatus

Reads AGENT_JOBSTATUS; returns null when it is unset or empty.

public string? JobStatus { get; }

Property Value

string?

MachineName

Reads AGENT_MACHINENAME; returns null when it is unset or empty.

public string? MachineName { get; }

Property Value

string?

Name

Reads AGENT_NAME; returns null when it is unset or empty.

public string? Name { get; }

Property Value

string?

Os

Reads AGENT_OS; returns null when it is unset or empty.

public string? Os { get; }

Property Value

string?

TempDirectory

Reads AGENT_TEMPDIRECTORY; returns null when it is unset or empty.

public AbsolutePath? TempDirectory { get; }

Property Value

AbsolutePath?

ToolsDirectory

Reads AGENT_TOOLSDIRECTORY; returns null when it is unset or empty.

public AbsolutePath? ToolsDirectory { get; }

Property Value

AbsolutePath?

Version

Reads AGENT_VERSION; returns null when it is unset or empty.

public string? Version { get; }

Property Value

string?

WorkFolder

Reads AGENT_WORKFOLDER; returns null when it is unset or empty.

public AbsolutePath? WorkFolder { get; }

Property Value

AbsolutePath?