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.
__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.
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
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