class Azure::Batch::Mgmt::V2019_08_01::Models::AutoUserSpecification
Specifies the parameters for the auto user that runs a task on the Batch
service.
Attributes
@return [ElevationLevel] The elevation level of the auto user. The default value is nonAdmin. Possible values include: 'NonAdmin', 'Admin'
@return [AutoUserScope] The scope for the auto user. 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. Possible values include: 'Task', 'Pool'
Private Class Methods
Mapper for AutoUserSpecification
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-08-01/generated/azure_mgmt_batch/models/auto_user_specification.rb, line 35 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AutoUserSpecification', type: { name: 'Composite', class_name: 'AutoUserSpecification', model_properties: { scope: { client_side_validation: true, required: false, serialized_name: 'scope', type: { name: 'Enum', module: 'AutoUserScope' } }, elevation_level: { client_side_validation: true, required: false, serialized_name: 'elevationLevel', type: { name: 'Enum', module: 'ElevationLevel' } } } } } end