UnifiedAgentLoggingConfiguration

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

Bases: UnifiedAgentServiceConfigurationDetails

Unified Agent logging service configuration object.

Attributes:

CONFIGURATION_TYPE_LOGGING

A constant which can be used with the configuration_type property of a UnifiedAgentServiceConfigurationDetails.

CONFIGURATION_TYPE_MONITORING

A constant which can be used with the configuration_type property of a UnifiedAgentServiceConfigurationDetails.

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'

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_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
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

oci.logging.models.UnifiedAgentLoggingDestination

property 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.

property sources

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

Returns

The sources of this UnifiedAgentLoggingConfiguration.

Return type

list[oci.logging.models.UnifiedAgentLoggingSource]