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

58 строки
3.6 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.monitor.query.models.MetricAvailability"
fullName: "com.azure.monitor.query.models.MetricAvailability"
name: "MetricAvailability"
nameWithType: "MetricAvailability"
summary: "Metric availability specifies the granularity and the retention period for that granularity."
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 **MetricAvailability**"
constructors:
- uid: "com.azure.monitor.query.models.MetricAvailability.MetricAvailability()"
fullName: "com.azure.monitor.query.models.MetricAvailability.MetricAvailability()"
name: "MetricAvailability()"
nameWithType: "MetricAvailability.MetricAvailability()"
summary: "Creates an instance of Metric<wbr>Availability."
syntax: "public MetricAvailability()"
desc: "Creates an instance of MetricAvailability."
methods:
- uid: "com.azure.monitor.query.models.MetricAvailability.getGranularity()"
fullName: "com.azure.monitor.query.models.MetricAvailability.getGranularity()"
name: "getGranularity()"
nameWithType: "MetricAvailability.getGranularity()"
summary: "Returns the granularity specifies the aggregation interval for the metric."
syntax: "public Duration getGranularity()"
desc: "Returns the granularity specifies the aggregation interval for the metric."
returns:
description: "the granularity specifies the aggregation interval for the metric."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
- uid: "com.azure.monitor.query.models.MetricAvailability.getRetention()"
fullName: "com.azure.monitor.query.models.MetricAvailability.getRetention()"
name: "getRetention()"
nameWithType: "MetricAvailability.getRetention()"
summary: "Returns the retention period for the metric at the specified granularity."
syntax: "public Duration getRetention()"
desc: "Returns the retention period for the metric at the specified granularity."
returns:
description: "the retention period for the metric at the specified granularity."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
type: "class"
desc: "Metric availability specifies the granularity and the retention period for that granularity."
metadata: {}
package: "com.azure.monitor.query.models"
artifact: com.azure:azure-monitor-query:1.5.1