Class AutoUserSpecification


  • public class AutoUserSpecification
    extends Object
    Specifies the parameters for the auto user that runs a Task on the Batch service.
    • Constructor Detail

      • AutoUserSpecification

        public AutoUserSpecification()
    • Method Detail

      • scope

        public AutoUserScope scope()
        Get 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 StartTasks. Possible values include: 'task', 'pool'.
        Returns:
        the scope value
      • withScope

        public AutoUserSpecification withScope​(AutoUserScope scope)
        Set 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 StartTasks. Possible values include: 'task', 'pool'.
        Parameters:
        scope - the scope value to set
        Returns:
        the AutoUserSpecification object itself.
      • elevationLevel

        public ElevationLevel elevationLevel()
        Get the default value is nonAdmin. Possible values include: 'nonAdmin', 'admin'.
        Returns:
        the elevationLevel value
      • withElevationLevel

        public AutoUserSpecification withElevationLevel​(ElevationLevel elevationLevel)
        Set the default value is nonAdmin. Possible values include: 'nonAdmin', 'admin'.
        Parameters:
        elevationLevel - the elevationLevel value to set
        Returns:
        the AutoUserSpecification object itself.