Skip to content
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.

na_um_list_volumes

Chris Archibald edited this page Mar 18, 2021 · 1 revision
orphan:

netapp.um_info.na_um_list_volumes -- NetApp Unified Manager list volumes.

Note

This plugin is part of the netapp.um_info collection (version 20.6.0).

To install it use: ansible-galaxy collection install netapp.um_info.

To use it in a playbook, specify: netapp.um_info.na_um_list_volumes.

.. versionadded:: 20.6.0 of netapp.um_info

  • List Volumes on AIQUM/OCUM.

The below requirements are needed on the host that executes this module.

  • A AIQUM/OCUM 9.7 system.
  • Ansible 2.9
Parameter Choices/Defaults Comments
hostname
string / required
The hostname or IP address of the Unified Manager instance.
http_port
integer
Override the default port (443) with this port
password
string / required
Password for the specified user.
username
string / required
username of the Unified Manager instance.
validate_certs
boolean
    Choices:
  • no
  • yes ←
If set to False, the SSL certificates will not be validated.
This should only set to False used on personally controlled sites using self-signed certificates.

Note

  • The modules prefixed with na\_um are built to support the AIQUM/OCUM 9.7 platform.
- name: List Volumes
  na_um_list_volumes:
    hostname: "{{ hostname }}"
    username: "{{ username }}"
    password: "{{ password }}"

Common return values are documented :ref:`here <common_return_values>`, the following are the fields unique to this module:

Key Returned Description
records
list / elements=string
always
Returns list of Volumes information

Sample:
[{'_links': {'self': {'href': '...'}}, 'aggregates': [{'...': None}], 'autosize': {'...': None}, 'cluster': {'...': None}, 'create_time': '...', 'key': '...', 'language': '...', 'name': '...', 'qos': {'...': None}, 'snapmirror': {'...': None}, 'snapshot_policy': {'...': None}, 'space': {'...': None}, 'state': '...', 'style': '...', 'svm': {'...': None, '_links': {'self': {'...': None}}}, 'tiering': {'...': None}, 'type': '...', 'uuid': '...'}]


Authors