Partilhar via


LinuxConfiguration interface

Specifies the Linux operating system settings on the virtual machine.

For a list of supported Linux distributions, see Linux on Azure-Endorsed Distributions

For running non-endorsed distributions, see Information for Non-Endorsed Distributions.

Properties

disablePasswordAuthentication

Specifies whether password authentication should be disabled.

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.

ssh

Specifies the ssh key configuration for a Linux OS.

Property Details

disablePasswordAuthentication

Specifies whether password authentication should be disabled.

disablePasswordAuthentication?: boolean

Property Value

boolean

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.

provisionVMAgent?: boolean

Property Value

boolean

ssh

Specifies the ssh key configuration for a Linux OS.

ssh?: SshConfiguration

Property Value