Class: Ansible::Ruby::Modules::Os_server_group
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Os_server_group
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/openstack/os_server_group.rb
Overview
Add or remove server groups from OpenStack.
Instance Method Summary collapse
-
#availability_zone ⇒ Object?
Ignored.
-
#name ⇒ String
Server group name.
-
#policies ⇒ Array<String>, ...
A list of one or more policy names to associate with the server group.
-
#state ⇒ :present, ...
Indicate desired state of the resource.
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.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_server_group.rb', line 24 attribute :availability_zone |
#name ⇒ String
Returns Server group name.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_server_group.rb', line 16 attribute :name |
#policies ⇒ Array<String>, ...
Returns A list of one or more policy names to associate with the server group. The list must contain at least one policy name. The current valid policy names are anti-affinity, affinity, soft-anti-affinity and soft-affinity.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_server_group.rb', line 20 attribute :policies |
#state ⇒ :present, ...
Returns Indicate desired state of the resource. When I(state) is ‘present’, then I(policies) is required.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_server_group.rb', line 12 attribute :state |