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
Element |
Definition |
Required |
---|---|---|
|
Specifies the operation name: |
Yes |
|
Specifies a list of arguments required for the |
Yes |
|
Specifies the name of the datastore to be resized |
Yes |
|
Specifies the name or IP address of the storage controller that is used for the resizing operation |
Yes |
|
Specifies the new size of the datastore in MB |
Yes |
The following figure illustrates a sample adapter request for the resize-datastor
operation:
Sample adapter request for the Resize Datastore operation
<netapp-rcu-request>
<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
<netapp-rcu-response>
<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 |
---|---|
|
Specifies the task ID of the submitted task |
Comments
Log in or register to comment.