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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for Java