Update Dataset operation


The Update Dataset operation modifies attributes for a dataset.

The following table describes the elements for this request.


 Adapter request elements for Update Dataset operation

A sample adapter request for this operation is given in the following figure.

Sample adapter request for Update Dataset operation

<netapp-storage-request>
   <operation-name>update-dataset</operation-name>
   <arguments>
   <targets>
       <target>
         <host>172.11.11.111</host>
         <user-name>username</user-name>
         <password encryption-type = "Base64">cGFzc3dvcmQ=</password>
         <protocol>http</protocol>
         <port>8088</port>
       </target>
     </targets>
     <target />
     <dataset-contact>netapp.test@xyz.com</dataset-contact>
     <dataset-description>dataset description</dataset-description>
     <dataset-name-or-id>307</dataset-name-or-id>
     <dataset-metadata>
       <dfm-metadata-field>
         <field-name>metadata field name</field-name>
         <field-value>metadata field value</field-value>
       </dfm-metadata-field>
     </dataset-metadata>
     <dataset-owner>Dataset Owner</dataset-owner>
     <protection-policy-name-or-id />
     <requires-non-disruptive-restore>false</requires-non-disruptive-restore>
     <is-application-data>false</is-application-data>
     <is-suspended>false</is-suspended>
     <is-dp-ignored>true</is-dp-ignored>
     <check-protection-policy-on-commit>true</check-protection-policy-on-commit>
     <volume-qtree-name-prefix>Volume Qtree name Prefix
</volume-qtree-name-prefix>
   </arguments>
 </netapp-storage-request>

A sample adapter response for this operation is given in the following figure.

Sample adapter response for Update Dataset operation

<netapp-storage-response>
 <metadata>
   <status>success</status>
   <response-count>1</response-count>
 </metadata>
 <responses>
   <response>
     <metadata>
       <status>success</status>
       <count>0</count>
     </metadata>
   </response>
 </responses>
</netapp-storage-response>

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*