Class: Ansible::Ruby::Modules::Ce_netstream_template

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

Overview

Manages NetStream template configuration 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

#collect_counter:bytes, ...

Returns Configure the number of packets and bytes that are included in the flexible flow statistics sent to NSC.

Returns:

  • (:bytes, :packets, nil)

    Configure the number of packets and bytes that are included in the flexible flow statistics sent to NSC.



27
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_netstream_template.rb', line 27

attribute :collect_counter

#collect_interface:input, ...

Returns Configure the input or output interface that are included in the flexible flow statistics sent to NSC.

Returns:

  • (:input, :output, nil)

    Configure the input or output interface that are included in the flexible flow statistics sent to NSC.



31
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_netstream_template.rb', line 31

attribute :collect_interface

#descriptionObject?

Returns Configure the description of netstream record. The value is a string of 1 to 80 case-insensitive characters.

Returns:

  • (Object, nil)

    Configure the description of netstream record. The value is a string of 1 to 80 case-insensitive characters.



35
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_netstream_template.rb', line 35

attribute :description

#match:"destination-address", ...

Returns Configure flexible flow statistics template keywords.

Returns:

  • (:"destination-address", :"destination-port", :tos, :protocol, :"source-address", :"source-port", nil)

    Configure flexible flow statistics template keywords.



23
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_netstream_template.rb', line 23

attribute :match

#record_nameObject?

Returns Configure the name of netstream record. The value is a string of 1 to 32 case-insensitive characters.

Returns:

  • (Object, nil)

    Configure the name of netstream record. The value is a string of 1 to 32 case-insensitive characters.



20
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_netstream_template.rb', line 20

attribute :record_name

#state:present, ...

Returns Specify desired state of the resource.

Returns:

  • (:present, :absent, nil)

    Specify desired state of the resource.



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

attribute :state

#type:ip, :vxlan

Returns Configure the type of netstream record.

Returns:

  • (:ip, :vxlan)

    Configure the type of netstream record.



16
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_netstream_template.rb', line 16

attribute :type