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/core/cloud/openstack/os_nova_flavor.rb
Instance Method Summary collapse
-
#disk ⇒ String?
Size of local disk, in GB.
-
#ephemeral ⇒ Integer?
Ephemeral space size, in GB.
-
#flavorid ⇒ String?
ID for the flavor.
-
#is_public ⇒ Boolean?
Make flavor accessible to the public.
-
#name ⇒ String
Flavor name.
-
#ram ⇒ String?
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 ⇒ String?
Number of virtual CPUs.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_options, attribute, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#disk ⇒ String?
Returns Size of local disk, in GB.
26 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_nova_flavor.rb', line 26 attribute :disk |
#ephemeral ⇒ Integer?
Returns Ephemeral space size, in GB.
30 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_nova_flavor.rb', line 30 attribute :ephemeral |
#flavorid ⇒ String?
Returns ID for the flavor. This is optional as a unique UUID will be assigned if a value is not specified.
46 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_nova_flavor.rb', line 46 attribute :flavorid |
#is_public ⇒ Boolean?
Returns Make flavor accessible to the public.
42 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_nova_flavor.rb', line 42 attribute :is_public |
#name ⇒ String
Returns Flavor name.
14 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_nova_flavor.rb', line 14 attribute :name |
#ram ⇒ String?
Returns Amount of memory, in MB.
18 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_nova_flavor.rb', line 18 attribute :ram |
#rxtx_factor ⇒ Float?
Returns RX/TX factor.
38 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_nova_flavor.rb', line 38 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.
10 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_nova_flavor.rb', line 10 attribute :state |
#swap ⇒ Integer?
Returns Swap space size, in MB.
34 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_nova_flavor.rb', line 34 attribute :swap |
#vcpus ⇒ String?
Returns Number of virtual CPUs.
22 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_nova_flavor.rb', line 22 attribute :vcpus |