LogRuleTaskDetails

class oci.sch.models.LogRuleTaskDetails(**kwargs)

Bases: oci.sch.models.task_details.TaskDetails

The log filter task. For configuration instructions, see Creating a Connector.

Attributes

KIND_FUNCTION str(object=’’) -> str
KIND_LOG_RULE str(object=’’) -> str
condition [Required] Gets the condition of this LogRuleTaskDetails.
kind [Required] Gets the kind of this TaskDetails.

Methods

__init__(**kwargs) Initializes a new LogRuleTaskDetails 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.
KIND_FUNCTION = 'function'
KIND_LOG_RULE = 'logRule'
__init__(**kwargs)

Initializes a new LogRuleTaskDetails object with values from keyword arguments. The default value of the kind attribute of this class is logRule and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • kind (str) – The value to assign to the kind property of this LogRuleTaskDetails. Allowed values for this property are: “function”, “logRule”
  • condition (str) – The value to assign to the condition property of this LogRuleTaskDetails.
condition

[Required] Gets the condition of this LogRuleTaskDetails. A filter or mask to limit the source used in the flow defined by the connector.

Returns:The condition of this LogRuleTaskDetails.
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.

kind

[Required] Gets the kind of this TaskDetails. The type discriminator.

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

Returns:The kind of this TaskDetails.
Return type:str