> -----Original Message----- > From: La Motta, David [mailto:david.lamo...@netapp.com] > Sent: Friday, June 14, 2013 7:54 AM > To: <dev@cloudstack.apache.org> > Subject: enableStorageMaintenance > > ...works great for putting down the storage into maintenance mode (looking > forward seeing this for secondary storage as well!). > > Now the question is, after I've run it... how do I know when it is done so I > can > operate on the volume?
enableStorageMaintenance will return a job id, which can be used in queryAsyncJobResult. Here is the doc: http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Developers_Guide/asynchronous-commands.html > > Poll using updateStoragePool and query the state for "Maintenance"? What > about introducing the ability to pass in callback URLs to the REST call? > > Thx. > > > > David La Motta > Technical Marketing Engineer > Citrix Solutions > > NetApp > 919.476.5042 > dlamo...@netapp.com<mailto:dlamo...@netapp.com> > >