UnifiedAgentMonitoringFilter

class oci.logging.models.UnifiedAgentMonitoringFilter(**kwargs)

Bases: object

Monitoring filter object.

Attributes

FILTER_TYPE_KUBERNETES_FILTER A constant which can be used with the filter_type property of a UnifiedAgentMonitoringFilter.
FILTER_TYPE_URL_FILTER A constant which can be used with the filter_type property of a UnifiedAgentMonitoringFilter.
filter_type [Required] Gets the filter_type of this UnifiedAgentMonitoringFilter.
name [Required] Gets the name of this UnifiedAgentMonitoringFilter.

Methods

__init__(**kwargs) Initializes a new UnifiedAgentMonitoringFilter object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
FILTER_TYPE_KUBERNETES_FILTER = 'KUBERNETES_FILTER'

A constant which can be used with the filter_type property of a UnifiedAgentMonitoringFilter. This constant has a value of “KUBERNETES_FILTER”

FILTER_TYPE_URL_FILTER = 'URL_FILTER'

A constant which can be used with the filter_type property of a UnifiedAgentMonitoringFilter. This constant has a value of “URL_FILTER”

__init__(**kwargs)

Initializes a new UnifiedAgentMonitoringFilter object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • name (str) – The value to assign to the name property of this UnifiedAgentMonitoringFilter.
  • filter_type (str) – The value to assign to the filter_type property of this UnifiedAgentMonitoringFilter. Allowed values for this property are: “KUBERNETES_FILTER”, “URL_FILTER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
filter_type

[Required] Gets the filter_type of this UnifiedAgentMonitoringFilter. Unified schema logging filter type.

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

Returns:The filter_type of this UnifiedAgentMonitoringFilter.
Return type:str
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

name

[Required] Gets the name of this UnifiedAgentMonitoringFilter. Unique name for the filter.

Returns:The name of this UnifiedAgentMonitoringFilter.
Return type:str