UnifiedAgentUrlFilter¶
-
class
oci.logging.models.UnifiedAgentUrlFilter(**kwargs)¶ Bases:
oci.logging.models.unified_agent_monitoring_filter.UnifiedAgentMonitoringFilterKubernetes filter object
Attributes
FILTER_TYPE_KUBERNETES_FILTERstr(object=’’) -> str FILTER_TYPE_URL_FILTERstr(object=’’) -> str allow_listGets the allow_list of this UnifiedAgentUrlFilter. deny_listGets 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_typeattribute of this class isURL_FILTERand 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”, ‘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 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”, ‘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
-