Class: Ansible::Ruby::Modules::Nxos_vlan

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

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, #to_h, validates

Constructor Details

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

Instance Method Details

#admin_state:up, ...

Returns Manage the vlan admin state of the VLAN equivalent to shut/no shut in vlan config mode.

Returns:

  • (:up, :down, nil)

    Manage the vlan admin state of the VLAN equivalent to shut/no shut in vlan config mode



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

attribute :admin_state

#nameString?

Returns name of VLAN.

Returns:

  • (String, nil)

    name of VLAN



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

attribute :name

#state:present, ...

Returns Manage the state of the resource.

Returns:

  • (:present, :absent, nil)

    Manage the state of the resource



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

attribute :state

#vlan_idString?

Returns single vlan id.

Returns:

  • (String, nil)

    single vlan id



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

attribute :vlan_id

#vlan_rangeArray<String>, ...

Returns range of VLANs such as 2-10 or 2,5,10-15, etc.

Returns:

  • (Array<String>, String, nil)

    range of VLANs such as 2-10 or 2,5,10-15, etc.



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

attribute :vlan_range

#vlan_state:active, ...

Returns Manage the vlan operational state of the VLAN (equivalent to state | suspend command.

Returns:

  • (:active, :suspend, nil)

    Manage the vlan operational state of the VLAN (equivalent to state | suspend command



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

attribute :vlan_state