EventType¶
- class oci.log_analytics.models.EventType(**kwargs)¶
Bases:
objectThe event type.
Methods:
__init__(**kwargs)Initializes a new EventType object with values from keyword arguments.
Attributes:
Gets the event_type_name of this EventType.
Gets the is_enabled of this EventType.
Gets the is_system of this EventType.
Gets the spec_version of this EventType.
Gets the time_updated of this EventType.
- __init__(**kwargs)¶
Initializes a new EventType object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
event_type_name (str) – The value to assign to the event_type_name property of this EventType.
spec_version (str) – The value to assign to the spec_version property of this EventType.
is_enabled (bool) – The value to assign to the is_enabled property of this EventType.
is_system (bool) – The value to assign to the is_system property of this EventType.
time_updated (datetime) – The value to assign to the time_updated property of this EventType.
- property event_type_name¶
Gets the event_type_name of this EventType. The name of the event type.
- Returns
The event_type_name of this EventType.
- Return type
str
- property is_enabled¶
Gets the is_enabled of this EventType. A flag indicating whether or not the event type is enabled.
- Returns
The is_enabled of this EventType.
- Return type
bool
- property is_system¶
Gets the is_system of this EventType. A flag indicating whether or not the event type is user defined.
- Returns
The is_system of this EventType.
- Return type
bool
- property spec_version¶
Gets the spec_version of this EventType. The version.
- Returns
The spec_version of this EventType.
- Return type
str
- property time_updated¶
Gets the time_updated of this EventType. The last updated time.
- Returns
The time_updated of this EventType.
- Return type
datetime