Show / Hide Table of Contents

Class PutLogsRequest

Inheritance
object
PutLogsRequest
Implements
IOciRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.LoggingingestionService.Requests
Assembly: OCI.DotNetSDK.Loggingingestion.dll
Syntax
public class PutLogsRequest : IOciRequest
Examples

Click here to see an example of how to use PutLogs request.

Properties

LogId

Declaration
[Required(ErrorMessage = "LogId is required.")]
[HttpConverter(TargetEnum.Path, "logId")]
public string LogId { get; set; }
Property Value
Type Description
string

OCID of a log to work with.

Remarks

Required

OpcAgentVersion

Declaration
[HttpConverter(TargetEnum.Header, "opc-agent-version")]
public string OpcAgentVersion { get; set; }
Property Value
Type Description
string

Version of the agent sending the request.

OpcRequestId

Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type Description
string

Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.

PutLogsDetails

Declaration
[Required(ErrorMessage = "PutLogsDetails is required.")]
[HttpConverter(TargetEnum.Body)]
public PutLogsDetails PutLogsDetails { get; set; }
Property Value
Type Description
PutLogsDetails

The logs to emit.

Remarks

Required

TimestampOpcAgentProcessing

Declaration
[HttpConverter(TargetEnum.Header, "timestamp-opc-agent-processing")]
public DateTime? TimestampOpcAgentProcessing { get; set; }
Property Value
Type Description
DateTime?

Effective timestamp, for when the agent started processing the log segment being sent. An RFC3339-formatted date-time string with milliseconds precision.

Implements

IOciRequest
In this article
Back to top