PutLogsDetails

class oci.loggingingestion.models.PutLogsDetails(**kwargs)

Bases: object

The request body for the PutLogs request.

Methods:

__init__(**kwargs)

Initializes a new PutLogsDetails object with values from keyword arguments.

Attributes:

log_entry_batches

[Required] Gets the log_entry_batches of this PutLogsDetails.

specversion

[Required] Gets the specversion of this PutLogsDetails.

__init__(**kwargs)

Initializes a new PutLogsDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • specversion (str) – The value to assign to the specversion property of this PutLogsDetails.

  • log_entry_batches (list[oci.loggingingestion.models.LogEntryBatch]) – The value to assign to the log_entry_batches property of this PutLogsDetails.

property log_entry_batches

[Required] Gets the log_entry_batches of this PutLogsDetails. List of log-batches. Each batch has a single source, type and subject.

Returns

The log_entry_batches of this PutLogsDetails.

Return type

list[oci.loggingingestion.models.LogEntryBatch]

property specversion

[Required] Gets the specversion of this PutLogsDetails. Required for identifying the version of the data format being used. Permitted values include: “1.0”

Returns

The specversion of this PutLogsDetails.

Return type

str