Class: Ansible::Ruby::Modules::Vmware_resource_pool

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/vmware/vmware_resource_pool.rb

Overview

This module can be used to add/remove a resource pool to/from vCenter

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

#clusterString

Returns Name of the cluster to add the host.

Returns:

  • (String)

    Name of the cluster to add the host.



16
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_resource_pool.rb', line 16

attribute :cluster

#cpu_expandable_reservationsBoolean?

Returns In a resource pool with an expandable reservation, the reservation on a resource pool can grow beyond the specified value.

Returns:

  • (Boolean, nil)

    In a resource pool with an expandable reservation, the reservation on a resource pool can grow beyond the specified value.



24
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_resource_pool.rb', line 24

attribute :cpu_expandable_reservations

#cpu_limitInteger?

Returns The utilization of a virtual machine/resource pool will not exceed this limit, even if there are available resources.,The default value -1 indicates no limit.

Returns:

  • (Integer, nil)

    The utilization of a virtual machine/resource pool will not exceed this limit, even if there are available resources.,The default value -1 indicates no limit.



32
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_resource_pool.rb', line 32

attribute :cpu_limit

#cpu_reservationInteger?

Returns Amount of resource that is guaranteed available to the virtual machine or resource pool.

Returns:

  • (Integer, nil)

    Amount of resource that is guaranteed available to the virtual machine or resource pool.



28
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_resource_pool.rb', line 28

attribute :cpu_reservation

#cpu_shares:high, ...

Returns Memory shares are used in case of resource contention.

Returns:

  • (:high, :custom, :low, :normal, nil)

    Memory shares are used in case of resource contention.



36
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_resource_pool.rb', line 36

attribute :cpu_shares

#datacenterString

Returns Name of the datacenter to add the host.

Returns:

  • (String)

    Name of the datacenter to add the host.



12
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_resource_pool.rb', line 12

attribute :datacenter

#mem_expandable_reservationsBoolean?

Returns In a resource pool with an expandable reservation, the reservation on a resource pool can grow beyond the specified value.

Returns:

  • (Boolean, nil)

    In a resource pool with an expandable reservation, the reservation on a resource pool can grow beyond the specified value.



40
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_resource_pool.rb', line 40

attribute :mem_expandable_reservations

#mem_limitInteger?

Returns The utilization of a virtual machine/resource pool will not exceed this limit, even if there are available resources.,The default value -1 indicates no limit.

Returns:

  • (Integer, nil)

    The utilization of a virtual machine/resource pool will not exceed this limit, even if there are available resources.,The default value -1 indicates no limit.



48
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_resource_pool.rb', line 48

attribute :mem_limit

#mem_reservationInteger?

Returns Amount of resource that is guaranteed available to the virtual machine or resource pool.

Returns:

  • (Integer, nil)

    Amount of resource that is guaranteed available to the virtual machine or resource pool.



44
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_resource_pool.rb', line 44

attribute :mem_reservation

#mem_shares:high, ...

Returns Memory shares are used in case of resource contention.

Returns:

  • (:high, :custom, :low, :normal, nil)

    Memory shares are used in case of resource contention.



52
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_resource_pool.rb', line 52

attribute :mem_shares

#resource_poolString

Returns Resource pool name to manage.

Returns:

  • (String)

    Resource pool name to manage.



20
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_resource_pool.rb', line 20

attribute :resource_pool

#state:present, ...

Returns Add or remove the resource pool.

Returns:

  • (:present, :absent, nil)

    Add or remove the resource pool



56
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_resource_pool.rb', line 56

attribute :state