RecallArchivedDataDetails

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

Bases: object

This is the input used to recall archived data

Attributes

DATA_TYPE_LOG A constant which can be used with the data_type property of a RecallArchivedDataDetails.
DATA_TYPE_LOOKUP A constant which can be used with the data_type property of a RecallArchivedDataDetails.
compartment_id [Required] Gets the compartment_id of this RecallArchivedDataDetails.
data_type Gets the data_type of this RecallArchivedDataDetails.
is_recall_new_data_only Gets the is_recall_new_data_only of this RecallArchivedDataDetails.
is_use_recommended_data_set Gets the is_use_recommended_data_set of this RecallArchivedDataDetails.
log_sets Gets the log_sets of this RecallArchivedDataDetails.
purpose Gets the purpose of this RecallArchivedDataDetails.
query Gets the query of this RecallArchivedDataDetails.
time_data_ended [Required] Gets the time_data_ended of this RecallArchivedDataDetails.
time_data_started [Required] Gets the time_data_started of this RecallArchivedDataDetails.

Methods

__init__(**kwargs) Initializes a new RecallArchivedDataDetails object with values from keyword arguments.
DATA_TYPE_LOG = 'LOG'

A constant which can be used with the data_type property of a RecallArchivedDataDetails. This constant has a value of “LOG”

DATA_TYPE_LOOKUP = 'LOOKUP'

A constant which can be used with the data_type property of a RecallArchivedDataDetails. This constant has a value of “LOOKUP”

__init__(**kwargs)

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

Parameters:
  • compartment_id (str) – The value to assign to the compartment_id property of this RecallArchivedDataDetails.
  • time_data_ended (datetime) – The value to assign to the time_data_ended property of this RecallArchivedDataDetails.
  • time_data_started (datetime) – The value to assign to the time_data_started property of this RecallArchivedDataDetails.
  • data_type (str) – The value to assign to the data_type property of this RecallArchivedDataDetails. Allowed values for this property are: “LOG”, “LOOKUP”
  • log_sets (str) – The value to assign to the log_sets property of this RecallArchivedDataDetails.
  • query (str) – The value to assign to the query property of this RecallArchivedDataDetails.
  • purpose (str) – The value to assign to the purpose property of this RecallArchivedDataDetails.
  • is_recall_new_data_only (bool) – The value to assign to the is_recall_new_data_only property of this RecallArchivedDataDetails.
  • is_use_recommended_data_set (bool) – The value to assign to the is_use_recommended_data_set property of this RecallArchivedDataDetails.
compartment_id

[Required] Gets the compartment_id of this RecallArchivedDataDetails. This is the compartment OCID for permission checking

Returns:The compartment_id of this RecallArchivedDataDetails.
Return type:str
data_type

Gets the data_type of this RecallArchivedDataDetails. This is the type of the log data to be recalled

Allowed values for this property are: “LOG”, “LOOKUP”

Returns:The data_type of this RecallArchivedDataDetails.
Return type:str
is_recall_new_data_only

Gets the is_recall_new_data_only of this RecallArchivedDataDetails. This indicates if only new data has to be recalled in this recall request

Returns:The is_recall_new_data_only of this RecallArchivedDataDetails.
Return type:bool

Gets the is_use_recommended_data_set of this RecallArchivedDataDetails. This indicates if user checked system recommended time range

Returns:The is_use_recommended_data_set of this RecallArchivedDataDetails.
Return type:bool
log_sets

Gets the log_sets of this RecallArchivedDataDetails. This is a list of comma-separated log sets that recalled data belongs to.

Returns:The log_sets of this RecallArchivedDataDetails.
Return type:str
purpose

Gets the purpose of this RecallArchivedDataDetails. This is the purpose of the recall

Returns:The purpose of this RecallArchivedDataDetails.
Return type:str
query

Gets the query of this RecallArchivedDataDetails. This is the query that identifies the recalled data.

Returns:The query of this RecallArchivedDataDetails.
Return type:str
time_data_ended

[Required] Gets the time_data_ended of this RecallArchivedDataDetails. This is the end of the time interval

Returns:The time_data_ended of this RecallArchivedDataDetails.
Return type:datetime
time_data_started

[Required] Gets the time_data_started of this RecallArchivedDataDetails. This is the start of the time interval

Returns:The time_data_started of this RecallArchivedDataDetails.
Return type:datetime