다음을 통해 공유


MaintenancePatchConfiguration Class

Definition

Input configuration for a patch run.

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

Constructors

MaintenancePatchConfiguration()

Initializes a new instance of MaintenancePatchConfiguration.

Properties

LinuxParameters

Input parameters specific to patching Linux machine. For Windows machines, do not pass this property.

RebootSetting

Possible reboot preference as defined by the user based on which it would be decided to reboot the machine or not after the patch operation is completed.

WindowsParameters

Input parameters specific to patching a Windows machine. For Linux machines, do not pass this property.

Explicit Interface Implementations

IJsonModel<MaintenancePatchConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MaintenancePatchConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MaintenancePatchConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MaintenancePatchConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MaintenancePatchConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to