Retrieve Cluster Datastore Configuration operation
The Retrieve Cluster Datastore Configuration operation retrieves the datastore configuration of a cluster including total space and free space.
The following table describes the elements for this request.
Adapter request elements for the Retrieve Cluster Datastore Configuration operation
Element |
Definition |
Required |
---|---|---|
|
Defines the type of the operation: |
Yes |
|
Defines the name of the operation: |
Yes |
|
Specifies the URL for the remote SOAP service running on the VMware VirtualCenter Note If you want to use an HTTP value, you might need to change the configuration of the VMware Infrastructure application. |
No |
|
Specifies the transport protocol for the message Note If the value of the |
No |
|
Specifies the user name that is used for HTTP basic authentication on the VMware Virtual Center |
No |
|
Specifies the password corresponding to |
Conditional; required if |
|
Contains the |
Yes |
|
Specifies the name of the cluster whose datastore configuration details are to be retrieved |
Yes |
The following code sample shows a sample adapter request for the Retrieve Cluster Datastore Configuration operation.
Sample adapter request for the Retrieve Cluster Datastore Configuration operation
<vmware-infrastructure-request> <operation-type>Cluster</operation-type> <operation-name>Retrieve_Cluster_Datastore_Configuration</operation-name> <soap-url></soap-url> <transport></transport> <username>abc</username> <password>abc</password> <parameters> <cluster-compute-resource>DRS Cluster TEST </cluster-compute-resource> </parameters> </vmware-infrastructure-request>
The following code sample shows the response for the sample Retrieve Cluster Datastore Configuration operation.
Sample adapter response for the Retrieve Cluster Datastore Configuration operation
<vmware-infrastructure-response> <metadata> <status>success</status> </metadata> <RetrieveClusterDatastoreConfigurationResponse> <returnval> <Datastore>datastore-11</Datastore> <propSet> <name>summary</name> <DatastoreSummary> <Datastore>datastore-11</Datastore> <name>dev15 disk1</name> <url>sanfs://vmfs_uuid:470e81f0-32b2d06a-a25c-0019b9e1c5fe/</url> <capacity>65229815808</capacity> <freeSpace>6728712192</freeSpace> <accessible>true</accessible> <multipleHostAccess>false</multipleHostAccess> <type>VMFS</type> </DatastoreSummary> </propSet> </returnval> <returnval> <Datastore>datastore-13</Datastore> <propSet> <name>summary</name> <DatastoreSummary> <Datastore>datastore-13</Datastore> <name>dev15 disk2</name> <url>sanfs://vmfs_uuid:478d1b24-552c354d-c670-0019b9e1c5fe/</url> <capacity>73282879488</capacity> <freeSpace>14814281728</freeSpace> <accessible>true</accessible> <multipleHostAccess>false</multipleHostAccess> <type>VMFS</type> </DatastoreSummary> </propSet> </returnval> <cluster-compute-resource>DRS Cluster TEST</cluster-compute-resource> </RetrieveClusterDatastoreConfigurationResponse> </vmware-infrastructure-response>
The following table describes the response elements.
Adapter response elements for the Retrieve Cluster Datastore Configuration operation
Element |
Definition |
---|---|
|
The connectivity status of this datastore |
|
Maximum capacity of this datastore, in bytes |
|
Available space of this datastore, in bytes |
|
If it set to true, means more than one host in the datacenter has been configured with access to the datastore |
|
The name of the datastore |
|
Type of file system volume, such as VMFS or NFS |
Comments