Class: Serverspec::Type::IisAppPool

Inherits:
Base
  • Object
show all
Defined in:
lib/serverspec/type/iis_app_pool.rb

Instance Attribute Summary

Attributes inherited from Base

#name

Instance Method Summary collapse

Methods inherited from Base

#initialize, #inspect, #to_ary

Constructor Details

This class inherits a constructor from Serverspec::Type::Base

Instance Method Details

#exists?Boolean


3
4
5
# File 'lib/serverspec/type/iis_app_pool.rb', line 3

def exists?()
  @runner.check_iis_app_pool_exists(@name)
end

#has_32bit_enabled?Boolean


11
12
13
# File 'lib/serverspec/type/iis_app_pool.rb', line 11

def has_32bit_enabled?()
  @runner.check_iis_app_pool_has_32bit_enabled(@name)
end

#has_dotnet_version?(dotnet) ⇒ Boolean


7
8
9
# File 'lib/serverspec/type/iis_app_pool.rb', line 7

def has_dotnet_version?(dotnet)
  @runner.check_iis_app_pool_has_dotnet_version(@name, dotnet)
end

#has_identity_type?(identity_type) ⇒ Boolean


19
20
21
# File 'lib/serverspec/type/iis_app_pool.rb', line 19

def has_identity_type?(identity_type)
  @runner.check_iis_app_pool_has_identity_type(@name, identity_type)
end

#has_idle_timeout?(minutes) ⇒ Boolean


15
16
17
# File 'lib/serverspec/type/iis_app_pool.rb', line 15

def has_idle_timeout?(minutes)
  @runner.check_iis_app_pool_has_idle_timeout(@name, minutes)
end

#has_managed_pipeline_mode?(mode) ⇒ Boolean


35
36
37
# File 'lib/serverspec/type/iis_app_pool.rb', line 35

def has_managed_pipeline_mode?(mode)
  @runner.check_iis_app_pool_has_managed_pipeline_mode(@name, mode)
end

#has_periodic_restart?(minutes) ⇒ Boolean


23
24
25
# File 'lib/serverspec/type/iis_app_pool.rb', line 23

def has_periodic_restart?(minutes)
  @runner.check_iis_app_pool_has_periodic_restart(@name, minutes)
end

#has_user_profile_enabled?Boolean


27
28
29
# File 'lib/serverspec/type/iis_app_pool.rb', line 27

def ()
  @runner.(@name)
end

#has_username?(username) ⇒ Boolean


31
32
33
# File 'lib/serverspec/type/iis_app_pool.rb', line 31

def has_username?(username)
  @runner.check_iis_app_pool_has_username(@name, username)
end

#to_sObject


39
40
41
# File 'lib/serverspec/type/iis_app_pool.rb', line 39

def to_s
  %Q[IIS Application Pool "#{@name}"]
end