Upload

class oci.log_analytics.models.Upload(**kwargs)

Bases: object

Upload is a container that can be used to put all the relevant and related on-demand upload based log files together.

Methods

__init__(**kwargs) Initializes a new Upload object with values from keyword arguments.

Attributes

name [Required] Gets the name of this Upload.
reference [Required] Gets the reference of this Upload.
time_created [Required] Gets the time_created of this Upload.
time_earliest_log_entry Gets the time_earliest_log_entry of this Upload.
time_latest_log_entry Gets the time_latest_log_entry of this Upload.
time_updated Gets the time_updated of this Upload.
warnings_count Gets the warnings_count of this Upload.
__init__(**kwargs)

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

Parameters:
  • reference (str) – The value to assign to the reference property of this Upload.
  • name (str) – The value to assign to the name property of this Upload.
  • time_created (datetime) – The value to assign to the time_created property of this Upload.
  • time_updated (datetime) – The value to assign to the time_updated property of this Upload.
  • time_earliest_log_entry (datetime) – The value to assign to the time_earliest_log_entry property of this Upload.
  • time_latest_log_entry (datetime) – The value to assign to the time_latest_log_entry property of this Upload.
  • warnings_count (int) – The value to assign to the warnings_count property of this Upload.
name

[Required] Gets the name of this Upload. The name of the upload container.

Returns:The name of this Upload.
Return type:str
reference

[Required] Gets the reference of this Upload. Unique internal identifier to refer the upload container.

Returns:The reference of this Upload.
Return type:str
time_created

[Required] Gets the time_created of this Upload. The time when this upload container is created. An RFC3339 formatted datetime string.

Returns:The time_created of this Upload.
Return type:datetime
time_earliest_log_entry

Gets the time_earliest_log_entry of this Upload. This time represents the earliest time of the log entry in this container. An RFC3339 formatted datetime string.

Returns:The time_earliest_log_entry of this Upload.
Return type:datetime
time_latest_log_entry

Gets the time_latest_log_entry of this Upload. This time represents the latest time of the log entry in this container. An RFC3339 formatted datetime string.

Returns:The time_latest_log_entry of this Upload.
Return type:datetime
time_updated

Gets the time_updated of this Upload. The latest time when this upload container is modified. An RFC3339 formatted datetime string.

Returns:The time_updated of this Upload.
Return type:datetime
warnings_count

Gets the warnings_count of this Upload. Number of warnings associated to the upload.

Returns:The warnings_count of this Upload.
Return type:int