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/cloud/openstack/os_flavor_facts.rb
Overview
Retrieve facts about available OpenStack instance flavors. By default, facts about ALL flavors are retrieved. Filters can be applied to get facts for only matching flavors. For example, you can filter on the amount of RAM available to the flavor, or the number of virtual CPUs available to the flavor, or both. When specifying multiple filters, ALL filters must match on a flavor before that flavor is returned as a fact.
Instance Method Summary collapse
-
#availability_zone ⇒ Object?
Ignored.
-
#ephemeral ⇒ :yes, ...
A string used for filtering flavors based on the amount of ephemeral storage.
-
#limit ⇒ Integer?
Limits the number of flavors returned.
-
#name ⇒ String?
A flavor name.
-
#ram ⇒ :yes, ...
A string used for filtering flavors based on the amount of RAM (in MB) desired.
-
#vcpus ⇒ :yes, ...
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, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#availability_zone ⇒ Object?
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_flavor_facts.rb', line 32 attribute :availability_zone |
#ephemeral ⇒ :yes, ...
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_flavor_facts.rb', line 28 attribute :ephemeral |
#limit ⇒ Integer?
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_flavor_facts.rb', line 24 attribute :limit |
#name ⇒ String?
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_flavor_facts.rb', line 12 attribute :name |
#ram ⇒ :yes, ...
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_flavor_facts.rb', line 16 attribute :ram |
#vcpus ⇒ :yes, ...
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_flavor_facts.rb', line 20 attribute :vcpus |