Class: Ansible::Ruby::Modules::Ce_vlan
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ce_vlan
- Defined in:
- lib/ansible/ruby/modules/generated/network/cloudengine/ce_vlan.rb
Overview
Manages VLAN configurations on Huawei CloudEngine switches.
Instance Method Summary collapse
-
#description ⇒ Object?
Specify VLAN description, in the range from 1 to 80.
-
#name ⇒ String?
Name of VLAN, in the range from 1 to 31.
-
#state ⇒ :present, ...
Manage the state of the resource.
-
#vlan_id ⇒ Object?
Single VLAN ID, in the range from 1 to 4094.
-
#vlan_range ⇒ Object?
Range of VLANs such as C(2-10) or C(2,5,10-15), etc.
Methods inherited from Base
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
#description ⇒ Object?
Returns 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 |
#name ⇒ String?
Returns 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.
25 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_vlan.rb', line 25 attribute :state |
#vlan_id ⇒ Object?
Returns 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_range ⇒ Object?
Returns 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 |