UnifiedAgentOpenmetricsTailConfigurationDetails

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

Bases: UnifiedAgentMonitoringApplicationConfigurationDetails

Unified Agent Openmetrics tail configuration object.

Attributes:

SOURCE_TYPE_KUBERNETES

A constant which can be used with the source_type property of a UnifiedAgentMonitoringApplicationConfigurationDetails.

SOURCE_TYPE_TAIL

A constant which can be used with the source_type property of a UnifiedAgentMonitoringApplicationConfigurationDetails.

SOURCE_TYPE_URL

A constant which can be used with the source_type property of a UnifiedAgentMonitoringApplicationConfigurationDetails.

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'

A constant which can be used with the source_type property of a UnifiedAgentMonitoringApplicationConfigurationDetails. This constant has a value of “KUBERNETES”

SOURCE_TYPE_TAIL = 'TAIL'

A constant which can be used with the source_type property of a UnifiedAgentMonitoringApplicationConfigurationDetails. This constant has a value of “TAIL”

SOURCE_TYPE_URL = 'URL'

A constant which can be used with the source_type property of a UnifiedAgentMonitoringApplicationConfigurationDetails. This constant has a value of “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.

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

property 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

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