Class: Ansible::Ruby::Modules::Ce_rollback

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

Overview

This module offers the ability to set a configuration checkpoint file or rollback to a configuration checkpoint file 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

#action:rollback, ...

Returns The operation of configuration rollback.

Returns:

  • (:rollback, :clear, :set, :display, :commit)

    The operation of configuration rollback.



28
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_rollback.rb', line 28

attribute :action

#commit_idInteger?

Returns Specifies the label of the configuration rollback point to which system configurations are expected to roll back. The value is an integer that the system generates automatically.

Returns:

  • (Integer, nil)

    Specifies the label of the configuration rollback point to which system configurations are expected to roll back. The value is an integer that the system generates automatically.



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

attribute :commit_id

#filenameObject?

Returns Specifies a configuration file for configuration rollback. The value is a string of 5 to 64 case-sensitive characters in the format of *.zip, *.cfg, or *.dat, spaces not supported.

Returns:

  • (Object, nil)

    Specifies a configuration file for configuration rollback. The value is a string of 5 to 64 case-sensitive characters in the format of *.zip, *.cfg, or *.dat, spaces not supported.



19
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_rollback.rb', line 19

attribute :filename

#labelObject?

Returns Specifies a user label for a configuration rollback point. The value is a string of 1 to 256 case-sensitive ASCII characters, spaces not supported. The value must start with a letter and cannot be presented in a single hyphen (-).

Returns:

  • (Object, nil)

    Specifies a user label for a configuration rollback point. The value is a string of 1 to 256 case-sensitive ASCII characters, spaces not supported. The value must start with a letter and cannot be presented in a single hyphen (-).



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

attribute :label

#lastObject?

Returns Specifies the number of configuration rollback points. The value is an integer that ranges from 1 to 80.

Returns:

  • (Object, nil)

    Specifies the number of configuration rollback points. The value is an integer that ranges from 1 to 80.



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

attribute :last

#oldestObject?

Returns Specifies the number of configuration rollback points. The value is an integer that ranges from 1 to 80.

Returns:

  • (Object, nil)

    Specifies the number of configuration rollback points. The value is an integer that ranges from 1 to 80.



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

attribute :oldest