UnifiedAgentLoggingConfiguration

class oci.logging.models.UnifiedAgentLoggingConfiguration(**kwargs)

Bases: oci.logging.models.unified_agent_service_configuration_details.UnifiedAgentServiceConfigurationDetails

Unified Agent logging service configuration object.

Attributes

CONFIGURATION_TYPE_LOGGING str(object=’’) -> str
CONFIGURATION_TYPE_MONITORING str(object=’’) -> str
configuration_type [Required] Gets the configuration_type of this UnifiedAgentServiceConfigurationDetails.
destination [Required] Gets the destination of this UnifiedAgentLoggingConfiguration.
filter Gets the filter of this UnifiedAgentLoggingConfiguration.
sources [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'
CONFIGURATION_TYPE_MONITORING = 'MONITORING'
__init__(**kwargs)

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

Parameters:
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
destination

[Required] Gets the destination of this UnifiedAgentLoggingConfiguration.

Returns:The destination of this UnifiedAgentLoggingConfiguration.
Return type:oci.logging.models.UnifiedAgentLoggingDestination
filter

Gets the filter of this UnifiedAgentLoggingConfiguration. Logging filter object.

Returns:The filter of this UnifiedAgentLoggingConfiguration.
Return type:list[oci.logging.models.UnifiedAgentLoggingFilter]
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.

sources

[Required] Gets the sources of this UnifiedAgentLoggingConfiguration. Logging source object.

Returns:The sources of this UnifiedAgentLoggingConfiguration.
Return type:list[oci.logging.models.UnifiedAgentLoggingSource]