vSphere Web Services API
| 
 | Local Methods | ||
| Managed Object Types | Data Object Types | All Properties | All Methods | 
Managed Object - StorageQueryManager(vim.StorageQueryManager)
- Property of
 - ServiceContent
 - See also
 - HostSystem
 - Since
 - vSphere API Release 6.7.2
 
Managed Object Description
This managed object is used to query vCenter Server's storage system entities.Properties
| Name | Type | Description | 
|---|---|---|
| None | ||
Methods
| Methods defined in this Managed Object | 
|---|
| QueryHostsWithAttachedLun | 
QueryHostsWithAttachedLun(queryHostsWithAttachedLun)
Query the set of all hosts which have the specified lun attached. Requires Host.Config.Storage privilege on the hosts which have the lun in attached state.- Required Privileges
 - System.Read
 
Parameters
| Name | Type | Description | 
|---|---|---|
| _this | ManagedObjectReference | A reference to the StorageQueryManager used to make the method call. | 
| lunUuid | xsd:string | 
         The UUID of the ScsiLun device.
      
Since vSphere API Release 6.7.2 | 
Return Value
| Type | Description | 
|---|---|
| ManagedObjectReference[]
 to a HostSystem[]  | HostSystem The set of hosts which have the specified lun attached. No values are returned if there are no hosts with the specified lun in attached state. | 
Faults
| Type | Description | 
|---|---|
| RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. | 
Events
| Type | |
|---|---|
| None | |
Show WSDL type definition
| Top of page | Local Methods | ||
| Managed Object Types | Data Object Types | All Properties | All Methods |