<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic REST snapshot autodelete trigger snap_reserve in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/REST-snapshot-autodelete-trigger-snap-reserve/m-p/437783#M41113</link>
    <description>&lt;P&gt;I'm working on building a set of REST calls to automate some tasks, one of them being volume/share creation. This is all currently done via shell scripts. Part of the volume creation script is this line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;snapshot autodelete modify -vserver $SVM -enabled true -trigger snap_reserve -volume $SHARENAME&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been looking through the REST documentation and googling/searching for a solution, but as far as I can tell it hasn't been implemented in REST yet. If anyone has any insights on this topic I'd appreciate a hint or two. This may be a thing that I just have to do via shell command, but I'd prefer to switch everything over to REST so that it can be implemented in our service management system (servicenow), and to make issues with the automation easy to track and troubleshoot.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 09:57:01 GMT</pubDate>
    <dc:creator>ThatGuyJ</dc:creator>
    <dc:date>2025-06-04T09:57:01Z</dc:date>
    <item>
      <title>REST snapshot autodelete trigger snap_reserve</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/REST-snapshot-autodelete-trigger-snap-reserve/m-p/437783#M41113</link>
      <description>&lt;P&gt;I'm working on building a set of REST calls to automate some tasks, one of them being volume/share creation. This is all currently done via shell scripts. Part of the volume creation script is this line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;snapshot autodelete modify -vserver $SVM -enabled true -trigger snap_reserve -volume $SHARENAME&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been looking through the REST documentation and googling/searching for a solution, but as far as I can tell it hasn't been implemented in REST yet. If anyone has any insights on this topic I'd appreciate a hint or two. This may be a thing that I just have to do via shell command, but I'd prefer to switch everything over to REST so that it can be implemented in our service management system (servicenow), and to make issues with the automation easy to track and troubleshoot.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 09:57:01 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/REST-snapshot-autodelete-trigger-snap-reserve/m-p/437783#M41113</guid>
      <dc:creator>ThatGuyJ</dc:creator>
      <dc:date>2025-06-04T09:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: REST snapshot autodelete trigger snap_reserve</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/REST-snapshot-autodelete-trigger-snap-reserve/m-p/437784#M41114</link>
      <description>&lt;P&gt;Of course as soon as I ask for help I find the answer. For anyone else that might be searching for in the REST documentation it is in PATCH \storage\volumes\{uuid}. Below is what I ended up using as a test.&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; "space": {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; "snapshot": {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "autodelete_enabled": true,&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "autodelete_trigger": "snap_reserve",&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; "reserve_percent": 50&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; }&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Mon, 29 Aug 2022 19:00:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/REST-snapshot-autodelete-trigger-snap-reserve/m-p/437784#M41114</guid>
      <dc:creator>ThatGuyJ</dc:creator>
      <dc:date>2022-08-29T19:00:58Z</dc:date>
    </item>
  </channel>
</rss>

