UnifiedAgentKubernetesSource¶
- class oci.logging.models.UnifiedAgentKubernetesSource(**kwargs)¶
Bases:
objectKubernetes source object.
Methods:
__init__(**kwargs)Initializes a new UnifiedAgentKubernetesSource object with values from keyword arguments.
Attributes:
[Required] Gets the name of this UnifiedAgentKubernetesSource.
[Required] Gets the scrape_targets of this UnifiedAgentKubernetesSource.
- __init__(**kwargs)¶
Initializes a new UnifiedAgentKubernetesSource 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 UnifiedAgentKubernetesSource.
scrape_targets (list[oci.logging.models.UnifiedAgentKubernetesScrapeTarget]) – The value to assign to the scrape_targets property of this UnifiedAgentKubernetesSource.
- property name¶
[Required] Gets the name of this UnifiedAgentKubernetesSource. Unique name for the source.
- Returns
The name of this UnifiedAgentKubernetesSource.
- Return type
str
- property scrape_targets¶
[Required] Gets the scrape_targets of this UnifiedAgentKubernetesSource. List of UnifiedAgentKubernetesScrapeTarget.
- Returns
The scrape_targets of this UnifiedAgentKubernetesSource.
- Return type