Class: Ansible::Ruby::Modules::Ce_vlan

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

Overview

Manages VLAN configurations on Huawei CloudEngine switches.

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

Constructor Details

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

Instance Method Details

#descriptionObject?

Returns Specify VLAN description, in the range from 1 to 80.

Returns:

  • (Object, nil)

    Specify VLAN description, in the range from 1 to 80.



22
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_vlan.rb', line 22

attribute :description

#nameString?

Returns Name of VLAN, in the range from 1 to 31.

Returns:

  • (String, nil)

    Name of VLAN, in the range from 1 to 31.



18
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_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.



25
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_vlan.rb', line 25

attribute :state

#vlan_idObject?

Returns Single VLAN ID, in the range from 1 to 4094.

Returns:

  • (Object, nil)

    Single VLAN ID, in the range from 1 to 4094.



12
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_vlan.rb', line 12

attribute :vlan_id

#vlan_rangeObject?

Returns Range of VLANs such as C(2-10) or C(2,5,10-15), etc.

Returns:

  • (Object, nil)

    Range of VLANs such as C(2-10) or C(2,5,10-15), etc.



15
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_vlan.rb', line 15

attribute :vlan_range