UnifiedAgentLoggingConfiguration¶
- class oci.logging.models.UnifiedAgentLoggingConfiguration(**kwargs)¶
Bases:
UnifiedAgentServiceConfigurationDetailsUnified Agent logging service configuration object.
Attributes:
A constant which can be used with the configuration_type property of a UnifiedAgentServiceConfigurationDetails.
A constant which can be used with the configuration_type property of a UnifiedAgentServiceConfigurationDetails.
[Required] Gets the configuration_type of this UnifiedAgentServiceConfigurationDetails.
[Required] Gets the destination of this UnifiedAgentLoggingConfiguration.
Gets the filter of this UnifiedAgentLoggingConfiguration.
[Required] Gets the sources of this UnifiedAgentLoggingConfiguration.
Methods:
__init__(**kwargs)Initializes a new UnifiedAgentLoggingConfiguration 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.
- CONFIGURATION_TYPE_LOGGING = 'LOGGING'¶
A constant which can be used with the configuration_type property of a UnifiedAgentServiceConfigurationDetails. This constant has a value of “LOGGING”
- CONFIGURATION_TYPE_MONITORING = 'MONITORING'¶
A constant which can be used with the configuration_type property of a UnifiedAgentServiceConfigurationDetails. This constant has a value of “MONITORING”
- __init__(**kwargs)¶
Initializes a new UnifiedAgentLoggingConfiguration object with values from keyword arguments. The default value of the
configuration_typeattribute of this class isLOGGINGand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
configuration_type (str) – The value to assign to the configuration_type property of this UnifiedAgentLoggingConfiguration. Allowed values for this property are: “LOGGING”, “MONITORING”
sources (list[oci.logging.models.UnifiedAgentLoggingSource]) – The value to assign to the sources property of this UnifiedAgentLoggingConfiguration.
filter (list[oci.logging.models.UnifiedAgentLoggingFilter]) – The value to assign to the filter property of this UnifiedAgentLoggingConfiguration.
destination (oci.logging.models.UnifiedAgentLoggingDestination) – The value to assign to the destination property of this UnifiedAgentLoggingConfiguration.
- property configuration_type¶
[Required] Gets the configuration_type of this UnifiedAgentServiceConfigurationDetails. Type of Unified Agent service configuration.
Allowed values for this property are: “LOGGING”, “MONITORING”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The configuration_type of this UnifiedAgentServiceConfigurationDetails.
- Return type
str
- property destination¶
[Required] Gets the destination of this UnifiedAgentLoggingConfiguration.
- Returns
The destination of this UnifiedAgentLoggingConfiguration.
- Return type
- property filter¶
Gets the filter of this UnifiedAgentLoggingConfiguration. Logging filter object.
- Returns
The filter of this UnifiedAgentLoggingConfiguration.
- Return type
- 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 sources¶
[Required] Gets the sources of this UnifiedAgentLoggingConfiguration. Logging source object.
- Returns
The sources of this UnifiedAgentLoggingConfiguration.
- Return type