| IDRARestServerServiceStop Method |
Stop a service
UriTemplate: /dra/domains/{domainFqdn}/computer/service/stop/put
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/service/stop/put")]
Stream ServiceStop(
string domainFqdn,
string serviceIdentifier,
Nullable<bool> stopDependents,
ConnectionParameters connectionParameters
)
<OperationContractAttribute>
<WebInvokeAttribute(Method := "POST", ResponseFormat := WebMessageFormat.Json,
RequestFormat := WebMessageFormat.Json, BodyStyle := WebMessageBodyStyle.Wrapped,
UriTemplate := "/dra/domains/{domainFqdn}/computer/service/stop/put")>
Function ServiceStop (
domainFqdn As String,
serviceIdentifier As String,
stopDependents As Nullable(Of Boolean),
connectionParameters As ConnectionParameters
) As Stream
Parameters
- domainFqdn
- Type: SystemString
The FQDN of the domain where the service is located - serviceIdentifier
- Type: SystemString
A string identifying the source service. Supported formats are: distinguishedName or OnePointPath - stopDependents
- Type: SystemNullableBoolean
A bool value to stop the dependent services - connectionParameters
- Type: NetIQ.DRA.Common.Rest.DataModelsConnectionParameters
Optional ConnectionParameters to specify a DRA server and Assistant Admin credentials
Return Value
Type:
StreamA
RestResponse object containing the operation results
See Also