ArchivingConfiguration

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

Bases: object

This is the configuration for data archiving in object storage

Methods:

__init__(**kwargs)

Initializes a new ArchivingConfiguration object with values from keyword arguments.

Attributes:

active_storage_duration

Gets the active_storage_duration of this ArchivingConfiguration.

archival_storage_duration

Gets the archival_storage_duration of this ArchivingConfiguration.

time_oldest_active_bucket_ended

Gets the time_oldest_active_bucket_ended of this ArchivingConfiguration.

__init__(**kwargs)

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

Parameters
  • active_storage_duration (str) – The value to assign to the active_storage_duration property of this ArchivingConfiguration.

  • archival_storage_duration (str) – The value to assign to the archival_storage_duration property of this ArchivingConfiguration.

  • time_oldest_active_bucket_ended (datetime) – The value to assign to the time_oldest_active_bucket_ended property of this ArchivingConfiguration.

property active_storage_duration

Gets the active_storage_duration of this ArchivingConfiguration. This is the duration data in active storage before data is archived, as described in https://en.wikipedia.org/wiki/ISO_8601#Durations. The largest supported unit is D, e.g. P365D (not P1Y) or P14D (not P2W).

Returns

The active_storage_duration of this ArchivingConfiguration.

Return type

str

property archival_storage_duration

Gets the archival_storage_duration of this ArchivingConfiguration. This is the duration before archived data is deleted from object storage, as described in https://en.wikipedia.org/wiki/ISO_8601#Durations The largest supported unit is D, e.g. P365D (not P1Y) or P14D (not P2W).

Returns

The archival_storage_duration of this ArchivingConfiguration.

Return type

str

property time_oldest_active_bucket_ended

Gets the time_oldest_active_bucket_ended of this ArchivingConfiguration. end time of the oldest active CoreGroup

Returns

The time_oldest_active_bucket_ended of this ArchivingConfiguration.

Return type

datetime