Sha256: 14873f585610bf28addf3ab06f64b0b4d00c9a0c6602e91affef3fe7cea9279b

Contents?: true

Size: 796 Bytes

Versions: 3

Compression:

Stored size: 796 Bytes

Contents

# Specifies security, performance, health, and reliability features of application pools.
class ProcessModel < IisObject

	Identity_type_map = [:system, :local_service, :network_service, :specific_user, :application_pool_identity]

	##
	# Specifies the logon type for the process identity.
	# - :batch indicates that the application pool identity should logon as a batch user.
	# - :service indicates that the application pool identity should logon as a service.

	prop :logon_type, :logonType, lambda {|value| value == :batch ? 0 : 1 }, lambda { |a| a == 0 ? :batch : :service }

	prop :identity_type, :identityType, lambda {|value| Identity_type_map.index(value)}, lambda { |a| Identity_type_map[a] }
	prop :user_name, :userName
	#prop :password
	prop :load_user_profile, :loadUserProfile

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
inetmgr-0.6.0 lib/inetmgr/iis_object/process_model.rb
inetmgr-0.5.0 lib/inetmgr/iis_object/process_model.rb
inetmgr-0.4.0 lib/inetmgr/iis_object/process_model.rb