PostMetricDataDetails¶
- class oci.monitoring.models.PostMetricDataDetails(**kwargs)¶
Bases:
objectAn array of metric objects containing raw metric data points to be posted to the Monitoring service.
Attributes:
A constant which can be used with the batch_atomicity property of a PostMetricDataDetails.
A constant which can be used with the batch_atomicity property of a PostMetricDataDetails.
Gets the batch_atomicity of this PostMetricDataDetails.
[Required] Gets the metric_data of this PostMetricDataDetails.
Methods:
__init__(**kwargs)Initializes a new PostMetricDataDetails object with values from keyword arguments.
- BATCH_ATOMICITY_ATOMIC = 'ATOMIC'¶
A constant which can be used with the batch_atomicity property of a PostMetricDataDetails. This constant has a value of “ATOMIC”
- BATCH_ATOMICITY_NON_ATOMIC = 'NON_ATOMIC'¶
A constant which can be used with the batch_atomicity property of a PostMetricDataDetails. This constant has a value of “NON_ATOMIC”
- __init__(**kwargs)¶
Initializes a new PostMetricDataDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
metric_data (list[oci.monitoring.models.MetricDataDetails]) – The value to assign to the metric_data property of this PostMetricDataDetails.
batch_atomicity (str) – The value to assign to the batch_atomicity property of this PostMetricDataDetails. Allowed values for this property are: “ATOMIC”, “NON_ATOMIC”
- property batch_atomicity¶
Gets the batch_atomicity of this PostMetricDataDetails. Batch atomicity behavior. Requires either partial or full pass of input validation for metric objects in PostMetricData requests. The default value of NON_ATOMIC requires a partial pass: at least one metric object in the request must pass input validation, and any objects that failed validation are identified in the returned summary, along with their error messages. A value of ATOMIC requires a full pass: all metric objects in the request must pass input validation.
Example: NON_ATOMIC
Allowed values for this property are: “ATOMIC”, “NON_ATOMIC”
- Returns
The batch_atomicity of this PostMetricDataDetails.
- Return type
str
- property metric_data¶
[Required] Gets the metric_data of this PostMetricDataDetails. A metric object containing raw metric data points to be posted to the Monitoring service.
- Returns
The metric_data of this PostMetricDataDetails.
- Return type