コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the LinuxConfiguration class.
 /// </summary>
 /// <param name="disablePasswordAuthentication">Specifies whether
 /// password authentication should be disabled.</param>
 /// <param name="ssh">Specifies the ssh key configuration for a Linux
 /// OS.</param>
 /// <param name="provisionVMAgent">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.</param>
 public LinuxConfiguration(bool?disablePasswordAuthentication = default(bool?), SshConfiguration ssh = default(SshConfiguration), bool?provisionVMAgent = default(bool?))
 {
     DisablePasswordAuthentication = disablePasswordAuthentication;
     Ssh = ssh;
     ProvisionVMAgent = provisionVMAgent;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the LinuxConfiguration class.
 /// </summary>
 /// <param name="disablePasswordAuthentication">Specifies whether
 /// password authentication should be disabled.</param>
 /// <param name="ssh">Specifies the ssh key configuration for a Linux
 /// OS.</param>
 public LinuxConfiguration(bool?disablePasswordAuthentication = default(bool?), SshConfiguration ssh = default(SshConfiguration))
 {
     DisablePasswordAuthentication = disablePasswordAuthentication;
     Ssh = ssh;
     CustomInit();
 }