Unsupported content

 

This version of the product has reached end of support. The documentation is available for your convenience. However, you must be logged in to access it. You will not be able to leave comments.

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

<operation-name>

Specifies the operation name: resize-datastore

Yes

<arguments>

Specifies a list of arguments required for the <resize-datastore> operation

Yes

<datastore-name>

Specifies the name of the datastore to be resized

Valid value: Any string

Yes

<controller-address>

Specifies the name or IP address of the storage controller that is used for the resizing operation

Yes

<size-in-mb>

Specifies the new size of the datastore in MB

Valid value: Any positive integer

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

<Task>

Specifies the task ID of the submitted task

Use the task ID to obtain the status of the specified task.

For information about using the task ID to check the task status, see Request and response for the Retrieve_Task_Status operation.

Was this page helpful? Yes No Submitting... Thank you

Comments