Class: Ansible::Ruby::Modules::Junos_scp
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Junos_scp
- Defined in:
- lib/ansible/ruby/modules/generated/network/junos/junos_scp.rb
Overview
This module transfers files via SCP from or to remote devices running Junos.
Instance Method Summary collapse
-
#dest ⇒ String?
The C(dest) argument specifies the path in which to receive the files.
-
#recursive ⇒ :yes, ...
The C(recursive) argument enables recursive transfer of files and directories.
-
#remote_src ⇒ :yes, ...
The C(remote_src) argument enables the download of files (I(scp get)) from the remote device.
-
#src ⇒ String
The C(src) argument takes a single path, or a list of paths to be transfered.
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
#dest ⇒ String?
Returns The C(dest) argument specifies the path in which to receive the files.
16 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_scp.rb', line 16 attribute :dest |
#recursive ⇒ :yes, ...
Returns The C(recursive) argument enables recursive transfer of files and directories.
20 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_scp.rb', line 20 attribute :recursive |
#remote_src ⇒ :yes, ...
Returns The C(remote_src) argument enables the download of files (I(scp get)) from the remote device. The default behavior is to upload files (I(scp put)) to the remote device.
24 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_scp.rb', line 24 attribute :remote_src |
#src ⇒ String
Returns The C(src) argument takes a single path, or a list of paths to be transfered. The argument C(recursive) must be C(true) to transfer directories.
12 |
# File 'lib/ansible/ruby/modules/generated/network/junos/junos_scp.rb', line 12 attribute :src |