ภาษา

ArmComputeBulkActionsModelFactory.LinuxConfiguration Method

Definition

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

Parameters

disablePasswordAuthentication
Nullable<Boolean>

Specifies whether password authentication should be disabled.

sshPublicKeys
IEnumerable<SshPublicKey>

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

isProvisionVMAgent
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.

enableVMAgentPlatformUpdates
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