Class: Ansible::Ruby::Modules::Os_nova_host_aggregate
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Os_nova_host_aggregate
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/openstack/os_nova_host_aggregate.rb
Overview
Create, update, or delete OpenStack host aggregates. If a aggregate with the supplied name already exists, it will be updated with the new name, new availability zone, new metadata and new list of hosts.
Instance Method Summary collapse
-
#availability_zone ⇒ Object?
Availability zone to create aggregate into.
-
#hosts ⇒ Array<String>, ...
List of hosts to set for an aggregate.
-
#metadata ⇒ Hash?
Metadata dict.
-
#name ⇒ String
Name of the aggregate.
-
#state ⇒ :present, ...
Should the resource be present or absent.
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?
Returns Availability zone to create aggregate into.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_nova_host_aggregate.rb', line 20 attribute :availability_zone |
#hosts ⇒ Array<String>, ...
Returns List of hosts to set for an aggregate.
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_nova_host_aggregate.rb', line 23 attribute :hosts |
#metadata ⇒ Hash?
Returns Metadata dict.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_nova_host_aggregate.rb', line 16 attribute :metadata |
#name ⇒ String
Returns Name of the aggregate.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_nova_host_aggregate.rb', line 12 attribute :name |
#state ⇒ :present, ...
Returns Should the resource be present or absent.
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_nova_host_aggregate.rb', line 27 attribute :state |