ScopeFilter

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

Bases: object

Scope filter to reduce the scope of the query.

Methods

__init__(**kwargs) Initializes a new ScopeFilter object with values from keyword arguments.

Attributes

field_name [Required] Gets the field_name of this ScopeFilter.
values [Required] Gets the values of this ScopeFilter.
__init__(**kwargs)

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

Parameters:
  • field_name (str) – The value to assign to the field_name property of this ScopeFilter.
  • values (list[object]) – The value to assign to the values property of this ScopeFilter.
field_name

[Required] Gets the field_name of this ScopeFilter. Field must be a valid logging-analytics out-of-the-box field.

Returns:The field_name of this ScopeFilter.
Return type:str
values

[Required] Gets the values of this ScopeFilter. Field values that will be used to filter the query scope. Please note all values should reflect the fields data type otherwise the query is subject to fail.

Returns:The values of this ScopeFilter.
Return type:list[object]