ArmComputeModelFactory.LinuxConfiguration Method

Definition

public static Azure.ResourceManager.Compute.Models.LinuxConfiguration LinuxConfiguration(bool? isPasswordAuthenticationDisabled = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Compute.Models.SshPublicKeyConfiguration> sshPublicKeys = default, bool? provisionVmAgent = default, Azure.ResourceManager.Compute.Models.LinuxPatchSettings patchSettings = default, bool? isVmAgentPlatformUpdatesEnabled = default);
static member LinuxConfiguration : Nullable<bool> * seq<Azure.ResourceManager.Compute.Models.SshPublicKeyConfiguration> * Nullable<bool> * Azure.ResourceManager.Compute.Models.LinuxPatchSettings * Nullable<bool> -> Azure.ResourceManager.Compute.Models.LinuxConfiguration
Public Shared Function LinuxConfiguration (Optional isPasswordAuthenticationDisabled As Nullable(Of Boolean) = Nothing, Optional sshPublicKeys As IEnumerable(Of SshPublicKeyConfiguration) = Nothing, Optional provisionVmAgent As Nullable(Of Boolean) = Nothing, Optional patchSettings As LinuxPatchSettings = Nothing, Optional isVmAgentPlatformUpdatesEnabled As Nullable(Of Boolean) = Nothing) As LinuxConfiguration

Parameters

isPasswordAuthenticationDisabled
Nullable<Boolean>

Specifies whether password authentication should be disabled.

sshPublicKeys
IEnumerable<SshPublicKeyConfiguration>

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

provisionVmAgent
Nullable<Boolean>

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.

patchSettings
LinuxPatchSettings

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

isVmAgentPlatformUpdatesEnabled
Nullable<Boolean>

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

Returns

A new LinuxConfiguration instance for mocking.

Applies to