Delen 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
type LinuxConfiguration = class
Public Class LinuxConfiguration
Inheritance
LinuxConfiguration

Constructors

LinuxConfiguration()

Initializes a new instance of the LinuxConfiguration class.

LinuxConfiguration(Nullable<Boolean>, SshConfiguration, Nullable<Boolean>, LinuxPatchSettings, Nullable<Boolean>)

Initializes a new instance of the LinuxConfiguration class.

Properties

DisablePasswordAuthentication

Gets or sets specifies whether password authentication should be disabled.

EnableVMAgentPlatformUpdates

Gets or sets indicates whether VMAgent Platform Updates is enabled for the Linux virtual machine. Default value is false.

PatchSettings

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

ProvisionVMAgent

Gets or sets 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.

Ssh

Gets or sets specifies the ssh key configuration for a Linux OS.

Applies to