共用方式為


LinuxConfiguration Class

Definition

Specifies the Linux operating system settings on the virtual machine. <br><br>For a list of supported Linux distributions, see Linux on Azure-Endorsed Distributions <br><br> For running non-endorsed distributions, see Information for Non-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>)

Initializes a new instance of the LinuxConfiguration class.

Properties

DisablePasswordAuthentication

Gets or sets specifies whether password authentication should be disabled.

ProvisionVMAgent

Gets or sets indicates whether virtual machine agent should be provisioned on the virtual machine. &lt;br&gt;&lt;br&gt; 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