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

48 строки
3.7 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.monitor.models.MetricDefinitions"
fullName: "com.azure.resourcemanager.monitor.models.MetricDefinitions"
name: "MetricDefinitions"
nameWithType: "MetricDefinitions"
summary: "Entry point for Monitor Metric Definitions API."
syntax: "public interface **MetricDefinitions**</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;"
methods:
- uid: "com.azure.resourcemanager.monitor.models.MetricDefinitions.listByResource(java.lang.String)"
fullName: "com.azure.resourcemanager.monitor.models.MetricDefinitions.listByResource(String resourceId)"
name: "listByResource(String resourceId)"
nameWithType: "MetricDefinitions.listByResource(String resourceId)"
summary: "Lists Metric Definitions for a given resource."
modifiers:
- "abstract"
parameters:
- description: "The resource Id."
name: "resourceId"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract PagedIterable<MetricDefinition> listByResource(String resourceId)"
desc: "Lists Metric Definitions for a given resource."
returns:
description: "list of metric definitions."
type: "<xref href=\"com.azure.core.http.rest.PagedIterable?alt=com.azure.core.http.rest.PagedIterable&text=PagedIterable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.monitor.models.MetricDefinition?alt=com.azure.resourcemanager.monitor.models.MetricDefinition&text=MetricDefinition\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.monitor.models.MetricDefinitions.listByResourceAsync(java.lang.String)"
fullName: "com.azure.resourcemanager.monitor.models.MetricDefinitions.listByResourceAsync(String resourceId)"
name: "listByResourceAsync(String resourceId)"
nameWithType: "MetricDefinitions.listByResourceAsync(String resourceId)"
summary: "Lists Metric Definitions for a given resource."
modifiers:
- "abstract"
parameters:
- description: "The resource Id."
name: "resourceId"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public abstract PagedFlux<MetricDefinition> listByResourceAsync(String resourceId)"
desc: "Lists Metric Definitions for a given resource."
returns:
description: "a representation of the deferred computation of Metric Definitions list call."
type: "<xref href=\"com.azure.core.http.rest.PagedFlux?alt=com.azure.core.http.rest.PagedFlux&text=PagedFlux\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.monitor.models.MetricDefinition?alt=com.azure.resourcemanager.monitor.models.MetricDefinition&text=MetricDefinition\" data-throw-if-not-resolved=\"False\" />&gt;"
type: "interface"
desc: "Entry point for Monitor Metric Definitions API."
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;"
metadata: {}
package: "com.azure.resourcemanager.monitor.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-monitor:2.44.0