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 [Required] Gets the configuration_type of this UnifiedAgentServiceConfigurationDetails.
destination Gets the destination of this UnifiedAgentLoggingConfiguration.
sources 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'
__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 (str) – The value to assign to the configuration_type property of this UnifiedAgentLoggingConfiguration. Allowed values for this property are: “LOGGING”
  • sources (list[oci.logging.models.UnifiedAgentLoggingSource]) – The value to assign to the sources property of this UnifiedAgentLoggingConfiguration.
  • destination (oci.logging.models.UnifiedAgentLoggingDestination) – The value to assign to the destination property of this UnifiedAgentLoggingConfiguration.
configuration_type

[Required] Gets the configuration_type of this UnifiedAgentServiceConfigurationDetails. Type of Unified Agent service configuration.

Allowed values for this property are: “LOGGING”, ‘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

Gets the destination of this UnifiedAgentLoggingConfiguration.

Returns:The destination of this UnifiedAgentLoggingConfiguration.
Return type:oci.logging.models.UnifiedAgentLoggingDestination
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

Gets the sources of this UnifiedAgentLoggingConfiguration.

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