DependentParser

class oci.log_analytics.models.DependentParser(**kwargs)

Bases: object

A parser used by another parser.

Attributes

PARSER_TYPE_DELIMITED A constant which can be used with the parser_type property of a DependentParser.
PARSER_TYPE_JSON A constant which can be used with the parser_type property of a DependentParser.
PARSER_TYPE_ODL A constant which can be used with the parser_type property of a DependentParser.
PARSER_TYPE_REGEX A constant which can be used with the parser_type property of a DependentParser.
PARSER_TYPE_XML A constant which can be used with the parser_type property of a DependentParser.
dependencies Gets the dependencies of this DependentParser.
is_system Gets the is_system of this DependentParser.
parser_display_name Gets the parser_display_name of this DependentParser.
parser_id Gets the parser_id of this DependentParser.
parser_name Gets the parser_name of this DependentParser.
parser_type Gets the parser_type of this DependentParser.

Methods

__init__(**kwargs) Initializes a new DependentParser object with values from keyword arguments.
PARSER_TYPE_DELIMITED = 'DELIMITED'

A constant which can be used with the parser_type property of a DependentParser. This constant has a value of “DELIMITED”

PARSER_TYPE_JSON = 'JSON'

A constant which can be used with the parser_type property of a DependentParser. This constant has a value of “JSON”

PARSER_TYPE_ODL = 'ODL'

A constant which can be used with the parser_type property of a DependentParser. This constant has a value of “ODL”

PARSER_TYPE_REGEX = 'REGEX'

A constant which can be used with the parser_type property of a DependentParser. This constant has a value of “REGEX”

PARSER_TYPE_XML = 'XML'

A constant which can be used with the parser_type property of a DependentParser. This constant has a value of “XML”

__init__(**kwargs)

Initializes a new DependentParser object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • parser_name (str) – The value to assign to the parser_name property of this DependentParser.
  • parser_display_name (str) – The value to assign to the parser_display_name property of this DependentParser.
  • parser_id (int) – The value to assign to the parser_id property of this DependentParser.
  • is_system (bool) – The value to assign to the is_system property of this DependentParser.
  • parser_type (str) – The value to assign to the parser_type property of this DependentParser. Allowed values for this property are: “XML”, “JSON”, “REGEX”, “ODL”, “DELIMITED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • dependencies (list[oci.log_analytics.models.Dependency]) – The value to assign to the dependencies property of this DependentParser.
dependencies

Gets the dependencies of this DependentParser. The list of dependencies of the parser.

Returns:The dependencies of this DependentParser.
Return type:list[oci.log_analytics.models.Dependency]
is_system

Gets the is_system of this DependentParser. The system flag. A value of false denotes a custom, or user defined object. A value of true denotes a built in object.

Returns:The is_system of this DependentParser.
Return type:bool
parser_display_name

Gets the parser_display_name of this DependentParser. The parser display name.

Returns:The parser_display_name of this DependentParser.
Return type:str
parser_id

Gets the parser_id of this DependentParser. The parser unique identifier.

Returns:The parser_id of this DependentParser.
Return type:int
parser_name

Gets the parser_name of this DependentParser. The parser name.

Returns:The parser_name of this DependentParser.
Return type:str
parser_type

Gets the parser_type of this DependentParser. The parser type

Allowed values for this property are: “XML”, “JSON”, “REGEX”, “ODL”, “DELIMITED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The parser_type of this DependentParser.
Return type:str