Sdílet prostřednictvím


LinuxConfiguration Class

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

Inheritance
azure.mgmt.compute._serialization.Model
LinuxConfiguration

Constructor

LinuxConfiguration(*, disable_password_authentication: bool | None = None, ssh: _models.SshConfiguration | None = None, provision_vm_agent: bool | None = None, patch_settings: _models.LinuxPatchSettings | None = None, enable_vm_agent_platform_updates: bool | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
disable_password_authentication

Specifies whether password authentication should be disabled.

ssh

Specifies the ssh key configuration for a Linux OS.

provision_vm_agent

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.

patch_settings

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

enable_vm_agent_platform_updates

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

Variables

Name Description
disable_password_authentication

Specifies whether password authentication should be disabled.

ssh

Specifies the ssh key configuration for a Linux OS.

provision_vm_agent

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.

patch_settings

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

enable_vm_agent_platform_updates

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