UnifiedAgentUrlConfigurationDetails

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

Bases: UnifiedAgentMonitoringApplicationConfigurationDetails

Unified Agent scrape URL 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 UnifiedAgentUrlConfigurationDetails.

filter

Gets the filter of this UnifiedAgentUrlConfigurationDetails.

source

[Required] Gets the source of this UnifiedAgentUrlConfigurationDetails.

source_type

[Required] Gets the source_type of this UnifiedAgentMonitoringApplicationConfigurationDetails.

Methods:

__init__(**kwargs)

Initializes a new UnifiedAgentUrlConfigurationDetails 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 UnifiedAgentUrlConfigurationDetails object with values from keyword arguments. The default value of the source_type attribute of this class is URL and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
property destination

[Required] Gets the destination of this UnifiedAgentUrlConfigurationDetails.

Returns

The destination of this UnifiedAgentUrlConfigurationDetails.

Return type

oci.logging.models.UnifiedAgentMonitoringDestination

property filter

Gets the filter of this UnifiedAgentUrlConfigurationDetails.

Returns

The filter of this UnifiedAgentUrlConfigurationDetails.

Return type

oci.logging.models.UnifiedAgentUrlFilter

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

[Required] Gets the source of this UnifiedAgentUrlConfigurationDetails.

Returns

The source of this UnifiedAgentUrlConfigurationDetails.

Return type

oci.logging.models.UnifiedAgentMonitoringUrlSource

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