Class: Ansible::Ruby::Modules::Nxos_acl_interface

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/network/nxos/nxos_acl_interface.rb

Overview

Manages applying ACLs to interfaces.

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

#direction:ingress, :egress

Returns Direction ACL to be applied in on the interface.

Returns:

  • (:ingress, :egress)

    Direction ACL to be applied in on the interface.



20
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_acl_interface.rb', line 20

attribute :direction

#interfaceString

Returns Full name of interface, e.g. I(Ethernet1/1).

Returns:

  • (String)

    Full name of interface, e.g. I(Ethernet1/1).



16
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_acl_interface.rb', line 16

attribute :interface

#nameString

Returns Case sensitive name of the access list (ACL).

Returns:

  • (String)

    Case sensitive name of the access list (ACL).



12
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_acl_interface.rb', line 12

attribute :name

#state:present, ...

Returns Specify desired state of the resource.

Returns:

  • (:present, :absent, nil)

    Specify desired state of the resource.



24
# File 'lib/ansible/ruby/modules/generated/network/nxos/nxos_acl_interface.rb', line 24

attribute :state