共用方式為


LinuxConfiguration interface

指定虛擬機上的Linux作業系統設定。 如需支援的 Linux 發行版清單,請參閱 Azure-Endorsed 發行版上的 Linux

Extends

屬性

disablePasswordAuthentication

指定是否應停用密碼驗證。

osType

OS 類型

ssh

指定 Linux OS 的 SSH 金鑰組態。 (此屬性已被取代,請改用 'sshKeyPair' )

sshKeyPair

用來向 VM 進行驗證的 SSH 金鑰組。

屬性詳細資料

disablePasswordAuthentication

指定是否應停用密碼驗證。

disablePasswordAuthentication?: boolean

屬性值

boolean

osType

OS 類型

osType: "Linux"

屬性值

"Linux"

ssh

指定 Linux OS 的 SSH 金鑰組態。 (此屬性已被取代,請改用 'sshKeyPair' )

ssh?: SshConfiguration

屬性值

sshKeyPair

用來向 VM 進行驗證的 SSH 金鑰組。

sshKeyPair?: SshKeyPair

屬性值