Class: Ansible::Ruby::Modules::Vmware_resource_pool
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Vmware_resource_pool
- 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
-
#cluster ⇒ String
Name of the cluster to add the host.
-
#cpu_expandable_reservations ⇒ Boolean?
In a resource pool with an expandable reservation, the reservation on a resource pool can grow beyond the specified value.
-
#cpu_limit ⇒ Integer?
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.
-
#cpu_reservation ⇒ Integer?
Amount of resource that is guaranteed available to the virtual machine or resource pool.
-
#cpu_shares ⇒ :high, ...
Memory shares are used in case of resource contention.
-
#datacenter ⇒ String
Name of the datacenter to add the host.
-
#mem_expandable_reservations ⇒ Boolean?
In a resource pool with an expandable reservation, the reservation on a resource pool can grow beyond the specified value.
-
#mem_limit ⇒ Integer?
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.
-
#mem_reservation ⇒ Integer?
Amount of resource that is guaranteed available to the virtual machine or resource pool.
-
#mem_shares ⇒ :high, ...
Memory shares are used in case of resource contention.
-
#resource_pool ⇒ String
Resource pool name to manage.
-
#state ⇒ :present, ...
Add or remove the resource pool.
Methods inherited from Base
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
#cluster ⇒ String
Returns 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_reservations ⇒ Boolean?
Returns 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_limit ⇒ Integer?
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.
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_resource_pool.rb', line 32 attribute :cpu_limit |
#cpu_reservation ⇒ Integer?
Returns 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.
36 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_resource_pool.rb', line 36 attribute :cpu_shares |
#datacenter ⇒ String
Returns 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_reservations ⇒ Boolean?
Returns 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_limit ⇒ Integer?
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.
48 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_resource_pool.rb', line 48 attribute :mem_limit |
#mem_reservation ⇒ Integer?
Returns 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.
52 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_resource_pool.rb', line 52 attribute :mem_shares |
#resource_pool ⇒ String
Returns 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.
56 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_resource_pool.rb', line 56 attribute :state |