Condividi tramite


UpgradeOverrideSettings Class

Definition

Settings for overrides when upgrading a cluster.

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

Constructors

UpgradeOverrideSettings()

Initializes a new instance of UpgradeOverrideSettings.

Properties

ForceUpgrade

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

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.

Explicit Interface Implementations

IJsonModel<UpgradeOverrideSettings>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<UpgradeOverrideSettings>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<UpgradeOverrideSettings>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<UpgradeOverrideSettings>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<UpgradeOverrideSettings>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to