FailedMetricRecord¶
-
class
oci.monitoring.models.
FailedMetricRecord
(**kwargs)¶ Bases:
object
The record of a single metric object that failed input validation and the reason for the failure.
Methods
__init__
(**kwargs)Initializes a new FailedMetricRecord object with values from keyword arguments. Attributes
message
[Required] Gets the message of this FailedMetricRecord. metric_data
[Required] Gets the metric_data of this FailedMetricRecord. -
__init__
(**kwargs)¶ Initializes a new FailedMetricRecord object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - message (str) – The value to assign to the message property of this FailedMetricRecord.
- metric_data (oci.monitoring.models.MetricDataDetails) – The value to assign to the metric_data property of this FailedMetricRecord.
-
message
¶ [Required] Gets the message of this FailedMetricRecord. An error message indicating the reason that the indicated metric object failed input validation.
Returns: The message of this FailedMetricRecord. Return type: str
-
metric_data
¶ [Required] Gets the metric_data of this FailedMetricRecord. Identifier of a metric object that failed input validation.
Returns: The metric_data of this FailedMetricRecord. Return type: oci.monitoring.models.MetricDataDetails
-