Show / Hide Table of Contents

    Class LinuxConfiguration

    Specifies the Linux operating system settings on the virtual machine. <br><br>For a list of supported Linux distributions, see Linux on Azure-Endorsed Distributions <br><br> For running non-endorsed distributions, see Information for Non-Endorsed Distributions.

    Inheritance
    Object
    LinuxConfiguration
    Namespace: System.Dynamic.ExpandoObject
    Assembly: Microsoft.Azure.Management.Compute.dll
    Syntax
    public class LinuxConfiguration

    Constructors

    LinuxConfiguration()

    Initializes a new instance of the LinuxConfiguration class.

    Declaration
    public LinuxConfiguration ();

    LinuxConfiguration(Nullable<Boolean>, SshConfiguration, Nullable<Boolean>)

    Initializes a new instance of the LinuxConfiguration class.

    Declaration
    public LinuxConfiguration (Nullable<bool> disablePasswordAuthentication = null, Microsoft.Azure.Management.Compute.Models.SshConfiguration ssh = null, Nullable<bool> provisionVMAgent = null);
    Parameters
    Nullable<Boolean> disablePasswordAuthentication

    Specifies whether password authentication should be disabled.

    SshConfiguration ssh

    Specifies the ssh key configuration for a Linux OS.

    Nullable<Boolean> provisionVMAgent

    Indicates whether virtual machine agent should be provisioned on the virtual machine. <br><br> 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.

    Properties

    DisablePasswordAuthentication

    Gets or sets specifies whether password authentication should be disabled.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="disablePasswordAuthentication")]
    public Nullable<bool> DisablePasswordAuthentication { get; set; }
    Property Value
    Nullable<Boolean>

    ProvisionVMAgent

    Gets or sets indicates whether virtual machine agent should be provisioned on the virtual machine. &lt;br&gt;&lt;br&gt; 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.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="provisionVMAgent")]
    public Nullable<bool> ProvisionVMAgent { get; set; }
    Property Value
    Nullable<Boolean>

    Ssh

    Gets or sets specifies the ssh key configuration for a Linux OS.

    Declaration
    [Newtonsoft.Json.JsonProperty(PropertyName="ssh")]
    public Microsoft.Azure.Management.Compute.Models.SshConfiguration Ssh { get; set; }
    Property Value
    SshConfiguration

    Back to top Azure SDK for Net