RecalledInfo

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

Bases: object

This is the information about data recalled

Attributes:

STATUS_FAILED

A constant which can be used with the status property of a RecalledInfo.

STATUS_PARTIAL_RECALLED

A constant which can be used with the status property of a RecalledInfo.

STATUS_PENDING

A constant which can be used with the status property of a RecalledInfo.

STATUS_RECALLED

A constant which can be used with the status property of a RecalledInfo.

collection_id

[Required] Gets the collection_id of this RecalledInfo.

log_sets

[Required] Gets the log_sets of this RecalledInfo.

purpose

[Required] Gets the purpose of this RecalledInfo.

query_string

[Required] Gets the query_string of this RecalledInfo.

status

[Required] Gets the status of this RecalledInfo.

time_recalled_data_ended

[Required] Gets the time_recalled_data_ended of this RecalledInfo.

time_recalled_data_started

[Required] Gets the time_recalled_data_started of this RecalledInfo.

Methods:

__init__(**kwargs)

Initializes a new RecalledInfo object with values from keyword arguments.

STATUS_FAILED = 'FAILED'

A constant which can be used with the status property of a RecalledInfo. This constant has a value of “FAILED”

STATUS_PARTIAL_RECALLED = 'PARTIAL_RECALLED'

A constant which can be used with the status property of a RecalledInfo. This constant has a value of “PARTIAL_RECALLED”

STATUS_PENDING = 'PENDING'

A constant which can be used with the status property of a RecalledInfo. This constant has a value of “PENDING”

STATUS_RECALLED = 'RECALLED'

A constant which can be used with the status property of a RecalledInfo. This constant has a value of “RECALLED”

__init__(**kwargs)

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

Parameters
  • status (str) – The value to assign to the status property of this RecalledInfo. Allowed values for this property are: “RECALLED”, “PENDING”, “FAILED”, “PARTIAL_RECALLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • purpose (str) – The value to assign to the purpose property of this RecalledInfo.

  • query_string (str) – The value to assign to the query_string property of this RecalledInfo.

  • log_sets (str) – The value to assign to the log_sets property of this RecalledInfo.

  • collection_id (int) – The value to assign to the collection_id property of this RecalledInfo.

  • time_recalled_data_started (datetime) – The value to assign to the time_recalled_data_started property of this RecalledInfo.

  • time_recalled_data_ended (datetime) – The value to assign to the time_recalled_data_ended property of this RecalledInfo.

property collection_id

[Required] Gets the collection_id of this RecalledInfo. This is the id for the recalled data collection

Returns

The collection_id of this RecalledInfo.

Return type

int

property log_sets

[Required] Gets the log_sets of this RecalledInfo. This is the list of logsets associated with the recall

Returns

The log_sets of this RecalledInfo.

Return type

str

property purpose

[Required] Gets the purpose of this RecalledInfo. This is the purpose of the recall

Returns

The purpose of this RecalledInfo.

Return type

str

property query_string

[Required] Gets the query_string of this RecalledInfo. This is the query associated with the recall

Returns

The query_string of this RecalledInfo.

Return type

str

property status

[Required] Gets the status of this RecalledInfo. This is the status of the recall

Allowed values for this property are: “RECALLED”, “PENDING”, “FAILED”, “PARTIAL_RECALLED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The status of this RecalledInfo.

Return type

str

property time_recalled_data_ended

[Required] Gets the time_recalled_data_ended of this RecalledInfo. This is the recalled data end time

Returns

The time_recalled_data_ended of this RecalledInfo.

Return type

datetime

property time_recalled_data_started

[Required] Gets the time_recalled_data_started of this RecalledInfo. This is the recalled date start time

Returns

The time_recalled_data_started of this RecalledInfo.

Return type

datetime