NodeImageUpgradeInsightProperties interface

Properties for a single agent pool node OS image upgrade insight.

Extends

Properties

agentPoolName

The name of the agent pool this insight applies to.

context

Contextual information about how this upgrade is managed, such as the upgrade strategy, next maintenance window, and last successful upgrade time.

currentNodeImageVersion

The node OS image version the agent pool was evaluated from (the upgrade source version it is currently running). Lets consumers read the result as "from X to targetNodeImageVersion" and detect a stale cached record by comparing against the live node image version.

evaluation

The evaluation result, including overall status, evaluation time, and any detected issues.

targetNodeImageVersion

The target node OS image version that was evaluated.

upgradeType

The type of upgrade this insight evaluates.

Inherited Properties

expiresAt

The UTC time at which this stored upgrade insight expires and is removed from the data store (currently lastEvaluatedAt plus a 14-day retention window). After this time a GET for the resource returns 404 Not Found and it no longer appears in the list, indicating the caller should call the compute operation to produce a fresh evaluation. Exposing the expiry lets clients decide when to recompute without hardcoding the retention period.

lastEvaluatedAt

The UTC time at which this upgrade insight was last computed (the last time the compute operation ran for this resource). This is the resource-level "last run" marker and, for a cached record, indicates how stale the stored evaluation is. For a combined evaluation it is the umbrella run time across all scopes, whereas each scope's evaluation.evaluatedAt records when that specific snapshot was produced.

provisioningState

The provisioning state of the upgrade insight evaluation.

Property Details

agentPoolName

The name of the agent pool this insight applies to.

agentPoolName?: string

Property Value

string

context

Contextual information about how this upgrade is managed, such as the upgrade strategy, next maintenance window, and last successful upgrade time.

context?: UpgradeContext

Property Value

currentNodeImageVersion

The node OS image version the agent pool was evaluated from (the upgrade source version it is currently running). Lets consumers read the result as "from X to targetNodeImageVersion" and detect a stale cached record by comparing against the live node image version.

currentNodeImageVersion?: string

Property Value

string

evaluation

The evaluation result, including overall status, evaluation time, and any detected issues.

evaluation?: UpgradeInsightEvaluation

Property Value

targetNodeImageVersion

The target node OS image version that was evaluated.

targetNodeImageVersion?: string

Property Value

string

upgradeType

The type of upgrade this insight evaluates.

upgradeType: "NodeImage"

Property Value

"NodeImage"

Inherited Property Details

expiresAt

The UTC time at which this stored upgrade insight expires and is removed from the data store (currently lastEvaluatedAt plus a 14-day retention window). After this time a GET for the resource returns 404 Not Found and it no longer appears in the list, indicating the caller should call the compute operation to produce a fresh evaluation. Exposing the expiry lets clients decide when to recompute without hardcoding the retention period.

expiresAt?: Date

Property Value

Date

Inherited From UpgradeInsightProperties.expiresAt

lastEvaluatedAt

The UTC time at which this upgrade insight was last computed (the last time the compute operation ran for this resource). This is the resource-level "last run" marker and, for a cached record, indicates how stale the stored evaluation is. For a combined evaluation it is the umbrella run time across all scopes, whereas each scope's evaluation.evaluatedAt records when that specific snapshot was produced.

lastEvaluatedAt?: Date

Property Value

Date

Inherited From UpgradeInsightProperties.lastEvaluatedAt

provisioningState

The provisioning state of the upgrade insight evaluation.

provisioningState?: string

Property Value

string

Inherited From UpgradeInsightProperties.provisioningState