UnifiedAgentUrlScrapeTarget

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

Bases: object

Monitoring scrape object.

Methods

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

Attributes

name Gets the name of this UnifiedAgentUrlScrapeTarget.
url [Required] Gets the url of this UnifiedAgentUrlScrapeTarget.
__init__(**kwargs)

Initializes a new UnifiedAgentUrlScrapeTarget 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 UnifiedAgentUrlScrapeTarget.
  • url (str) – The value to assign to the url property of this UnifiedAgentUrlScrapeTarget.
name

Gets the name of this UnifiedAgentUrlScrapeTarget. Custom name.

Returns:The name of this UnifiedAgentUrlScrapeTarget.
Return type:str
url

[Required] Gets the url of this UnifiedAgentUrlScrapeTarget. URL from which the metrics are fetched.

Returns:The url of this UnifiedAgentUrlScrapeTarget.
Return type:str