次の方法で共有


VirtualMachineScaleSetUpgradePolicy Class

Definition

Describes an upgrade policy - automatic, manual, or rolling.

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

Constructors

VirtualMachineScaleSetUpgradePolicy()

Initializes a new instance of VirtualMachineScaleSetUpgradePolicy.

Properties

AutomaticOSUpgradePolicy

Configuration parameters used for performing automatic OS Upgrade.

Mode

Specifies the mode of an upgrade to virtual machines in the scale set.<br /><br /> Possible values are:<br /><br /> Manual - You control the application of updates to virtual machines in the scale set. You do this by using the manualUpgrade action.<br /><br /> Automatic - All virtual machines in the scale set are automatically updated at the same time.

RollingUpgradePolicy

The configuration parameters used while performing a rolling upgrade.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<VirtualMachineScaleSetUpgradePolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VirtualMachineScaleSetUpgradePolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<VirtualMachineScaleSetUpgradePolicy>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualMachineScaleSetUpgradePolicy>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VirtualMachineScaleSetUpgradePolicy>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to