ArmComputeFleetModelFactory.ComputeFleetLinuxConfiguration Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.ComputeFleet.Models.ComputeFleetLinuxConfiguration ComputeFleetLinuxConfiguration(bool? isPasswordAuthenticationDisabled = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetSshPublicKey> sshPublicKeys = default, bool? isVmAgentProvisioned = default, Azure.ResourceManager.ComputeFleet.Models.ComputeFleetLinuxPatchSettings patchSettings = default, bool? isVmAgentPlatformUpdatesEnabled = default);
static member ComputeFleetLinuxConfiguration : Nullable<bool> * seq<Azure.ResourceManager.ComputeFleet.Models.ComputeFleetSshPublicKey> * Nullable<bool> * Azure.ResourceManager.ComputeFleet.Models.ComputeFleetLinuxPatchSettings * Nullable<bool> -> Azure.ResourceManager.ComputeFleet.Models.ComputeFleetLinuxConfiguration
Public Shared Function ComputeFleetLinuxConfiguration (Optional isPasswordAuthenticationDisabled As Nullable(Of Boolean) = Nothing, Optional sshPublicKeys As IEnumerable(Of ComputeFleetSshPublicKey) = Nothing, Optional isVmAgentProvisioned As Nullable(Of Boolean) = Nothing, Optional patchSettings As ComputeFleetLinuxPatchSettings = Nothing, Optional isVmAgentPlatformUpdatesEnabled As Nullable(Of Boolean) = Nothing) As ComputeFleetLinuxConfiguration
Parameters
Specifies whether password authentication should be disabled.
- sshPublicKeys
- IEnumerable<ComputeFleetSshPublicKey>
The list of SSH public keys used to authenticate with linux based VMs.
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
- ComputeFleetLinuxPatchSettings
[Preview Feature] Specifies settings related to VM Guest Patching on Linux.
Indicates whether VMAgent Platform Updates is enabled for the Linux virtual machine. Default value is false.
Returns
A new ComputeFleetLinuxConfiguration instance for mocking.