Class: Ansible::Ruby::Modules::Na_elementsw_vlan

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

Overview

Create, delete, modify 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

#address_blocksArray<Hash>, ...

Returns List of address blocks for the VLAN,Each address block contains the starting IP address and size for the block,Required for create.

Returns:

  • (Array<Hash>, Hash, nil)

    List of address blocks for the VLAN,Each address block contains the starting IP address and size for the block,Required for create



28
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_elementsw_vlan.rb', line 28

attribute :address_blocks

#attributesObject?

Returns Dictionary of attributes with name and value for each attribute.

Returns:

  • (Object, nil)

    Dictionary of attributes with name and value for each attribute



43
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_elementsw_vlan.rb', line 43

attribute :attributes

#gatewayObject?

Returns Gateway for the VLAN.

Returns:

  • (Object, nil)

    Gateway for the VLAN



36
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_elementsw_vlan.rb', line 36

attribute :gateway

#nameString?

Returns User defined name for the new VLAN,Name of the vlan is unique,Required for create.

Returns:

  • (String, nil)

    User defined name for the new VLAN,Name of the vlan is unique,Required for create



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

attribute :name

#namespaceSymbol?

Returns Enable or disable namespaces.

Returns:

  • (Symbol, nil)

    Enable or disable namespaces



39
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_elementsw_vlan.rb', line 39

attribute :namespace

#netmaskString?

Returns Netmask for the VLAN,Required for create.

Returns:

  • (String, nil)

    Netmask for the VLAN,Required for create



32
# File 'lib/ansible/ruby/modules/generated/storage/netapp/na_elementsw_vlan.rb', line 32

attribute :netmask

#state:present, ...

Returns Whether the specified vlan should exist or not.

Returns:

  • (:present, :absent, nil)

    Whether the specified vlan should exist or not.



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

attribute :state

#svipString?

Returns Storage virtual IP which is unique,Required for create.

Returns:

  • (String, nil)

    Storage virtual IP which is unique,Required for create



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

attribute :svip

#vlan_tagInteger

Returns Virtual Network Tag.

Returns:

  • (Integer)

    Virtual Network Tag



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

attribute :vlan_tag