Resize Lun operation
The Resize Lun operation finds the details of all the jobs that match the filter criteria specified. This section illustrates the adapter request and response for the resize-lun operation and describes the elements used in the request.
The following table describes the elements for this request.
Adapter request elements for the Resize Lun operation
A sample adapter request for this operation is given in the following figure.
Sample adapter request for Resize Lun operation
<netapp-storage-request>
<operation-name>resize-lun</operation-name>
<arguments>
<targets>
<target>
<host>Server181</host>
<user-name>username</user-name>
<password encryption-type = "Base64">cGFzc3dvcmQ=</password>
<protocol>http</protocol>
<port>8088</port>
</target>
</targets>
<target />
<target-host>10.72.225.60</target-host>
<force>true</force>
<path>/vol/QA_Test/QA-Test-Member2</path>
<size>3073741824</size>
</arguments>
</netapp-storage-request>
<operation-name>resize-lun</operation-name>
<arguments>
<targets>
<target>
<host>Server181</host>
<user-name>username</user-name>
<password encryption-type = "Base64">cGFzc3dvcmQ=</password>
<protocol>http</protocol>
<port>8088</port>
</target>
</targets>
<target />
<target-host>10.72.225.60</target-host>
<force>true</force>
<path>/vol/QA_Test/QA-Test-Member2</path>
<size>3073741824</size>
</arguments>
</netapp-storage-request>
A sample adapter response for this operation is given in the following figure.
Sample adapter response for Resize Lun operation
<netapp-storage-response>
<metadata>
<status>success</status>
<response-count>1</response-count>
</metadata>
<responses>
<response>
<metadata>
<target>Server181</target>
<status>success</status>
<count>1</count>
</metadata>
<output>
<actual-size>3074424832</actual-size>
</output>
</response>
</responses>
</netapp-storage-response>
<metadata>
<status>success</status>
<response-count>1</response-count>
</metadata>
<responses>
<response>
<metadata>
<target>Server181</target>
<status>success</status>
<count>1</count>
</metadata>
<output>
<actual-size>3074424832</actual-size>
</output>
</response>
</responses>
</netapp-storage-response>
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*