Class: Ansible::Ruby::Modules::Os_flavor_facts
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Os_flavor_facts
- Defined in:
- lib/ansible/ruby/modules/generated/extras/cloud/openstack/os_flavor_facts.rb
Instance Method Summary collapse
-
#limit ⇒ Integer?
Limits the number of flavors returned.
-
#name ⇒ String?
A flavor name.
-
#ram ⇒ Boolean?
A string used for filtering flavors based on the amount of RAM (in MB) desired.
-
#vcpus ⇒ Boolean?
A string used for filtering flavors based on the number of virtual CPUs desired.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#limit ⇒ Integer?
Returns Limits the number of flavors returned. All matching flavors are returned by default.
22 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/openstack/os_flavor_facts.rb', line 22 attribute :limit |
#name ⇒ String?
Returns A flavor name. Cannot be used with I(ram) or I(vcpus).
10 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/openstack/os_flavor_facts.rb', line 10 attribute :name |
#ram ⇒ Boolean?
Returns A string used for filtering flavors based on the amount of RAM (in MB) desired. This string accepts the following special values: ‘MIN’ (return flavors with the minimum amount of RAM), and ‘MAX’ (return flavors with the maximum amount of RAM).,A specific amount of RAM may also be specified. Any flavors with this exact amount of RAM will be returned.,A range of acceptable RAM may be given using a special syntax. Simply prefix the amount of RAM with one of these acceptable range values: ‘<’, ‘>’, ‘<=’, ‘>=’. These values represent less than, greater than, less than or equal to, and greater than or equal to, respectively.
14 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/openstack/os_flavor_facts.rb', line 14 attribute :ram |
#vcpus ⇒ Boolean?
Returns A string used for filtering flavors based on the number of virtual CPUs desired. Format is the same as the I(ram) parameter.
18 |
# File 'lib/ansible/ruby/modules/generated/extras/cloud/openstack/os_flavor_facts.rb', line 18 attribute :vcpus |