#API for volume to set files-set-maximum

1 messages · Page 1 of 1 (latest)

hollow vapor
#

Hi All, do we have volume API to support modifing volume files-set-maximum setting?
I cannot find that setting in Swagger UI

vocal ibex
#

Not that I've seen, but you could use the Ansible na_ontap_rest_cli module to do it with a PATCH verb, which is the same as a modify on the CLI.

https://galaxy.ansible.com/ui/repo/published/netapp/ontap/content/module/na_ontap_rest_cli/

An example might be:

- name: File Set Maximum netapp.ontap.na_ontap_rest_cli: command: volume verb: PATCH params: {'server': "{{ svm_name }}",'volume': "{{ volume_name }}"} body: { 'files-set-maximum': 'true'}

This module leverages the Private API CLI Passthrough, so you could just hit that API directly.

https://docs.netapp.com/us-en/ontap-restapi-9111/ontap/getting_started_with_the_ontap_rest_api.html#Using_the_private_CLI_passthrough_with_the_ONTAP_REST_API