AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
A GetMetricData
call returns an array of MetricDataResult
structures.
Each of these structures includes the data points for that metric, along with the
timestamps of those data points and other identifying information.
Namespace: Amazon.CloudWatch.Model
Assembly: AWSSDK.CloudWatch.dll
Version: 3.x.y.z
public class MetricDataResult
The MetricDataResult type exposes the following members
Name | Description | |
---|---|---|
MetricDataResult() |
Name | Type | Description | |
---|---|---|---|
Id | System.String |
Gets and sets the property Id. The short name you specified to represent this metric. |
|
Label | System.String |
Gets and sets the property Label. The human-readable label associated with the data. |
|
Messages | System.Collections.Generic.List<Amazon.CloudWatch.Model.MessageData> |
Gets and sets the property Messages. A list of messages with additional information about the data returned. |
|
StatusCode | Amazon.CloudWatch.StatusCode |
Gets and sets the property StatusCode.
The status of the returned data. |
|
Timestamps | System.Collections.Generic.List<System.DateTime> |
Gets and sets the property Timestamps. The timestamps for the data points, formatted in Unix timestamp format. The number of timestamps always matches the number of values and the value for Timestamps[x] is Values[x]. |
|
Values | System.Collections.Generic.List<System.Double> |
Gets and sets the property Values.
The data points for the metric corresponding to |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5