Language

AgentPoolUpgradeInsightProperties Class

Definition

Properties for a single agent pool Kubernetes version upgrade insight.

public class AgentPoolUpgradeInsightProperties : Azure.ResourceManager.ContainerService.Models.UpgradeInsightProperties, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerService.Models.AgentPoolUpgradeInsightProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerService.Models.AgentPoolUpgradeInsightProperties>
type AgentPoolUpgradeInsightProperties = class
    inherit UpgradeInsightProperties
    interface IJsonModel<AgentPoolUpgradeInsightProperties>
    interface IPersistableModel<AgentPoolUpgradeInsightProperties>
Public Class AgentPoolUpgradeInsightProperties
Inherits UpgradeInsightProperties
Implements IJsonModel(Of AgentPoolUpgradeInsightProperties), IPersistableModel(Of AgentPoolUpgradeInsightProperties)
Inheritance
AgentPoolUpgradeInsightProperties
Implements

Properties

Name Description
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.

ExpiresOn

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.

(Inherited from UpgradeInsightProperties)
KubernetesVersionEndOfSupportOn

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.

LastEvaluatedOn

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.

(Inherited from UpgradeInsightProperties)
ProvisioningState

The provisioning state of the upgrade insight evaluation.

(Inherited from UpgradeInsightProperties)
TargetKubernetesVersion

The target Kubernetes version that was evaluated.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<AgentPoolUpgradeInsightProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<AgentPoolUpgradeInsightProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IJsonModel<UpgradeInsightProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from UpgradeInsightProperties)
IJsonModel<UpgradeInsightProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from UpgradeInsightProperties)
IPersistableModel<AgentPoolUpgradeInsightProperties>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<AgentPoolUpgradeInsightProperties>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<AgentPoolUpgradeInsightProperties>.Write(ModelReaderWriterOptions)
IPersistableModel<UpgradeInsightProperties>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from UpgradeInsightProperties)
IPersistableModel<UpgradeInsightProperties>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from UpgradeInsightProperties)
IPersistableModel<UpgradeInsightProperties>.Write(ModelReaderWriterOptions) (Inherited from UpgradeInsightProperties)

Applies to