Click or drag to resize

IDRARestServerGetDeviceRequest Method

The device object(s) defined for a specified computer When deviceIdentifier is defined, a single device properties is returned. (computerIdentifier can be null in this case) Otherwise a list of devices in computer is returned. (computerIdentifier CANNOT be null in this case)
UriTemplate: /dra/domains/{domainFqdn}/computer/devices/get

Namespace:  NetIQ.DRA.RestServiceLibrary
Assembly:  NetIQ.DRA.RestServiceLibrary (in NetIQ.DRA.RestServiceLibrary.dll) Version: 10.2.2.1
Syntax
[OperationContractAttribute]
[WebInvokeAttribute(Method = "POST", ResponseFormat = WebMessageFormat.Json, 
	RequestFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Wrapped, 
	UriTemplate = "/dra/domains/{domainFqdn}/computer/devices/get")]
Stream GetDeviceRequest(
	string domainFqdn,
	string computerIdentifier,
	string deviceIdentifier,
	string[] attributes,
	GetInfoOptions getInfoOptions,
	ConnectionParameters connectionParameters
)

Parameters

domainFqdn
Type: SystemString
The FQDN of the domain where the device is located
computerIdentifier
Type: SystemString
A String computer name that contain the device
deviceIdentifier
Type: SystemString
A string identifying the source device. Supported formats are: distinguishedName or OnePointPath
attributes
Type: SystemString
An optional list of properties to retrieve from the server
getInfoOptions
Type: NetIQ.DRA.Common.Rest.DataModelsGetInfoOptions
An optional GetInfoOptions structure that controls what data is returned
connectionParameters
Type: NetIQ.DRA.Common.Rest.DataModelsConnectionParameters
Optional ConnectionParameters to specify a DRA server and Assistant Admin credentials

Return Value

Type: Stream
A DeviceListResponse containing the operation results
See Also