Class: Ansible::Ruby::Modules::Os_nova_flavor
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Os_nova_flavor
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/openstack/os_nova_flavor.rb
Overview
Add or remove flavors from OpenStack.
Instance Method Summary collapse
-
#availability_zone ⇒ Object?
Ignored.
-
#disk ⇒ Integer?
Size of local disk, in GB.
-
#ephemeral ⇒ Integer?
Ephemeral space size, in GB.
-
#extra_specs ⇒ Hash?
Metadata dictionary.
-
#flavorid ⇒ String?
ID for the flavor.
-
#is_public ⇒ :yes, ...
Make flavor accessible to the public.
-
#name ⇒ String
Flavor name.
-
#ram ⇒ Integer?
Amount of memory, in MB.
-
#rxtx_factor ⇒ Float?
RX/TX factor.
-
#state ⇒ :present, ...
Indicate desired state of the resource.
-
#swap ⇒ Integer?
Swap space size, in MB.
-
#vcpus ⇒ Integer?
Number of virtual CPUs.
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
#availability_zone ⇒ Object?
Returns Ignored. Present for backwards compatibility.
52 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_nova_flavor.rb', line 52 attribute :availability_zone |
#disk ⇒ Integer?
Returns Size of local disk, in GB.
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_nova_flavor.rb', line 28 attribute :disk |
#ephemeral ⇒ Integer?
Returns Ephemeral space size, in GB.
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_nova_flavor.rb', line 32 attribute :ephemeral |
#extra_specs ⇒ Hash?
Returns Metadata dictionary.
55 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_nova_flavor.rb', line 55 attribute :extra_specs |
#flavorid ⇒ String?
Returns ID for the flavor. This is optional as a unique UUID will be assigned if a value is not specified.
48 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_nova_flavor.rb', line 48 attribute :flavorid |
#is_public ⇒ :yes, ...
Returns Make flavor accessible to the public.
44 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_nova_flavor.rb', line 44 attribute :is_public |
#name ⇒ String
Returns Flavor name.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_nova_flavor.rb', line 16 attribute :name |
#ram ⇒ Integer?
Returns Amount of memory, in MB.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_nova_flavor.rb', line 20 attribute :ram |
#rxtx_factor ⇒ Float?
Returns RX/TX factor.
40 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_nova_flavor.rb', line 40 attribute :rxtx_factor |
#state ⇒ :present, ...
Returns Indicate desired state of the resource. When I(state) is ‘present’, then I(ram), I(vcpus), and I(disk) are all required. There are no default values for those parameters.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_nova_flavor.rb', line 12 attribute :state |
#swap ⇒ Integer?
Returns Swap space size, in MB.
36 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_nova_flavor.rb', line 36 attribute :swap |
#vcpus ⇒ Integer?
Returns Number of virtual CPUs.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_nova_flavor.rb', line 24 attribute :vcpus |