| IDRARestServerGetServiceRequest Method |
The service object(s) defined for a specified computer
When serviceIdentifier is defined, a single service properties is returned. (computerIdentifier can be null in this case)
Otherwise a list of services in computer is returned. (computerIdentifier CANNOT be null in this case)
UriTemplate: /dra/domains/{domainFqdn}/computer/services/get
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/services/get")]
Stream GetServiceRequest(
string domainFqdn,
string computerIdentifier,
string serviceIdentifier,
string[] attributes,
GetInfoOptions getInfoOptions,
ConnectionParameters connectionParameters
)
<OperationContractAttribute>
<WebInvokeAttribute(Method := "POST", ResponseFormat := WebMessageFormat.Json,
RequestFormat := WebMessageFormat.Json, BodyStyle := WebMessageBodyStyle.Wrapped,
UriTemplate := "/dra/domains/{domainFqdn}/computer/services/get")>
Function GetServiceRequest (
domainFqdn As String,
computerIdentifier As String,
serviceIdentifier As String,
attributes As String(),
getInfoOptions As GetInfoOptions,
connectionParameters As ConnectionParameters
) As Stream
Parameters
- domainFqdn
- Type: SystemString
The FQDN of the domain where the service is located - computerIdentifier
- Type: SystemString
A String computer name that contain the service - serviceIdentifier
- Type: SystemString
A string identifying the source service. Supported formats are: distinguishedName or OnePointPath - attributes
- Type: SystemString
An optional list of properties to retrieve from the server - getInfoOptions
- Type: NetIQ.DRA.Common.Rest.DataModelsGetInfoOptions
An optional GetInfoOptions structure that controls what data is returned - connectionParameters
- Type: NetIQ.DRA.Common.Rest.DataModelsConnectionParameters
Optional ConnectionParameters to specify a DRA server and Assistant Admin credentials
Return Value
Type:
StreamA
ServiceListResponse containing the operation results
See Also