Język

NodeImageUpgradeInsightProperties Class

Definition

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

public class NodeImageUpgradeInsightProperties : Azure.ResourceManager.ContainerService.Models.UpgradeInsightProperties, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerService.Models.NodeImageUpgradeInsightProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerService.Models.NodeImageUpgradeInsightProperties>
type NodeImageUpgradeInsightProperties = class
    inherit UpgradeInsightProperties
    interface IJsonModel<NodeImageUpgradeInsightProperties>
    interface IPersistableModel<NodeImageUpgradeInsightProperties>
Public Class NodeImageUpgradeInsightProperties
Inherits UpgradeInsightProperties
Implements IJsonModel(Of NodeImageUpgradeInsightProperties), IPersistableModel(Of NodeImageUpgradeInsightProperties)
Inheritance
NodeImageUpgradeInsightProperties
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.

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.

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)
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)
TargetNodeImageVersion

The target node OS image version that was evaluated.

Methods

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

Explicit Interface Implementations

Name Description
IJsonModel<NodeImageUpgradeInsightProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<NodeImageUpgradeInsightProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IJsonModel<UpgradeInsightProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from UpgradeInsightProperties)
IJsonModel<UpgradeInsightProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from UpgradeInsightProperties)
IPersistableModel<NodeImageUpgradeInsightProperties>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<NodeImageUpgradeInsightProperties>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<NodeImageUpgradeInsightProperties>.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