Class: Ansible::Ruby::Modules::Net_get

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

Overview

This module provides functionality to copy file from network device to ansible controller.

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 Specifies the destination file. The path to the destination file can either be the full path on the Ansible control host or a relative path from the playbook or role root directory.

Returns:

  • (String, nil)

    Specifies the destination file. The path to the destination file can either be the full path on the Ansible control host or a relative path from the playbook or role root directory.



20
# File 'lib/ansible/ruby/modules/generated/network/files/net_get.rb', line 20

attribute :dest

#protocol:scp, ...

Returns Protocol used to transfer file.

Returns:

  • (:scp, :sftp, nil)

    Protocol used to transfer file.



16
# File 'lib/ansible/ruby/modules/generated/network/files/net_get.rb', line 16

attribute :protocol

#srcString

Returns Specifies the source file. The path to the source file can either be the full path on the network device or a relative path as per path supported by destination network device.

Returns:

  • (String)

    Specifies the source file. The path to the source file can either be the full path on the network device or a relative path as per path supported by destination network device.



12
# File 'lib/ansible/ruby/modules/generated/network/files/net_get.rb', line 12

attribute :src