| IDRARestServerGetEventLogRequest Method |
The EventLog object(s) defined for a specified computer
When eventLogIdentifier is defined, a single EventLog properties is returned. (computerIdentifier can be null in this case)
Otherwise a list of EventLogs in computer is returned. (computerIdentifier CANNOT be null in this case)
UriTemplate: /dra/domains/{domainFqdn}/computer/eventlogs/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/eventlogs/get")]
Stream GetEventLogRequest(
string domainFqdn,
string computerIdentifier,
string eventLogIdentifier,
string[] attributes,
GetInfoOptions getInfoOptions,
ConnectionParameters connectionParameters
)
<OperationContractAttribute>
<WebInvokeAttribute(Method := "POST", ResponseFormat := WebMessageFormat.Json,
RequestFormat := WebMessageFormat.Json, BodyStyle := WebMessageBodyStyle.Wrapped,
UriTemplate := "/dra/domains/{domainFqdn}/computer/eventlogs/get")>
Function GetEventLogRequest (
domainFqdn As String,
computerIdentifier As String,
eventLogIdentifier As String,
attributes As String(),
getInfoOptions As GetInfoOptions,
connectionParameters As ConnectionParameters
) As Stream
Parameters
- domainFqdn
- Type: SystemString
The FQDN of the domain where the EventLog is located - computerIdentifier
- Type: SystemString
A String computer name that contain the EventLog - eventLogIdentifier
- Type: SystemString
A string identifying the source EventLog. 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
EventLogListResponse containing the operation results
See Also