Class: Ansible::Ruby::Modules::Ce_rollback
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ce_rollback
- 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
-
#action ⇒ :rollback, ...
The operation of configuration rollback.
-
#commit_id ⇒ Integer?
Specifies the label of the configuration rollback point to which system configurations are expected to roll back.
-
#filename ⇒ Object?
Specifies a configuration file for configuration rollback.
-
#label ⇒ Object?
Specifies a user label for a configuration rollback point.
-
#last ⇒ Object?
Specifies the number of configuration rollback points.
-
#oldest ⇒ Object?
Specifies the number of configuration rollback points.
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
#action ⇒ :rollback, ...
Returns The operation of configuration rollback.
28 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_rollback.rb', line 28 attribute :action |
#commit_id ⇒ Integer?
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.
12 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_rollback.rb', line 12 attribute :commit_id |
#filename ⇒ Object?
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.
19 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_rollback.rb', line 19 attribute :filename |
#label ⇒ Object?
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 (-).
16 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_rollback.rb', line 16 attribute :label |
#last ⇒ Object?
Returns 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 |
#oldest ⇒ Object?
Returns 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 |