UnifiedAgentUrlFilter

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

Bases: oci.logging.models.unified_agent_monitoring_filter.UnifiedAgentMonitoringFilter

Kubernetes filter object

Attributes

FILTER_TYPE_KUBERNETES_FILTER str(object=’’) -> str
FILTER_TYPE_URL_FILTER str(object=’’) -> str
allow_list Gets the allow_list of this UnifiedAgentUrlFilter.
deny_list Gets the deny_list of this UnifiedAgentUrlFilter.
filter_type [Required] Gets the filter_type of this UnifiedAgentMonitoringFilter.
name [Required] Gets the name of this UnifiedAgentMonitoringFilter.

Methods

__init__(**kwargs) Initializes a new UnifiedAgentUrlFilter 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'
FILTER_TYPE_URL_FILTER = 'URL_FILTER'
__init__(**kwargs)

Initializes a new UnifiedAgentUrlFilter object with values from keyword arguments. The default value of the filter_type attribute of this class is URL_FILTER and it should not be changed. 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 UnifiedAgentUrlFilter.
  • filter_type (str) – The value to assign to the filter_type property of this UnifiedAgentUrlFilter. Allowed values for this property are: “KUBERNETES_FILTER”, “URL_FILTER”
  • allow_list (list[str]) – The value to assign to the allow_list property of this UnifiedAgentUrlFilter.
  • deny_list (list[str]) – The value to assign to the deny_list property of this UnifiedAgentUrlFilter.
allow_list

Gets the allow_list of this UnifiedAgentUrlFilter. List of metrics regex to be allowed.

Returns:The allow_list of this UnifiedAgentUrlFilter.
Return type:list[str]
deny_list

Gets the deny_list of this UnifiedAgentUrlFilter. List of metrics regex to be denied.

Returns:The deny_list of this UnifiedAgentUrlFilter.
Return type:list[str]
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”

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