ScopeEvaluationResult interface
The readiness evaluation details shared by a single scope: the support status of the version the scope is currently running, the upgrade context, and the evaluation result. All fields are server-computed and read-only.
Properties
| context | Contextual information about how this upgrade is managed, such as the upgrade strategy, next maintenance window, and last successful upgrade time. |
| current |
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. |
| kubernetes |
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. |
| kubernetes |
The support status of the Kubernetes version the scope is currently running (not the target version). Populated for Kubernetes version upgrades. |
Property Details
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