azure-docs-sdk-java/docs-ref-autogen/com.azure.monitor.query.mod...

117 строки
7.1 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.monitor.query.models.MetricValue"
fullName: "com.azure.monitor.query.models.MetricValue"
name: "MetricValue"
nameWithType: "MetricValue"
summary: "Represents a metric value."
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 **MetricValue**"
constructors:
- uid: "com.azure.monitor.query.models.MetricValue.MetricValue(java.time.OffsetDateTime,java.lang.Double,java.lang.Double,java.lang.Double,java.lang.Double,java.lang.Double)"
fullName: "com.azure.monitor.query.models.MetricValue.MetricValue(OffsetDateTime timeStamp, Double average, Double minimum, Double maximum, Double total, Double count)"
name: "MetricValue(OffsetDateTime timeStamp, Double average, Double minimum, Double maximum, Double total, Double count)"
nameWithType: "MetricValue.MetricValue(OffsetDateTime timeStamp, Double average, Double minimum, Double maximum, Double total, Double count)"
summary: "Creates an instance of <xref uid=\"com.azure.monitor.query.models.MetricValue\" data-throw-if-not-resolved=\"false\" data-raw-source=\"MetricValue\"></xref>."
parameters:
- description: "the timestamp for the metric value in ISO 8601 format."
name: "timeStamp"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
- description: "the average value in the time range."
name: "average"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html\">Double</a>"
- description: "the least value in the time range."
name: "minimum"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html\">Double</a>"
- description: "the greatest value in the time range."
name: "maximum"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html\">Double</a>"
- description: "the sum of all of the values in the time range."
name: "total"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html\">Double</a>"
- description: "the number of samples in the time range."
name: "count"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html\">Double</a>"
syntax: "public MetricValue(OffsetDateTime timeStamp, Double average, Double minimum, Double maximum, Double total, Double count)"
desc: "Creates an instance of <xref uid=\"com.azure.monitor.query.models.MetricValue\" data-throw-if-not-resolved=\"false\" data-raw-source=\"MetricValue\"></xref>."
methods:
- uid: "com.azure.monitor.query.models.MetricValue.getAverage()"
fullName: "com.azure.monitor.query.models.MetricValue.getAverage()"
name: "getAverage()"
nameWithType: "MetricValue.getAverage()"
summary: "Returns the average value in the time range."
syntax: "public Double getAverage()"
desc: "Returns the average value in the time range."
returns:
description: "the average value in the time range."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html\">Double</a>"
- uid: "com.azure.monitor.query.models.MetricValue.getCount()"
fullName: "com.azure.monitor.query.models.MetricValue.getCount()"
name: "getCount()"
nameWithType: "MetricValue.getCount()"
summary: "Returns the number of samples in the time range."
syntax: "public Double getCount()"
desc: "Returns the number of samples in the time range."
returns:
description: "the number of samples in the time range."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html\">Double</a>"
- uid: "com.azure.monitor.query.models.MetricValue.getMaximum()"
fullName: "com.azure.monitor.query.models.MetricValue.getMaximum()"
name: "getMaximum()"
nameWithType: "MetricValue.getMaximum()"
summary: "Returns the greatest value in the time range."
syntax: "public Double getMaximum()"
desc: "Returns the greatest value in the time range."
returns:
description: "the greatest value in the time range."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html\">Double</a>"
- uid: "com.azure.monitor.query.models.MetricValue.getMinimum()"
fullName: "com.azure.monitor.query.models.MetricValue.getMinimum()"
name: "getMinimum()"
nameWithType: "MetricValue.getMinimum()"
summary: "Returns the least value in the time range."
syntax: "public Double getMinimum()"
desc: "Returns the least value in the time range."
returns:
description: "the least value in the time range."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html\">Double</a>"
- uid: "com.azure.monitor.query.models.MetricValue.getTimeStamp()"
fullName: "com.azure.monitor.query.models.MetricValue.getTimeStamp()"
name: "getTimeStamp()"
nameWithType: "MetricValue.getTimeStamp()"
summary: "Returns the timestamp for the metric value in ISO 8601 format."
syntax: "public OffsetDateTime getTimeStamp()"
desc: "Returns the timestamp for the metric value in ISO 8601 format."
returns:
description: "the timestamp for the metric value in ISO 8601 format."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html\">OffsetDateTime</a>"
- uid: "com.azure.monitor.query.models.MetricValue.getTotal()"
fullName: "com.azure.monitor.query.models.MetricValue.getTotal()"
name: "getTotal()"
nameWithType: "MetricValue.getTotal()"
summary: "Returns the sum of all of the values in the time range."
syntax: "public Double getTotal()"
desc: "Returns the sum of all of the values in the time range."
returns:
description: "the sum of all of the values in the time range."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Double.html\">Double</a>"
type: "class"
desc: "Represents a metric value."
metadata: {}
package: "com.azure.monitor.query.models"
artifact: com.azure:azure-monitor-query:1.1.2