AutomaticOSUpgradePolicy 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.
The configuration parameters used for performing automatic OS upgrade.
public class AutomaticOSUpgradePolicy : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Batch.Models.AutomaticOSUpgradePolicy>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Batch.Models.AutomaticOSUpgradePolicy>
type AutomaticOSUpgradePolicy = class
interface IJsonModel<AutomaticOSUpgradePolicy>
interface IPersistableModel<AutomaticOSUpgradePolicy>
Public Class AutomaticOSUpgradePolicy
Implements IJsonModel(Of AutomaticOSUpgradePolicy), IPersistableModel(Of AutomaticOSUpgradePolicy)
- Inheritance
-
AutomaticOSUpgradePolicy
- Implements
Constructors
AutomaticOSUpgradePolicy() |
Initializes a new instance of AutomaticOSUpgradePolicy. |
Properties
DisableAutomaticRollback |
Whether OS image rollback feature should be disabled. |
EnableAutomaticOSUpgrade |
Indicates whether OS upgrades should automatically be applied to scale set instances in a rolling fashion when a newer version of the OS image becomes available. <br /><br /> If this is set to true for Windows based pools, WindowsConfiguration.enableAutomaticUpdates cannot be set to true. |
OSRollingUpgradeDeferral |
Defer OS upgrades on the TVMs if they are running tasks. |
UseRollingUpgradePolicy |
Indicates whether rolling upgrade policy should be used during Auto OS Upgrade. Auto OS Upgrade will fallback to the default policy if no policy is defined on the VMSS. |
Explicit Interface Implementations
IJsonModel<AutomaticOSUpgradePolicy>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<AutomaticOSUpgradePolicy>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<AutomaticOSUpgradePolicy>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<AutomaticOSUpgradePolicy>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<AutomaticOSUpgradePolicy>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기