Click or drag to resize

IDRARestServerShareCreate Method

Creates a new share object
UriTemplate: /dra/domains/{domainFqdn}/computer/share/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/post")]
Stream ShareCreate(
	string domainFqdn,
	string computerIdentifier,
	Share share,
	ConnectionParameters connectionParameters
)

Parameters

domainFqdn
Type: SystemString
The FQDN of the domain to create the share in
computerIdentifier
Type: SystemString
The computer object that contains the share created
share
Type: NetIQ.DRA.Common.Rest.DataModelsShare
A Share share object to create
connectionParameters
Type: NetIQ.DRA.Common.Rest.DataModelsConnectionParameters
Optional ConnectionParameters to specify a DRA server and Assistant Admin credentials

Return Value

Type: Stream
A GetSharePropertiesResponse containing the operation results
See Also