Language

UpgradeInsightProperties Class

Definition

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. Please note this is the abstract base class. The derived classes available for instantiation are: AgentPoolUpgradeInsightProperties, ControlPlaneAndAgentPoolsUpgradeInsightProperties, ControlPlaneUpgradeInsightProperties, and NodeImageUpgradeInsightProperties.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.ContainerService.Models.UnknownUpgradeInsightProperties))]
public abstract class UpgradeInsightProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerService.Models.UpgradeInsightProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerService.Models.UpgradeInsightProperties>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.ContainerService.Models.UnknownUpgradeInsightProperties))>]
type UpgradeInsightProperties = class
    interface IJsonModel<UpgradeInsightProperties>
    interface IPersistableModel<UpgradeInsightProperties>
Public MustInherit Class UpgradeInsightProperties
Implements IJsonModel(Of UpgradeInsightProperties), IPersistableModel(Of UpgradeInsightProperties)
Inheritance
UpgradeInsightProperties
Derived
Attributes
Implements

Properties

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

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.

ProvisioningState

The provisioning state of the upgrade insight evaluation.

Methods

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

Explicit Interface Implementations

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

Applies to