Class: Ansible::Ruby::Modules::Nxos_ip_interface

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

Instance Method Summary collapse

Methods inherited from Base

#to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#addrString?

Returns IPv4 or IPv6 Address.

Returns:

  • (String, nil)

    IPv4 or IPv6 Address



14
# File 'lib/ansible/ruby/modules/generated/core/network/nxos/nxos_ip_interface.rb', line 14

attribute :addr

#interfaceString

Returns Full name of interface, i.e. Ethernet1/1, vlan10.

Returns:

  • (String)

    Full name of interface, i.e. Ethernet1/1, vlan10



10
# File 'lib/ansible/ruby/modules/generated/core/network/nxos/nxos_ip_interface.rb', line 10

attribute :interface

#maskString?

Returns Subnet mask for IPv4 or IPv6 Address in decimal format.

Returns:

  • (String, nil)

    Subnet mask for IPv4 or IPv6 Address in decimal format



18
# File 'lib/ansible/ruby/modules/generated/core/network/nxos/nxos_ip_interface.rb', line 18

attribute :mask

#state:present, ...

Returns Specify desired state of the resource.

Returns:

  • (:present, :absent, nil)

    Specify desired state of the resource



22
# File 'lib/ansible/ruby/modules/generated/core/network/nxos/nxos_ip_interface.rb', line 22

attribute :state