UpgradeInsightProperties interface
The base properties of an upgrade insight. The concrete shape is determined by
upgradeType, which is encoded in the resource name: single-scope evaluations
(ControlPlane, AgentPool, NodeImage) carry a flat per-scope result, while a
combined evaluation (ControlPlaneAndAgentPools) carries a nested control plane
result plus a per-agent-pool array.
Properties
| expires |
The UTC time at which this stored upgrade insight expires and is removed from the
data store (currently |
| last |
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 |
| provisioning |
The provisioning state of the upgrade insight evaluation. |
| upgrade |
The discriminator possible values: ControlPlane, AgentPool, NodeImage, ControlPlaneAndAgentPools |
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
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
provisioningState
The provisioning state of the upgrade insight evaluation.
provisioningState?: string
Property Value
string
upgradeType
The discriminator possible values: ControlPlane, AgentPool, NodeImage, ControlPlaneAndAgentPools
upgradeType: string
Property Value
string