UserAccount interface

用來建立用來在 Azure Batch 計算節點上執行工作的用戶的屬性。

屬性

elevationLevel

用戶帳戶的提高許可權層級。 預設值為 nonAdmin。

可能的值:“nonadmin”、“admin”

linuxUserConfiguration

用戶帳戶的 Linux 特定用戶設定。 如果在 Windows 集區上指定,則會忽略這個屬性。 如果未指定,則會使用預設選項建立使用者。

name

用戶帳戶的名稱。 名稱可以包含最多 20 個字元的任何 Unicode 字元。

password

用戶帳戶的密碼。

windowsUserConfiguration

用戶帳戶的 Windows 特定用戶設定。 只有在用戶位於 Windows 集區時,才能指定這個屬性。 如果未指定且在 Windows 集區上,則會使用預設選項建立使用者。

屬性詳細資料

elevationLevel

用戶帳戶的提高許可權層級。 預設值為 nonAdmin。

可能的值:“nonadmin”、“admin”

elevationLevel?: string

屬性值

string

linuxUserConfiguration

用戶帳戶的 Linux 特定用戶設定。 如果在 Windows 集區上指定,則會忽略這個屬性。 如果未指定,則會使用預設選項建立使用者。

linuxUserConfiguration?: LinuxUserConfiguration

屬性值

name

用戶帳戶的名稱。 名稱可以包含最多 20 個字元的任何 Unicode 字元。

name: string

屬性值

string

password

用戶帳戶的密碼。

password: string

屬性值

string

windowsUserConfiguration

用戶帳戶的 Windows 特定用戶設定。 只有在用戶位於 Windows 集區時,才能指定這個屬性。 如果未指定且在 Windows 集區上,則會使用預設選項建立使用者。

windowsUserConfiguration?: WindowsUserConfiguration

屬性值