| 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
)
<OperationContractAttribute>
<WebInvokeAttribute(Method := "POST", ResponseFormat := WebMessageFormat.Json,
RequestFormat := WebMessageFormat.Json, BodyStyle := WebMessageBodyStyle.Wrapped,
UriTemplate := "/dra/domains/{domainFqdn}/computer/share/copies/post")>
Function ShareClone (
domainFqdn As String,
shareIdentifier As String,
containerIdentifier As String,
share As Share,
connectionParameters As ConnectionParameters
) As Stream
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:
StreamA
GetSharePropertiesResponse object containing the operation results
See Also