你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

LinuxConfiguration Class

  • java.lang.Object
    • com.microsoft.azure.management.compute.LinuxConfiguration

public class LinuxConfiguration

Describes Windows configuration of the OS Profile.

Method Summary

Modifier and Type Method and Description
Boolean disablePasswordAuthentication()

Get the disablePasswordAuthentication value.

SshConfiguration ssh()

Get the ssh value.

LinuxConfiguration withDisablePasswordAuthentication(Boolean disablePasswordAuthentication)

Set the disablePasswordAuthentication value.

LinuxConfiguration withSsh(SshConfiguration ssh)

Set the ssh value.

Method Details

disablePasswordAuthentication

public Boolean disablePasswordAuthentication()

Get the disablePasswordAuthentication value.

Returns:

the disablePasswordAuthentication value

ssh

public SshConfiguration ssh()

Get the ssh value.

Returns:

the ssh value

withDisablePasswordAuthentication

public LinuxConfiguration withDisablePasswordAuthentication(Boolean disablePasswordAuthentication)

Set the disablePasswordAuthentication value.

Parameters:

disablePasswordAuthentication - the disablePasswordAuthentication value to set

Returns:

the LinuxConfiguration object itself.

withSsh

public LinuxConfiguration withSsh(SshConfiguration ssh)

Set the ssh value.

Parameters:

ssh - the ssh value to set

Returns:

the LinuxConfiguration object itself.

Applies to