EstimatePurgeDataSizeDetails

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

Bases: object

This is the input used to estimate the size of data that might be purged

Attributes:

DATA_TYPE_LOG

A constant which can be used with the data_type property of a EstimatePurgeDataSizeDetails.

DATA_TYPE_LOOKUP

A constant which can be used with the data_type property of a EstimatePurgeDataSizeDetails.

compartment_id

[Required] Gets the compartment_id of this EstimatePurgeDataSizeDetails.

compartment_id_in_subtree

Gets the compartment_id_in_subtree of this EstimatePurgeDataSizeDetails.

data_type

Gets the data_type of this EstimatePurgeDataSizeDetails.

purge_query_string

Gets the purge_query_string of this EstimatePurgeDataSizeDetails.

time_data_ended

[Required] Gets the time_data_ended of this EstimatePurgeDataSizeDetails.

Methods:

__init__(**kwargs)

Initializes a new EstimatePurgeDataSizeDetails object with values from keyword arguments.

DATA_TYPE_LOG = 'LOG'

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

DATA_TYPE_LOOKUP = 'LOOKUP'

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

__init__(**kwargs)

Initializes a new EstimatePurgeDataSizeDetails 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 EstimatePurgeDataSizeDetails.

  • compartment_id_in_subtree (bool) – The value to assign to the compartment_id_in_subtree property of this EstimatePurgeDataSizeDetails.

  • time_data_ended (datetime) – The value to assign to the time_data_ended property of this EstimatePurgeDataSizeDetails.

  • purge_query_string (str) – The value to assign to the purge_query_string property of this EstimatePurgeDataSizeDetails.

  • data_type (str) – The value to assign to the data_type property of this EstimatePurgeDataSizeDetails. Allowed values for this property are: “LOG”, “LOOKUP”

property compartment_id

[Required] Gets the compartment_id of this EstimatePurgeDataSizeDetails. This is the compartment OCID under which the data will be purged

Returns

The compartment_id of this EstimatePurgeDataSizeDetails.

Return type

str

property compartment_id_in_subtree

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

Returns

The compartment_id_in_subtree of this EstimatePurgeDataSizeDetails.

Return type

bool

property data_type

Gets the data_type of this EstimatePurgeDataSizeDetails. 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 EstimatePurgeDataSizeDetails.

Return type

str

property purge_query_string

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

Returns

The purge_query_string of this EstimatePurgeDataSizeDetails.

Return type

str

property time_data_ended

[Required] Gets the time_data_ended of this EstimatePurgeDataSizeDetails. This is the time before which data will be purged

Returns

The time_data_ended of this EstimatePurgeDataSizeDetails.

Return type

datetime