PurgeStorageDataDetails

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

Bases: object

This is the input used to purge data

Attributes

DATA_TYPE_LOG A constant which can be used with the data_type property of a PurgeStorageDataDetails.
DATA_TYPE_LOOKUP A constant which can be used with the data_type property of a PurgeStorageDataDetails.
compartment_id [Required] Gets the compartment_id of this PurgeStorageDataDetails.
compartment_id_in_subtree Gets the compartment_id_in_subtree of this PurgeStorageDataDetails.
data_type Gets the data_type of this PurgeStorageDataDetails.
purge_query_string Gets the purge_query_string of this PurgeStorageDataDetails.
time_data_ended [Required] Gets the time_data_ended of this PurgeStorageDataDetails.

Methods

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

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

DATA_TYPE_LOOKUP = 'LOOKUP'

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

__init__(**kwargs)

Initializes a new PurgeStorageDataDetails 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 PurgeStorageDataDetails.
  • compartment_id_in_subtree (bool) – The value to assign to the compartment_id_in_subtree property of this PurgeStorageDataDetails.
  • time_data_ended (datetime) – The value to assign to the time_data_ended property of this PurgeStorageDataDetails.
  • purge_query_string (str) – The value to assign to the purge_query_string property of this PurgeStorageDataDetails.
  • data_type (str) – The value to assign to the data_type property of this PurgeStorageDataDetails. Allowed values for this property are: “LOG”, “LOOKUP”
compartment_id

[Required] Gets the compartment_id of this PurgeStorageDataDetails. This is the compartment OCID under which the data will be purged and required permission will be checked

Returns:The compartment_id of this PurgeStorageDataDetails.
Return type:str
compartment_id_in_subtree

Gets the compartment_id_in_subtree of this PurgeStorageDataDetails. If true, purge child compartments data

Returns:The compartment_id_in_subtree of this PurgeStorageDataDetails.
Return type:bool
data_type

Gets the data_type of this PurgeStorageDataDetails. This is the type of the log data to be purged

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

Returns:The data_type of this PurgeStorageDataDetails.
Return type:str
purge_query_string

Gets the purge_query_string of this PurgeStorageDataDetails. This is the solr query used to filter data, ‘*’ means all

Returns:The purge_query_string of this PurgeStorageDataDetails.
Return type:str
time_data_ended

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

Returns:The time_data_ended of this PurgeStorageDataDetails.
Return type:datetime