PostMetricDataResponseDetails

class oci.monitoring.models.PostMetricDataResponseDetails(**kwargs)

Bases: object

The response object returned from a PostMetricData operation.

Methods

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

Attributes

failed_metrics Gets the failed_metrics of this PostMetricDataResponseDetails.
failed_metrics_count [Required] Gets the failed_metrics_count of this PostMetricDataResponseDetails.
__init__(**kwargs)

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

Parameters:
  • failed_metrics_count (int) – The value to assign to the failed_metrics_count property of this PostMetricDataResponseDetails.
  • failed_metrics (list[oci.monitoring.models.FailedMetricRecord]) – The value to assign to the failed_metrics property of this PostMetricDataResponseDetails.
failed_metrics

Gets the failed_metrics of this PostMetricDataResponseDetails. A list of records identifying metric objects that failed input validation and the reasons for the failures.

Returns:The failed_metrics of this PostMetricDataResponseDetails.
Return type:list[oci.monitoring.models.FailedMetricRecord]
failed_metrics_count

[Required] Gets the failed_metrics_count of this PostMetricDataResponseDetails. The number of metric objects that failed input validation.

Returns:The failed_metrics_count of this PostMetricDataResponseDetails.
Return type:int