Partilhar via


LinuxConfiguration Class

Definition

Specifies the Linux operating system settings on the virtual machine. For a list of supported Linux distributions, see Linux on Azure-Endorsed Distributions.

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

Constructors

LinuxConfiguration()

Initializes a new instance of LinuxConfiguration.

Properties

IsPasswordAuthenticationDisabled

Specifies whether password authentication should be disabled.

IsVmAgentPlatformUpdatesEnabled

Indicates whether VMAgent Platform Updates is enabled for the Linux virtual machine. Default value is false.

PatchSettings

[Preview Feature] Specifies settings related to VM Guest Patching on Linux.

ProvisionVmAgent

Indicates whether virtual machine agent should be provisioned on the virtual machine. When this property is not specified in the request body, default behavior is to set it to true. This will ensure that VM Agent is installed on the VM so that extensions can be added to the VM later.

SshPublicKeys

The list of SSH public keys used to authenticate with linux based VMs.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<LinuxConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<LinuxConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<LinuxConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<LinuxConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<LinuxConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to