ContainerServiceUpgradeContext Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |