UnifiedAgentMonitoringUrlSource

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

Bases: object

Kubernetes source object.

Methods

__init__(**kwargs) Initializes a new UnifiedAgentMonitoringUrlSource object with values from keyword arguments.

Attributes

name [Required] Gets the name of this UnifiedAgentMonitoringUrlSource.
scrape_targets [Required] Gets the scrape_targets of this UnifiedAgentMonitoringUrlSource.
__init__(**kwargs)

Initializes a new UnifiedAgentMonitoringUrlSource object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • name (str) – The value to assign to the name property of this UnifiedAgentMonitoringUrlSource.
  • scrape_targets (list[oci.logging.models.UnifiedAgentUrlScrapeTarget]) – The value to assign to the scrape_targets property of this UnifiedAgentMonitoringUrlSource.
name

[Required] Gets the name of this UnifiedAgentMonitoringUrlSource. Unique name for the source.

Returns:The name of this UnifiedAgentMonitoringUrlSource.
Return type:str
scrape_targets

[Required] Gets the scrape_targets of this UnifiedAgentMonitoringUrlSource. List of UnifiedAgentKubernetesScrapeTarget.

Returns:The scrape_targets of this UnifiedAgentMonitoringUrlSource.
Return type:list[oci.logging.models.UnifiedAgentUrlScrapeTarget]