Class: Ansible::Ruby::Modules::Seport

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/system/seport.rb

Overview

Manages SELinux network port type definitions.

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

#portsArray<String>, String

Returns Ports or port ranges, separated by a comma.

Returns:

  • (Array<String>, String)

    Ports or port ranges, separated by a comma



11
# File 'lib/ansible/ruby/modules/generated/extras/system/seport.rb', line 11

attribute :ports

#proto:tcp, :udp

Returns Protocol for the specified port.

Returns:

  • (:tcp, :udp)

    Protocol for the specified port.



15
# File 'lib/ansible/ruby/modules/generated/extras/system/seport.rb', line 15

attribute :proto

#reloadBoolean?

Returns Reload SELinux policy after commit.

Returns:

  • (Boolean, nil)

    Reload SELinux policy after commit.



27
# File 'lib/ansible/ruby/modules/generated/extras/system/seport.rb', line 27

attribute :reload

#setypeString

Returns SELinux type for the specified port.

Returns:

  • (String)

    SELinux type for the specified port.



19
# File 'lib/ansible/ruby/modules/generated/extras/system/seport.rb', line 19

attribute :setype

#state:present, :absent

Returns Desired boolean value.

Returns:

  • (:present, :absent)

    Desired boolean value.



23
# File 'lib/ansible/ruby/modules/generated/extras/system/seport.rb', line 23

attribute :state