Class: Ansible::Ruby::Modules::Win_pagefile
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Win_pagefile
- Defined in:
- lib/ansible/ruby/modules/generated/windows/win_pagefile.rb
Overview
Query current pagefile configuration. Enable/Disable AutomaticManagedPagefile. Create new or override pagefile configuration.
Instance Method Summary collapse
-
#automatic ⇒ Symbol?
Configures AutomaticManagedPagefile for the entire system.
-
#drive ⇒ String?
The drive of the pagefile.
-
#initial_size ⇒ Integer?
The initial size of the pagefile in megabytes.
-
#maximum_size ⇒ Integer?
The maximum size of the pagefile in megabytes.
-
#override ⇒ :yes, ...
Override the current pagefile on the drive.
-
#remove_all ⇒ :yes, ...
Remove all pagefiles in the system, not including automatic managed.
-
#state ⇒ :absent, ...
State of the pagefile.
-
#system_managed ⇒ :yes, ...
Configures current pagefile to be managed by the system.
-
#test_path ⇒ :yes, ...
Use Test-Path on the drive to make sure the drive is accessible before creating the pagefile.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#automatic ⇒ Symbol?
Returns Configures AutomaticManagedPagefile for the entire system.
34 |
# File 'lib/ansible/ruby/modules/generated/windows/win_pagefile.rb', line 34 attribute :automatic |
#drive ⇒ String?
Returns The drive of the pagefile.
14 |
# File 'lib/ansible/ruby/modules/generated/windows/win_pagefile.rb', line 14 attribute :drive |
#initial_size ⇒ Integer?
Returns The initial size of the pagefile in megabytes.
18 |
# File 'lib/ansible/ruby/modules/generated/windows/win_pagefile.rb', line 18 attribute :initial_size |
#maximum_size ⇒ Integer?
Returns The maximum size of the pagefile in megabytes.
22 |
# File 'lib/ansible/ruby/modules/generated/windows/win_pagefile.rb', line 22 attribute :maximum_size |
#override ⇒ :yes, ...
Returns Override the current pagefile on the drive.
26 |
# File 'lib/ansible/ruby/modules/generated/windows/win_pagefile.rb', line 26 attribute :override |
#remove_all ⇒ :yes, ...
Returns Remove all pagefiles in the system, not including automatic managed.
38 |
# File 'lib/ansible/ruby/modules/generated/windows/win_pagefile.rb', line 38 attribute :remove_all |
#state ⇒ :absent, ...
Returns State of the pagefile.
46 |
# File 'lib/ansible/ruby/modules/generated/windows/win_pagefile.rb', line 46 attribute :state |
#system_managed ⇒ :yes, ...
Returns Configures current pagefile to be managed by the system.
30 |
# File 'lib/ansible/ruby/modules/generated/windows/win_pagefile.rb', line 30 attribute :system_managed |
#test_path ⇒ :yes, ...
Returns Use Test-Path on the drive to make sure the drive is accessible before creating the pagefile.
42 |
# File 'lib/ansible/ruby/modules/generated/windows/win_pagefile.rb', line 42 attribute :test_path |