<?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 Re: How to get the ID of export-policy through API communication in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/How-to-get-the-ID-of-export-policy-through-API-communication/m-p/456111#M44168</link>
    <description>&lt;P&gt;hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;The following article may be helpful to you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://docs.netapp.com/zh-cn/active-iq-unified-manager/api-automation/concept_provision_file_share.html" target="_blank" rel="noopener"&gt;https://docs.netapp.com/zh-cn/active-iq-unified-manager/api-automation/concept_provision_file_share.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Oct 2024 07:07:26 GMT</pubDate>
    <dc:creator>chenguanghui</dc:creator>
    <dc:date>2024-10-29T07:07:26Z</dc:date>
    <item>
      <title>How to get the ID of export-policy through API communication</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/How-to-get-the-ID-of-export-policy-through-API-communication/m-p/456032#M44150</link>
      <description>&lt;P&gt;When setting export-policy rule through API communication, export-policy ID is required.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ex)&lt;/P&gt;&lt;P&gt;POST /api/protocols/nfs/export-policies/12884901899/rules { "clients": [ { "match": "10.10.10.101" } ], "protocols": [ "any" ], "ro_rule": [ "any" ], "rw_rule": [ "any" ], "superuser": [ "any" ] }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I don't know the API phrase to get export-policy ID.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I had to check it directly with GUI or CLI's Cammands.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to work only with API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to get export-policy ID through API and set Access IP of nfs using API for export-policy rule.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please tell me the API phrase to get the value of the ID of export-policy?&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 07:42:50 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/How-to-get-the-ID-of-export-policy-through-API-communication/m-p/456032#M44150</guid>
      <dc:creator>Netcom</dc:creator>
      <dc:date>2024-10-24T07:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the ID of export-policy through API communication</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/How-to-get-the-ID-of-export-policy-through-API-communication/m-p/456111#M44168</link>
      <description>&lt;P&gt;hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;The following article may be helpful to you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://docs.netapp.com/zh-cn/active-iq-unified-manager/api-automation/concept_provision_file_share.html" target="_blank" rel="noopener"&gt;https://docs.netapp.com/zh-cn/active-iq-unified-manager/api-automation/concept_provision_file_share.html&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2024 07:07:26 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/How-to-get-the-ID-of-export-policy-through-API-communication/m-p/456111#M44168</guid>
      <dc:creator>chenguanghui</dc:creator>
      <dc:date>2024-10-29T07:07:26Z</dc:date>
    </item>
  </channel>
</rss>

