Class: Ansible::Ruby::Modules::Win_pagefile

Inherits:
Base show all
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

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#automaticSymbol?

Returns Configures AutomaticManagedPagefile for the entire system.

Returns:

  • (Symbol, nil)

    Configures AutomaticManagedPagefile for the entire system.



34
# File 'lib/ansible/ruby/modules/generated/windows/win_pagefile.rb', line 34

attribute :automatic

#driveString?

Returns The drive of the pagefile.

Returns:

  • (String, nil)

    The drive of the pagefile.



14
# File 'lib/ansible/ruby/modules/generated/windows/win_pagefile.rb', line 14

attribute :drive

#initial_sizeInteger?

Returns The initial size of the pagefile in megabytes.

Returns:

  • (Integer, nil)

    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_sizeInteger?

Returns The maximum size of the pagefile in megabytes.

Returns:

  • (Integer, nil)

    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.

Returns:

  • (:yes, :no, nil)

    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.

Returns:

  • (:yes, :no, nil)

    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.

Returns:

  • (:absent, :present, :query, nil)

    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.

Returns:

  • (:yes, :no, nil)

    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.

Returns:

  • (:yes, :no, nil)

    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