UnifiedAgentKubernetesFilter

class oci.logging.models.UnifiedAgentKubernetesFilter(**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 UnifiedAgentKubernetesFilter.
deny_list Gets the deny_list of this UnifiedAgentKubernetesFilter.
filter_type [Required] Gets the filter_type of this UnifiedAgentMonitoringFilter.
name [Required] Gets the name of this UnifiedAgentMonitoringFilter.

Methods

__init__(**kwargs) Initializes a new UnifiedAgentKubernetesFilter 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 UnifiedAgentKubernetesFilter object with values from keyword arguments. The default value of the filter_type attribute of this class is KUBERNETES_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 UnifiedAgentKubernetesFilter.
  • filter_type (str) – The value to assign to the filter_type property of this UnifiedAgentKubernetesFilter. 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’.
  • allow_list (list[str]) – The value to assign to the allow_list property of this UnifiedAgentKubernetesFilter.
  • deny_list (list[str]) – The value to assign to the deny_list property of this UnifiedAgentKubernetesFilter.
allow_list

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

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

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

Returns:The deny_list of this UnifiedAgentKubernetesFilter.
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”, ‘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