VirtualMachineScaleSetUpgradePolicy 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.
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. |
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
Azure SDK for .NET
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro