Class: Ansible::Ruby::Modules::Ce_file_copy
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Ce_file_copy
- Defined in:
- lib/ansible/ruby/modules/generated/network/cloudengine/ce_file_copy.rb
Overview
Copy a file to a remote cloudengine device over SCP on HUAWEI CloudEngine switches.
Instance Method Summary collapse
-
#file_system ⇒ String?
The remote file system of the device.
-
#local_file ⇒ Object
Path to local file.
-
#remote_file ⇒ Object?
Remote file path of the copy.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#file_system ⇒ String?
Returns The remote file system of the device. If omitted, devices that support a I(file_system) parameter will use their default values. File system indicates the storage medium and can be set to as follows, 1) C(flash) is root directory of the flash memory on the master MPU. 2) C(slave#flash) is root directory of the flash memory on the slave MPU. If no slave MPU exists, this drive is unavailable. 3) C(chassis ID/slot number#flash) is root directory of the flash memory on a device in a stack. For example, C(1/5#flash) indicates the flash memory whose chassis ID is 1 and slot number is 5.
19 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_file_copy.rb', line 19 attribute :file_system |
#local_file ⇒ Object
Returns Path to local file. Local directory must exist. The maximum length of I(local_file) is C(4096).
12 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_file_copy.rb', line 12 attribute :local_file |
#remote_file ⇒ Object?
Returns Remote file path of the copy. Remote directories must exist. If omitted, the name of the local file will be used. The maximum length of I(remote_file) is C(4096).
16 |
# File 'lib/ansible/ruby/modules/generated/network/cloudengine/ce_file_copy.rb', line 16 attribute :remote_file |