Language

ContainerServiceUpgradeContext Class

Definition

Contextual information for a specific upgrade type (Kubernetes version or node OS image). Because the Kubernetes version and node OS image can be managed independently — for example, auto-upgrade for the node image but manual for the Kubernetes version — this context is reported per upgrade type rather than once for the whole cluster.

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

Properties

Name Description
CurrentUpgradeStrategy

The strategy currently used to perform this type of upgrade (manual or auto-upgrade).

LastSuccessfulUpgradeOn

The UTC time of the last successful upgrade of this type for this scope. Clients can compute "days since last successful upgrade" from this value and the current time; the server intentionally does not return a precomputed value so that cached results do not go stale.

NextMaintenanceWindow

The next scheduled automatic upgrade maintenance window for this upgrade type, if auto-upgrade is configured.

Methods

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

Explicit Interface Implementations

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

Applies to