MonitoringSource¶
-
class
oci.sch.models.MonitoringSource(**kwargs)¶ Bases:
objectA compartment-specific list of metric namespaces to retrieve data from.
Methods
__init__(**kwargs)Initializes a new MonitoringSource object with values from keyword arguments. Attributes
compartment_id[Required] Gets the compartment_id of this MonitoringSource. namespace_details[Required] Gets the namespace_details of this MonitoringSource. -
__init__(**kwargs)¶ Initializes a new MonitoringSource object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - compartment_id (str) – The value to assign to the compartment_id property of this MonitoringSource.
- namespace_details (oci.sch.models.MonitoringSourceNamespaceDetails) – The value to assign to the namespace_details property of this MonitoringSource.
-
compartment_id¶ [Required] Gets the compartment_id of this MonitoringSource. The OCID of a compartment containing metric namespaces you want to use for the Monitoring source.
Returns: The compartment_id of this MonitoringSource. Return type: str
-
namespace_details¶ [Required] Gets the namespace_details of this MonitoringSource.
Returns: The namespace_details of this MonitoringSource. Return type: oci.sch.models.MonitoringSourceNamespaceDetails
-