Click or drag to resize

IDRARestServerShareClone Method

Clone a share
UriTemplate: /dra/domains/{domainFqdn}/computer/share/copies/post

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/share/copies/post")]
Stream ShareClone(
	string domainFqdn,
	string shareIdentifier,
	string containerIdentifier,
	Share share,
	ConnectionParameters connectionParameters
)

Parameters

domainFqdn
Type: SystemString
The FQDN of the domain where the share is located
shareIdentifier
Type: SystemString
A string identifying the source share. Supported formats are: distinguishedName or OnePointPath
containerIdentifier
Type: SystemString
A string identifying the computer the contains source share. Supported formats are: distinguishedName
share
Type: NetIQ.DRA.Common.Rest.DataModelsShare
A Share share object contain properties that had been changed during clone
connectionParameters
Type: NetIQ.DRA.Common.Rest.DataModelsConnectionParameters
Optional ConnectionParameters to specify a DRA server and Assistant Admin credentials

Return Value

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