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

AutoUserSpecification Class

Specifies the parameters for the auto user that runs a task on the Batch service.

Constructor

AutoUserSpecification(*, scope: str | _models.AutoUserScope | None = None, elevation_level: str | _models.ElevationLevel | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
scope

The default value is Pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks, or if certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by start tasks. Known values are: "Task" and "Pool".

elevation_level

The default value is nonAdmin. Known values are: "NonAdmin" and "Admin".

Variables

Name Description
scope

The default value is Pool. If the pool is running Windows a value of Task should be specified if stricter isolation between tasks is required. For example, if the task mutates the registry in a way which could impact other tasks, or if certificates have been specified on the pool which should not be accessible by normal tasks but should be accessible by start tasks. Known values are: "Task" and "Pool".

elevation_level

The default value is nonAdmin. Known values are: "NonAdmin" and "Admin".