Class: Ansible::Ruby::Modules::Os_security_group

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/core/cloud/openstack/os_security_group.rb

Overview

Add or Remove security groups from an OpenStack cloud.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

#descriptionString?

Returns Long description of the purpose of the security group.

Returns:

  • (String, nil)

    Long description of the purpose of the security group



15
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_security_group.rb', line 15

attribute :description

#nameString

Returns Name that has to be given to the security group. This module requires that security group names be unique.

Returns:

  • (String)

    Name that has to be given to the security group. This module requires that security group names be unique.



11
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_security_group.rb', line 11

attribute :name

#state:present, ...

Returns Should the resource be present or absent.

Returns:

  • (:present, :absent, nil)

    Should the resource be present or absent.



19
# File 'lib/ansible/ruby/modules/generated/core/cloud/openstack/os_security_group.rb', line 19

attribute :state