130 строки
8.5 KiB
YAML
130 строки
8.5 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.monitor.query.models.MetricResult"
|
|
fullName: "com.azure.monitor.query.models.MetricResult"
|
|
name: "MetricResult"
|
|
nameWithType: "MetricResult"
|
|
summary: "The metrics result of a query."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
syntax: "public final class **MetricResult**"
|
|
constructors:
|
|
- uid: "com.azure.monitor.query.models.MetricResult.MetricResult(java.lang.String,java.lang.String,com.azure.monitor.query.models.MetricUnit,java.lang.String,java.util.List<com.azure.monitor.query.models.TimeSeriesElement>,java.lang.String,com.azure.core.models.ResponseError)"
|
|
fullName: "com.azure.monitor.query.models.MetricResult.MetricResult(String id, String resourceType, MetricUnit unit, String metricName, List<TimeSeriesElement> timeSeries, String description, ResponseError httpResponseError)"
|
|
name: "MetricResult(String id, String resourceType, MetricUnit unit, String metricName, List<TimeSeriesElement> timeSeries, String description, ResponseError httpResponseError)"
|
|
nameWithType: "MetricResult.MetricResult(String id, String resourceType, MetricUnit unit, String metricName, List<TimeSeriesElement> timeSeries, String description, ResponseError httpResponseError)"
|
|
summary: "Creates an instance of the result data of a query."
|
|
parameters:
|
|
- description: "The metrics id."
|
|
name: "id"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "The resource type of the metrics resource."
|
|
name: "resourceType"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "The metrics unit."
|
|
name: "unit"
|
|
type: "<xref href=\"com.azure.monitor.query.models.MetricUnit?alt=com.azure.monitor.query.models.MetricUnit&text=MetricUnit\" data-throw-if-not-resolved=\"False\" />"
|
|
- description: "The name of the metrics."
|
|
name: "metricName"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "The time series returned when the query is performed."
|
|
name: "timeSeries"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.monitor.query.models.TimeSeriesElement?alt=com.azure.monitor.query.models.TimeSeriesElement&text=TimeSeriesElement\" data-throw-if-not-resolved=\"False\" />>"
|
|
- description: "The display description of the metric."
|
|
name: "description"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- description: "The error information if the request failed to fetch the queried metric."
|
|
name: "httpResponseError"
|
|
type: "<xref href=\"com.azure.core.models.ResponseError?alt=com.azure.core.models.ResponseError&text=ResponseError\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public MetricResult(String id, String resourceType, MetricUnit unit, String metricName, List<TimeSeriesElement> timeSeries, String description, ResponseError httpResponseError)"
|
|
desc: "Creates an instance of the result data of a query."
|
|
methods:
|
|
- uid: "com.azure.monitor.query.models.MetricResult.getDescription()"
|
|
fullName: "com.azure.monitor.query.models.MetricResult.getDescription()"
|
|
name: "getDescription()"
|
|
nameWithType: "MetricResult.getDescription()"
|
|
summary: "Returns the description of the metric."
|
|
syntax: "public String getDescription()"
|
|
desc: "Returns the description of the metric."
|
|
returns:
|
|
description: "the description of the metric."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.monitor.query.models.MetricResult.getError()"
|
|
fullName: "com.azure.monitor.query.models.MetricResult.getError()"
|
|
name: "getError()"
|
|
nameWithType: "MetricResult.getError()"
|
|
summary: "Returns the error message encountered querying this specific metric."
|
|
syntax: "public ResponseError getError()"
|
|
desc: "Returns the error message encountered querying this specific metric."
|
|
returns:
|
|
description: "the error message encountered querying this specific metric."
|
|
type: "<xref href=\"com.azure.core.models.ResponseError?alt=com.azure.core.models.ResponseError&text=ResponseError\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.monitor.query.models.MetricResult.getId()"
|
|
fullName: "com.azure.monitor.query.models.MetricResult.getId()"
|
|
name: "getId()"
|
|
nameWithType: "MetricResult.getId()"
|
|
summary: "Returns the metrics id."
|
|
syntax: "public String getId()"
|
|
desc: "Returns the metrics id."
|
|
returns:
|
|
description: "the metrics id."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.monitor.query.models.MetricResult.getMetricName()"
|
|
fullName: "com.azure.monitor.query.models.MetricResult.getMetricName()"
|
|
name: "getMetricName()"
|
|
nameWithType: "MetricResult.getMetricName()"
|
|
summary: "Returns the name of the metrics."
|
|
syntax: "public String getMetricName()"
|
|
desc: "Returns the name of the metrics."
|
|
returns:
|
|
description: "the name of the metrics."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.monitor.query.models.MetricResult.getResourceType()"
|
|
fullName: "com.azure.monitor.query.models.MetricResult.getResourceType()"
|
|
name: "getResourceType()"
|
|
nameWithType: "MetricResult.getResourceType()"
|
|
summary: "Returns the resource type of the metric resource."
|
|
syntax: "public String getResourceType()"
|
|
desc: "Returns the resource type of the metric resource."
|
|
returns:
|
|
description: "the resource type of the metric resource."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.monitor.query.models.MetricResult.getTimeSeries()"
|
|
fullName: "com.azure.monitor.query.models.MetricResult.getTimeSeries()"
|
|
name: "getTimeSeries()"
|
|
nameWithType: "MetricResult.getTimeSeries()"
|
|
summary: "Returns the time series returned when a data query is performed."
|
|
syntax: "public List<TimeSeriesElement> getTimeSeries()"
|
|
desc: "Returns the time series returned when a data query is performed."
|
|
returns:
|
|
description: "the time series returned when a data query is performed."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<xref href=\"com.azure.monitor.query.models.TimeSeriesElement?alt=com.azure.monitor.query.models.TimeSeriesElement&text=TimeSeriesElement\" data-throw-if-not-resolved=\"False\" />>"
|
|
- uid: "com.azure.monitor.query.models.MetricResult.getUnit()"
|
|
fullName: "com.azure.monitor.query.models.MetricResult.getUnit()"
|
|
name: "getUnit()"
|
|
nameWithType: "MetricResult.getUnit()"
|
|
summary: "Returns the metrics unit of the metrics."
|
|
syntax: "public MetricUnit getUnit()"
|
|
desc: "Returns the metrics unit of the metrics."
|
|
returns:
|
|
description: "the unit of the metrics."
|
|
type: "<xref href=\"com.azure.monitor.query.models.MetricUnit?alt=com.azure.monitor.query.models.MetricUnit&text=MetricUnit\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "The metrics result of a query."
|
|
metadata: {}
|
|
package: "com.azure.monitor.query.models"
|
|
artifact: com.azure:azure-monitor-query:1.5.3
|