LogAnalyticsSourceMetric

class oci.log_analytics.models.LogAnalyticsSourceMetric(**kwargs)

Bases: object

Methods

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

Attributes

entity_type Gets the entity_type of this LogAnalyticsSourceMetric.
is_metric_source_enabled Gets the is_metric_source_enabled of this LogAnalyticsSourceMetric.
metric_name Gets the metric_name of this LogAnalyticsSourceMetric.
source_name Gets the source_name of this LogAnalyticsSourceMetric.
__init__(**kwargs)

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

Parameters:
  • is_metric_source_enabled (bool) – The value to assign to the is_metric_source_enabled property of this LogAnalyticsSourceMetric.
  • metric_name (str) – The value to assign to the metric_name property of this LogAnalyticsSourceMetric.
  • source_name (str) – The value to assign to the source_name property of this LogAnalyticsSourceMetric.
  • entity_type (str) – The value to assign to the entity_type property of this LogAnalyticsSourceMetric.
entity_type

Gets the entity_type of this LogAnalyticsSourceMetric. The entity type.

Returns:The entity_type of this LogAnalyticsSourceMetric.
Return type:str
is_metric_source_enabled

Gets the is_metric_source_enabled of this LogAnalyticsSourceMetric. A flag specifying whether or not the metric source is enabled.

Returns:The is_metric_source_enabled of this LogAnalyticsSourceMetric.
Return type:bool
metric_name

Gets the metric_name of this LogAnalyticsSourceMetric. The metric name.

Returns:The metric_name of this LogAnalyticsSourceMetric.
Return type:str
source_name

Gets the source_name of this LogAnalyticsSourceMetric. The source internal name.

Returns:The source_name of this LogAnalyticsSourceMetric.
Return type:str