Sha256: c08e05b2fa5e5183eb2dcaac005cfe827edfd2b234fc0f34530fde3a1cb46a2b

Contents?: true

Size: 1.96 KB

Versions: 2

Compression:

Stored size: 1.96 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Batch::Mgmt::V2018_12_01
  module Models
    #
    # Specifies the parameters for the auto user that runs a task on the Batch
    # service.
    #
    #
    class AutoUserSpecification

      include MsRestAzure

      # @return [AutoUserScope] The scope for the auto user. The default value
      # is task. Possible values include: 'Task', 'Pool'
      attr_accessor :scope

      # @return [ElevationLevel] The elevation level of the auto user. nonAdmin
      # - 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'
      attr_accessor :elevation_level


      #
      # Mapper for AutoUserSpecification class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_batch-0.18.1 lib/2018-12-01/generated/azure_mgmt_batch/models/auto_user_specification.rb
azure_mgmt_batch-0.18.0 lib/2018-12-01/generated/azure_mgmt_batch/models/auto_user_specification.rb