MetricDefinitions Interface
Implements
public interface MetricDefinitions
extends HasManager<MonitorManager>
Entry point for Monitor Metric Definitions API.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Paged |
listByResource(String resourceId)
Lists Metric Definitions for a given resource. |
abstract
Paged |
listByResourceAsync(String resourceId)
Lists Metric Definitions for a given resource. |
Method Details
listByResource
public abstract PagedIterable
Lists Metric Definitions for a given resource.
Parameters:
resourceId
- The resource Id.
Returns:
list of metric definitions.
listByResourceAsync
public abstract PagedFlux
Lists Metric Definitions for a given resource.
Parameters:
resourceId
- The resource Id.
Returns:
a representation of the deferred computation of Metric Definitions list call.
Applies to
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.
Azure SDK for Java