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

Inherits:
Base show all
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

Methods inherited from Base

#ansible_name, #to_h

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_zoneObject?

Returns Ignored. Present for backwards compatibility.

Returns:

  • (Object, nil)

    Ignored. Present for backwards compatibility



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

attribute :availability_zone

#descriptionString?

Returns Long description of the purpose of the security group.

Returns:

  • (String, nil)

    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

#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.



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

attribute :name

#projectString?

Returns Unique name or ID of the project.

Returns:

  • (String, nil)

    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.

Returns:

  • (:present, :absent, nil)

    Should the resource be present or absent.



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

attribute :state