UnifiedAgentOpenmetricsTailConfigurationDetails

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

Bases: oci.logging.models.unified_agent_monitoring_application_configuration_details.UnifiedAgentMonitoringApplicationConfigurationDetails

Unified Agent Openmetrics tail configuration object.

Attributes

SOURCE_TYPE_KUBERNETES str(object=’’) -> str
SOURCE_TYPE_TAIL str(object=’’) -> str
SOURCE_TYPE_URL str(object=’’) -> str
destination [Required] Gets the destination of this UnifiedAgentOpenmetricsTailConfigurationDetails.
source_type [Required] Gets the source_type of this UnifiedAgentMonitoringApplicationConfigurationDetails.
sources [Required] Gets the sources of this UnifiedAgentOpenmetricsTailConfigurationDetails.

Methods

__init__(**kwargs) Initializes a new UnifiedAgentOpenmetricsTailConfigurationDetails 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_KUBERNETES = 'KUBERNETES'
SOURCE_TYPE_TAIL = 'TAIL'
SOURCE_TYPE_URL = 'URL'
__init__(**kwargs)

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

Parameters:
  • source_type (str) – The value to assign to the source_type property of this UnifiedAgentOpenmetricsTailConfigurationDetails. Allowed values for this property are: “KUBERNETES”, “TAIL”, “URL”
  • sources (list[oci.logging.models.UnifiedAgentTailLogSource]) – The value to assign to the sources property of this UnifiedAgentOpenmetricsTailConfigurationDetails.
  • destination (oci.logging.models.UnifiedAgentMonitoringDestination) – The value to assign to the destination property of this UnifiedAgentOpenmetricsTailConfigurationDetails.
destination

[Required] Gets the destination of this UnifiedAgentOpenmetricsTailConfigurationDetails.

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

source_type

[Required] Gets the source_type of this UnifiedAgentMonitoringApplicationConfigurationDetails. Type of source of metrics

Allowed values for this property are: “KUBERNETES”, “TAIL”, “URL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The source_type of this UnifiedAgentMonitoringApplicationConfigurationDetails.
Return type:str
sources

[Required] Gets the sources of this UnifiedAgentOpenmetricsTailConfigurationDetails. Tail log source objects.

Returns:The sources of this UnifiedAgentOpenmetricsTailConfigurationDetails.
Return type:list[oci.logging.models.UnifiedAgentTailLogSource]