Class: Ansible::Ruby::Modules::Na_ontap_net_vlan

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_net_vlan.rb

Overview

Create or Delete a network VLAN

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

#nodeString

Returns Node name of VLAN interface.

Returns:

  • (String)

    Node name of VLAN interface.



24
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_net_vlan.rb', line 24

attribute :node

#parent_interfaceString

Returns The interface that hosts the VLAN interface.

Returns:

  • (String)

    The interface that hosts the VLAN interface.



16
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_net_vlan.rb', line 16

attribute :parent_interface

#state:present, ...

Returns Whether the specified network VLAN should exist or not.

Returns:

  • (:present, :absent, nil)

    Whether the specified network VLAN should exist or not



12
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_net_vlan.rb', line 12

attribute :state

#vlanidString

Returns The VLAN id. Ranges from 1 to 4094.

Returns:

  • (String)

    The VLAN id. Ranges from 1 to 4094.



20
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_ontap_net_vlan.rb', line 20

attribute :vlanid