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
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for Java