Class: Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserSpecification
- Inherits:
-
Object
- Object
- Azure::Batch::Mgmt::V2017_09_01::Models::AutoUserSpecification
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-09-01/generated/azure_mgmt_batch/models/auto_user_specification.rb
Overview
Specifies the parameters for the auto user that runs a task on the Batch service.
Instance Attribute Summary collapse
-
#elevation_level ⇒ ElevationLevel
-
The auto user is a standard user without elevated access.
-
-
#scope ⇒ AutoUserScope
that the task runs as the common auto user account which is created on every node in a pool.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AutoUserSpecification class as Ruby Hash.
Instance Attribute Details
#elevation_level ⇒ ElevationLevel
-
The auto user is a standard user without elevated access. admin - The
auto user is a user with elevated access and operates with full Administrator permissions. The default value is nonAdmin. Possible values include: ‘NonAdmin’, ‘Admin’
29 30 31 |
# File 'lib/2017-09-01/generated/azure_mgmt_batch/models/auto_user_specification.rb', line 29 def elevation_level @elevation_level end |
#scope ⇒ AutoUserScope
that the task runs as the common auto user account which is created on every node in a pool. task - specifies that the service should create a new user for the task. The default value is task. Possible values include: ‘Task’, ‘Pool’
22 23 24 |
# File 'lib/2017-09-01/generated/azure_mgmt_batch/models/auto_user_specification.rb', line 22 def scope @scope end |
Class Method Details
.mapper ⇒ Object
Mapper for AutoUserSpecification class as Ruby Hash. This will be used for serialization/deserialization.
36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 |
# File 'lib/2017-09-01/generated/azure_mgmt_batch/models/auto_user_specification.rb', line 36 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 |