AgentPoolUpgradeInsightProperties interface

Properties for a single agent pool Kubernetes version 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.

currentKubernetesVersion

The Kubernetes version the scope was evaluated from (the upgrade source version the scope is currently running). Lets consumers read the result as "from X to targetKubernetesVersion" and detect a stale cached record by comparing against the live cluster version. Populated for Kubernetes version upgrades.

evaluation

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

kubernetesVersionEndOfSupportDate

The date on which support ends for the Kubernetes version the scope is currently running (its end-of-support date). Returned as an absolute date so clients can apply their own "approaching end of support" threshold and compute the remaining days against the current time; a precomputed remaining-days value is intentionally not returned so that cached results do not go stale. Populated for Kubernetes version upgrades.

kubernetesVersionSupportStatus

The support status of the Kubernetes version the scope is currently running (not the target version). Populated for Kubernetes version upgrades.

targetKubernetesVersion

The target Kubernetes 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

currentKubernetesVersion

The Kubernetes version the scope was evaluated from (the upgrade source version the scope is currently running). Lets consumers read the result as "from X to targetKubernetesVersion" and detect a stale cached record by comparing against the live cluster version. Populated for Kubernetes version upgrades.

currentKubernetesVersion?: string

Property Value

string

evaluation

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

evaluation?: UpgradeInsightEvaluation

Property Value

kubernetesVersionEndOfSupportDate

The date on which support ends for the Kubernetes version the scope is currently running (its end-of-support date). Returned as an absolute date so clients can apply their own "approaching end of support" threshold and compute the remaining days against the current time; a precomputed remaining-days value is intentionally not returned so that cached results do not go stale. Populated for Kubernetes version upgrades.

kubernetesVersionEndOfSupportDate?: Date

Property Value

Date

kubernetesVersionSupportStatus

The support status of the Kubernetes version the scope is currently running (not the target version). Populated for Kubernetes version upgrades.

kubernetesVersionSupportStatus?: string

Property Value

string

targetKubernetesVersion

The target Kubernetes version that was evaluated.

targetKubernetesVersion?: string

Property Value

string

upgradeType

The type of upgrade this insight evaluates.

upgradeType: "AgentPool"

Property Value

"AgentPool"

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