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

149 строки
9.7 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.monitor.models.MetricDefinition"
fullName: "com.azure.resourcemanager.monitor.models.MetricDefinition"
name: "MetricDefinition"
nameWithType: "MetricDefinition"
summary: "The Azure metric definition entries are of type Metric<wbr>Definition."
syntax: "public interface **MetricDefinition**</br> extends <xref href=\"com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager?alt=com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager&text=HasManager\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.monitor.MonitorManager?alt=com.azure.resourcemanager.monitor.MonitorManager&text=MonitorManager\" data-throw-if-not-resolved=\"False\" />&gt;, <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.MetricDefinitionInner?alt=com.azure.resourcemanager.monitor.fluent.models.MetricDefinitionInner&text=MetricDefinitionInner\" data-throw-if-not-resolved=\"False\" />&gt;"
methods:
- uid: "com.azure.resourcemanager.monitor.models.MetricDefinition.defineQuery()"
fullName: "com.azure.resourcemanager.monitor.models.MetricDefinition.defineQuery()"
name: "defineQuery()"
nameWithType: "MetricDefinition.defineQuery()"
summary: "Begins a definition for a new resource Metric query."
modifiers:
- "abstract"
syntax: "public abstract MetricDefinition.MetricsQueryDefinitionStages.WithMetricStartTimeFilter defineQuery()"
desc: "Begins a definition for a new resource Metric query."
returns:
description: "the stage of start time filter definition."
type: "<xref href=\"com.azure.resourcemanager.monitor.models.MetricDefinition.MetricsQueryDefinitionStages.WithMetricStartTimeFilter?alt=com.azure.resourcemanager.monitor.models.MetricDefinition.MetricsQueryDefinitionStages.WithMetricStartTimeFilter&text=WithMetricStartTimeFilter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.MetricDefinition.dimensions()"
fullName: "com.azure.resourcemanager.monitor.models.MetricDefinition.dimensions()"
name: "dimensions()"
nameWithType: "MetricDefinition.dimensions()"
summary: "the name and the display name of the dimension, i.<wbr>e."
modifiers:
- "abstract"
syntax: "public abstract List<LocalizableString> dimensions()"
desc: "the name and the display name of the dimension, i.e. it is a localizable string."
returns:
description: "the list of dimension values."
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.LocalizableString?alt=com.azure.resourcemanager.monitor.models.LocalizableString&text=LocalizableString\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.monitor.models.MetricDefinition.id()"
fullName: "com.azure.resourcemanager.monitor.models.MetricDefinition.id()"
name: "id()"
nameWithType: "MetricDefinition.id()"
summary: "Get the id value."
modifiers:
- "abstract"
syntax: "public abstract String id()"
desc: "Get the id value."
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.MetricDefinition.isDimensionRequired()"
fullName: "com.azure.resourcemanager.monitor.models.MetricDefinition.isDimensionRequired()"
name: "isDimensionRequired()"
nameWithType: "MetricDefinition.isDimensionRequired()"
summary: "Get the is<wbr>Dimension<wbr>Required value."
modifiers:
- "abstract"
syntax: "public abstract boolean isDimensionRequired()"
desc: "Get the isDimensionRequired value."
returns:
description: "the isDimensionRequired value"
type: "<xref href=\"boolean?alt=boolean&text=boolean\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.MetricDefinition.metricAvailabilities()"
fullName: "com.azure.resourcemanager.monitor.models.MetricDefinition.metricAvailabilities()"
name: "metricAvailabilities()"
nameWithType: "MetricDefinition.metricAvailabilities()"
summary: "Get the metric<wbr>Availabilities value."
modifiers:
- "abstract"
syntax: "public abstract List<MetricAvailability> metricAvailabilities()"
desc: "Get the metricAvailabilities value."
returns:
description: "the metricAvailabilities 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.MetricAvailability?alt=com.azure.resourcemanager.monitor.models.MetricAvailability&text=MetricAvailability\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.monitor.models.MetricDefinition.name()"
fullName: "com.azure.resourcemanager.monitor.models.MetricDefinition.name()"
name: "name()"
nameWithType: "MetricDefinition.name()"
summary: "Get the name value."
modifiers:
- "abstract"
syntax: "public abstract LocalizableString name()"
desc: "Get the name value."
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.MetricDefinition.namespace()"
fullName: "com.azure.resourcemanager.monitor.models.MetricDefinition.namespace()"
name: "namespace()"
nameWithType: "MetricDefinition.namespace()"
summary: "Get the namespace value."
modifiers:
- "abstract"
syntax: "public abstract String namespace()"
desc: "Get the namespace value."
returns:
description: "the namespace value"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.monitor.models.MetricDefinition.primaryAggregationType()"
fullName: "com.azure.resourcemanager.monitor.models.MetricDefinition.primaryAggregationType()"
name: "primaryAggregationType()"
nameWithType: "MetricDefinition.primaryAggregationType()"
summary: "Get the primary<wbr>Aggregation<wbr>Type value."
modifiers:
- "abstract"
syntax: "public abstract AggregationType primaryAggregationType()"
desc: "Get the primaryAggregationType value."
returns:
description: "the primaryAggregationType value"
type: "<xref href=\"com.azure.resourcemanager.monitor.models.AggregationType?alt=com.azure.resourcemanager.monitor.models.AggregationType&text=AggregationType\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.monitor.models.MetricDefinition.resourceId()"
fullName: "com.azure.resourcemanager.monitor.models.MetricDefinition.resourceId()"
name: "resourceId()"
nameWithType: "MetricDefinition.resourceId()"
summary: "Get the resource<wbr>Id value."
modifiers:
- "abstract"
syntax: "public abstract String resourceId()"
desc: "Get the resourceId value."
returns:
description: "the resourceId value"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.resourcemanager.monitor.models.MetricDefinition.supportedAggregationTypes()"
fullName: "com.azure.resourcemanager.monitor.models.MetricDefinition.supportedAggregationTypes()"
name: "supportedAggregationTypes()"
nameWithType: "MetricDefinition.supportedAggregationTypes()"
summary: "the collection of what aggregation types are supported."
modifiers:
- "abstract"
syntax: "public abstract List<AggregationType> supportedAggregationTypes()"
desc: "the collection of what aggregation types are supported."
returns:
description: "the list of supported aggregation type values."
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.AggregationType?alt=com.azure.resourcemanager.monitor.models.AggregationType&text=AggregationType\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.monitor.models.MetricDefinition.unit()"
fullName: "com.azure.resourcemanager.monitor.models.MetricDefinition.unit()"
name: "unit()"
nameWithType: "MetricDefinition.unit()"
summary: "Get the unit value."
modifiers:
- "abstract"
syntax: "public abstract Unit unit()"
desc: "Get the unit value."
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 definition entries are of type MetricDefinition."
implements:
- "<xref href=\"com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager?alt=com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager&text=HasManager\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.monitor.MonitorManager?alt=com.azure.resourcemanager.monitor.MonitorManager&text=MonitorManager\" data-throw-if-not-resolved=\"False\" />&gt;"
- "<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.MetricDefinitionInner?alt=com.azure.resourcemanager.monitor.fluent.models.MetricDefinitionInner&text=MetricDefinitionInner\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.monitor.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-monitor:2.42.0