Data and settings for an elastic node

interface ElasticNode {
    agentId?: number;
    agentState?: ElasticAgentState;
    computeId?: string;
    computeState?: ElasticComputeState;
    desiredState?: ElasticNodeState;
    id?: number;
    name?: string;
    poolId?: number;
    requestId?: number;
    state?: ElasticNodeState;
    stateChangedOn?: Date;
}

Properties

agentId?: number

Distributed Task's Agent Id

agentState?: ElasticAgentState

Summary of the state of the agent

computeId?: string

Compute Id. VMSS's InstanceId

computeState?: ElasticComputeState

State of the compute host

desiredState?: ElasticNodeState

Users can force state changes to specific states (ToReimage, ToDelete, Save)

id?: number

Unique identifier since the agent and/or VM may be null

name?: string

Computer name. Used to match a scaleset VM with an agent

poolId?: number

Pool Id that this node belongs to

requestId?: number

Last job RequestId assigned to this agent

State of the ElasticNode

stateChangedOn?: Date

Last state change. Only updated by SQL.