# Managed Object - SrmDiscoverDevicesTask

Returned by
  DiscoverDevices
See also
  SrmDiscoverDevicesTaskDiscoverDevicesFailure
Since
  SRM API 5.0

## Managed Object Description

A Task returned by ServiceInstance#discoverDevices which will have the final status of the operation when they are complete.

Once the task has been completed, this object will be removed from the server after 30 minutes.

Properties

Name | Type | Description
--- | --- | ---
None

Methods

Methods defined in this Managed Object
GetDiscoverDevicesTaskFailures, IsDiscoverDevicesTaskComplete

# GetDiscoverDevicesTaskFailures

Required Privileges
  System.View

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the SrmDiscoverDevicesTask used to make the method call.

Return Value

Type | Description
--- | ---
SrmDiscoverDevicesTaskDiscoverDevicesFailure[] | A list of failures occurred while preforming discoverDevices. If there are no failures, empty array or null will be returned. The whole set of failures can be retrieved when isComplete flag is set to true.

Faults

Type | Description
--- | ---
vmodl.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

# IsDiscoverDevicesTaskComplete

Required Privileges
  System.View

Parameters

Name | Type | Description
--- | --- | ---
_this | ManagedObjectReference | A reference to the SrmDiscoverDevicesTask used to make the method call.

Return Value

Type | Description
--- | ---
xsd:boolean | True if DiscoverDevicesTask has been completed.

Faults

Type | Description
--- | ---
vmodl.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