LinuxConfiguration Constructors
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.
Overloads
LinuxConfiguration() |
Initializes a new instance of the LinuxConfiguration class. |
LinuxConfiguration(Nullable<Boolean>, SshConfiguration, Nullable<Boolean>, LinuxPatchSettings, Nullable<Boolean>) |
Initializes a new instance of the LinuxConfiguration class. |
LinuxConfiguration()
Initializes a new instance of the LinuxConfiguration class.
public LinuxConfiguration ();
Public Sub New ()
Applies to
LinuxConfiguration(Nullable<Boolean>, SshConfiguration, Nullable<Boolean>, LinuxPatchSettings, Nullable<Boolean>)
Initializes a new instance of the LinuxConfiguration class.
public LinuxConfiguration (bool? disablePasswordAuthentication = default, Microsoft.Azure.Management.Compute.Models.SshConfiguration ssh = default, bool? provisionVMAgent = default, Microsoft.Azure.Management.Compute.Models.LinuxPatchSettings patchSettings = default, bool? enableVMAgentPlatformUpdates = default);
new Microsoft.Azure.Management.Compute.Models.LinuxConfiguration : Nullable<bool> * Microsoft.Azure.Management.Compute.Models.SshConfiguration * Nullable<bool> * Microsoft.Azure.Management.Compute.Models.LinuxPatchSettings * Nullable<bool> -> Microsoft.Azure.Management.Compute.Models.LinuxConfiguration
Public Sub New (Optional disablePasswordAuthentication As Nullable(Of Boolean) = Nothing, Optional ssh As SshConfiguration = Nothing, Optional provisionVMAgent As Nullable(Of Boolean) = Nothing, Optional patchSettings As LinuxPatchSettings = Nothing, Optional enableVMAgentPlatformUpdates As Nullable(Of Boolean) = Nothing)
Parameters
Specifies whether password authentication should be disabled.
- ssh
- SshConfiguration
Specifies the ssh key configuration for a Linux OS.
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.
Indicates whether VMAgent Platform Updates is enabled for the Linux virtual machine. Default value is false.
Applies to
Azure SDK for .NET