ArmContainerServiceModelFactory.UpgradeOverrideSettings Method

Definition

public static Azure.ResourceManager.ContainerService.Models.UpgradeOverrideSettings UpgradeOverrideSettings(bool? isForceUpgradeEnabled = default, DateTimeOffset? until = default);
static member UpgradeOverrideSettings : Nullable<bool> * Nullable<DateTimeOffset> -> Azure.ResourceManager.ContainerService.Models.UpgradeOverrideSettings
Public Shared Function UpgradeOverrideSettings (Optional isForceUpgradeEnabled As Nullable(Of Boolean) = Nothing, Optional until As Nullable(Of DateTimeOffset) = Nothing) As UpgradeOverrideSettings

Parameters

isForceUpgradeEnabled
Nullable<Boolean>

Whether to force upgrade the cluster. Note that this option instructs upgrade operation to bypass upgrade protections such as checking for deprecated API usage. Enable this option only with caution.

until
Nullable<DateTimeOffset>

Until when the overrides are effective. Note that this only matches the start time of an upgrade, and the effectiveness won't change once an upgrade starts even if the until expires as upgrade proceeds. This field is not set by default. It must be set for the overrides to take effect.

Returns

A new UpgradeOverrideSettings instance for mocking.

Applies to