AutoUserSpecification interface

指定執行 Azure Batch 工作的自動用戶選項。

屬性

elevationLevel

自動使用者的提高許可權層級。 預設值為 nonAdmin。

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

scope

自動用戶的範圍。 預設值為集區。 如果集區正在執行 Windows,則當需要更嚴格的工作隔離時,應該指定 Task 的值。 例如,如果工作以可能影響其他工作的方式改變登錄。

可能的值:“task”、“pool”

屬性詳細資料

elevationLevel

自動使用者的提高許可權層級。 預設值為 nonAdmin。

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

elevationLevel?: string

屬性值

string

scope

自動用戶的範圍。 預設值為集區。 如果集區正在執行 Windows,則當需要更嚴格的工作隔離時,應該指定 Task 的值。 例如,如果工作以可能影響其他工作的方式改變登錄。

可能的值:“task”、“pool”

scope?: string

屬性值

string