Class: Ansible::Ruby::Modules::Junos_scp

Inherits:
Base show all
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

Methods inherited from Base

#ansible_name, #to_h

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

#destString?

Returns The C(dest) argument specifies the path in which to receive the files.

Returns:

  • (String, nil)

    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.

Returns:

  • (:yes, :no, nil)

    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.

Returns:

  • (:yes, :no, nil)

    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

#srcString

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.

Returns:

  • (String)

    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