Sha256: bb9abca8d241dfa2066d9f73b7f8c7a1e06e69ddd16423ee120f35621c97e0ce

Contents?: true

Size: 1.43 KB

Versions: 2

Compression:

Stored size: 1.43 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
    #
    # Properties used to create a user account on a Windows node.
    #
    #
    class WindowsUserConfiguration

      include MsRestAzure

      # @return [LoginMode] Login mode for user. Specifies login mode for the
      # user. The default value for VirtualMachineConfiguration pools is
      # interactive mode and for CloudServiceConfiguration pools is batch mode.
      # Possible values include: 'Batch', 'Interactive'
      attr_accessor :login_mode


      #
      # Mapper for WindowsUserConfiguration class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'WindowsUserConfiguration',
          type: {
            name: 'Composite',
            class_name: 'WindowsUserConfiguration',
            model_properties: {
              login_mode: {
                client_side_validation: true,
                required: false,
                serialized_name: 'loginMode',
                type: {
                  name: 'Enum',
                  module: 'LoginMode'
                }
              }
            }
          }
        }
      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/windows_user_configuration.rb
azure_mgmt_batch-0.18.0 lib/2018-12-01/generated/azure_mgmt_batch/models/windows_user_configuration.rb