Class: Ansible::Ruby::Modules::Os_security_group
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Os_security_group
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/openstack/os_security_group.rb
Overview
Add or Remove security groups from an OpenStack cloud.
Instance Method Summary collapse
-
#availability_zone ⇒ Object?
Ignored.
-
#description ⇒ String?
Long description of the purpose of the security group.
-
#name ⇒ String
Name that has to be given to the security group.
-
#project ⇒ String?
Unique name or ID of the project.
-
#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, 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.
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_security_group.rb', line 28 attribute :availability_zone |
#description ⇒ String?
Returns Long description of the purpose of the security group.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_security_group.rb', line 16 attribute :description |
#name ⇒ String
Returns Name that has to be given to the security group. This module requires that security group names be unique.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_security_group.rb', line 12 attribute :name |
#project ⇒ String?
Returns Unique name or ID of the project.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_security_group.rb', line 24 attribute :project |
#state ⇒ :present, ...
Returns Should the resource be present or absent.
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/openstack/os_security_group.rb', line 20 attribute :state |