Click or drag to resize

IDRARestServerComputerRestore Method

Restores a deleted computer from the recycle bin
UriTemplate: /dra/domains/{domainFqdn}/computers/restore

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}/computers/restore")]
Stream ComputerRestore(
	string domainFqdn,
	string computerIdentifier,
	string restoreToContainer,
	ConnectionParameters connectionParameters
)

Parameters

domainFqdn
Type: SystemString
The FQDN of the domain where the computer is located
computerIdentifier
Type: SystemString
A string identifying the computer to restore. Supported formats are: name or distinguishedName
restoreToContainer
Type: SystemString
Optional. distinguished name of an alternate container where the computer should be restored if the original container does not exist.
connectionParameters
Type: NetIQ.DRA.Common.Rest.DataModelsConnectionParameters
Optional ConnectionParameters to specify a DRA server and Assistant Admin credentials

Return Value

Type: Stream
A RestResponse object containing the operation results
See Also