UnifiedAgentCustomPluginLogSource¶
- class oci.logging.models.UnifiedAgentCustomPluginLogSource(**kwargs)¶
Bases:
UnifiedAgentLoggingSourceUser-customized-source-plugin log source object.
Attributes:
A constant which can be used with the source_type property of a UnifiedAgentLoggingSource.
A constant which can be used with the source_type property of a UnifiedAgentLoggingSource.
A constant which can be used with the source_type property of a UnifiedAgentLoggingSource.
[Required] Gets the custom_plugin of this UnifiedAgentCustomPluginLogSource.
[Required] Gets the name of this UnifiedAgentLoggingSource.
[Required] Gets the source_type of this UnifiedAgentLoggingSource.
Methods:
__init__(**kwargs)Initializes a new UnifiedAgentCustomPluginLogSource 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.
- SOURCE_TYPE_CUSTOM_PLUGIN = 'CUSTOM_PLUGIN'¶
A constant which can be used with the source_type property of a UnifiedAgentLoggingSource. This constant has a value of “CUSTOM_PLUGIN”
- SOURCE_TYPE_LOG_TAIL = 'LOG_TAIL'¶
A constant which can be used with the source_type property of a UnifiedAgentLoggingSource. This constant has a value of “LOG_TAIL”
- SOURCE_TYPE_WINDOWS_EVENT_LOG = 'WINDOWS_EVENT_LOG'¶
A constant which can be used with the source_type property of a UnifiedAgentLoggingSource. This constant has a value of “WINDOWS_EVENT_LOG”
- __init__(**kwargs)¶
Initializes a new UnifiedAgentCustomPluginLogSource object with values from keyword arguments. The default value of the
source_typeattribute of this class isCUSTOM_PLUGINand 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 UnifiedAgentCustomPluginLogSource.
source_type (str) – The value to assign to the source_type property of this UnifiedAgentCustomPluginLogSource. Allowed values for this property are: “LOG_TAIL”, “WINDOWS_EVENT_LOG”, “CUSTOM_PLUGIN”
custom_plugin (str) – The value to assign to the custom_plugin property of this UnifiedAgentCustomPluginLogSource.
- property custom_plugin¶
[Required] Gets the custom_plugin of this UnifiedAgentCustomPluginLogSource. User customized source plugin.
- Returns
The custom_plugin of this UnifiedAgentCustomPluginLogSource.
- 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.
- property name¶
[Required] Gets the name of this UnifiedAgentLoggingSource. Unique name for the source.
- Returns
The name of this UnifiedAgentLoggingSource.
- Return type
str
- property source_type¶
[Required] Gets the source_type of this UnifiedAgentLoggingSource. Unified schema logging source type.
Allowed values for this property are: “LOG_TAIL”, “WINDOWS_EVENT_LOG”, “CUSTOM_PLUGIN”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The source_type of this UnifiedAgentLoggingSource.
- Return type
str