Condividi tramite


LinuxParameters Class

Definition

Input for InstallPatches on a Linux VM, as directly received by the API.

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

Constructors

LinuxParameters()

Initializes a new instance of LinuxParameters.

Properties

ClassificationsToInclude

The update classifications to select when installing patches for Linux.

MaintenanceRunId

This is used as a maintenance run identifier for Auto VM Guest Patching in Linux.

PackageNameMasksToExclude

packages to exclude in the patch operation. Format: packageName_packageVersion.

PackageNameMasksToInclude

packages to include in the patch operation. Format: packageName_packageVersion.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<LinuxParameters>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<LinuxParameters>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<LinuxParameters>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LinuxParameters>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<LinuxParameters>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to