azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.m...

76 строки
4.2 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.monitor.models.Metric"
fullName: "com.azure.resourcemanager.monitor.models.Metric"
name: "Metric"
nameWithType: "Metric"
summary: "The Azure metric entries are of type Metric."
syntax: "public interface **Metric**</br> extends <xref href=\"com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel?alt=com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel&text=HasInnerModel\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.monitor.fluent.models.MetricInner?alt=com.azure.resourcemanager.monitor.fluent.models.MetricInner&text=MetricInner\" data-throw-if-not-resolved=\"False\" />&gt;"
methods:
- uid: "com.azure.resourcemanager.monitor.models.Metric.id()"
fullName: "com.azure.resourcemanager.monitor.models.Metric.id()"
name: "id()"
nameWithType: "Metric.id()"
summary: "Get the metric Id."
modifiers:
- "abstract"
syntax: "public abstract String id()"
desc: "Get the metric Id."
returns:
description: "the id value"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.monitor.models.Metric.name()"
fullName: "com.azure.resourcemanager.monitor.models.Metric.name()"
name: "name()"
nameWithType: "Metric.name()"
summary: "Get the name and the display name of the metric, i.<wbr>e."
modifiers:
- "abstract"
syntax: "public abstract LocalizableString name()"
desc: "Get the name and the display name of the metric, i.e. it is localizable string."
returns:
description: "the name value"
type: "<xref href=\"com.azure.resourcemanager.monitor.models.LocalizableString?alt=com.azure.resourcemanager.monitor.models.LocalizableString&text=LocalizableString\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.Metric.timeseries()"
fullName: "com.azure.resourcemanager.monitor.models.Metric.timeseries()"
name: "timeseries()"
nameWithType: "Metric.timeseries()"
summary: "Get the time series returned when a data query is performed."
modifiers:
- "abstract"
syntax: "public abstract List<TimeSeriesElement> timeseries()"
desc: "Get the time series returned when a data query is performed."
returns:
description: "the timeseries value"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.monitor.models.TimeSeriesElement?alt=com.azure.resourcemanager.monitor.models.TimeSeriesElement&text=TimeSeriesElement\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.monitor.models.Metric.type()"
fullName: "com.azure.resourcemanager.monitor.models.Metric.type()"
name: "type()"
nameWithType: "Metric.type()"
summary: "Get the resource type of the metric resource."
modifiers:
- "abstract"
syntax: "public abstract String type()"
desc: "Get the resource type of the metric resource."
returns:
description: "the type value"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.monitor.models.Metric.unit()"
fullName: "com.azure.resourcemanager.monitor.models.Metric.unit()"
name: "unit()"
nameWithType: "Metric.unit()"
summary: "Get the unit of the metric."
modifiers:
- "abstract"
syntax: "public abstract Unit unit()"
desc: "Get the unit of the metric."
returns:
description: "the unit value"
type: "<xref href=\"com.azure.resourcemanager.monitor.models.Unit?alt=com.azure.resourcemanager.monitor.models.Unit&text=Unit\" data-throw-if-not-resolved=\"False\" />"
type: "interface"
desc: "The Azure metric entries are of type Metric."
implements:
- "<xref href=\"com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel?alt=com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel&text=HasInnerModel\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.monitor.fluent.models.MetricInner?alt=com.azure.resourcemanager.monitor.fluent.models.MetricInner&text=MetricInner\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.monitor.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-monitor:2.24.0