Class: Ansible::Ruby::Modules::Nso_query

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

Overview

This module provides support for querying data from Cisco NSO using XPath.

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

#fieldsArray<String>, String

Returns List of fields to select from matching nodes.rn.

Returns:

  • (Array<String>, String)

    List of fields to select from matching nodes.rn



16
# File 'lib/ansible/ruby/modules/generated/network/nso/nso_query.rb', line 16

attribute :fields

#xpathString

Returns XPath selection relative to the root.

Returns:

  • (String)

    XPath selection relative to the root.



12
# File 'lib/ansible/ruby/modules/generated/network/nso/nso_query.rb', line 12

attribute :xpath