Datastore operation
This topic illustrates the adapter request and response for the Datastore operation and describes the elements used in the request.
Resize Datastore operation
The Resize Datastore operation grows or shrinks the Network File System (NFS)-based datastores (and associated storage object on the controller) and grows the Virtual Machine FIle System (VMFS)-based datastores (and associated storage object on the controller).
The following table describes the elements for the resize datastore request:
Adapter request elements for the Resize Datastore operation
The following figure illustrates a sample adapter request for the resize-datastor operation:
Sample adapter request for the Resize Datastore operation
<operation-name>resize-datastore</operation-name>
<arguments>
<datastore-name>testds1</datastore-name>
<controller-address>172.11.11.111</controller-address>
<size-in-mb>1024</size-in-mb>
</arguments>
</netapp-rcu-request>
A sample adapter response for the resize-datastore operation is given in the following figure.
Sample adapter response for the Resize Datastore operation
<metadata>
<status>success</status>
<response-count>1</response-count>
</metadata>
<responses>
<response>
<metadata>
<status>success</status>
<count>1</count>
</metadata>
<output>
<resizeDatastoreResponse xmlns="http://server.xyz.netapp.com/">
<return xmlns="">Task:task-28</return>
</resizeDatastoreResponse>
</output>
</response>
</responses>
</netapp-rcu-response>
The following table describes the response element:
Adapter response element for the Resize Datastore operation
Element | Definition |
---|---|
<Task> | Specifies the task ID of the submitted task |