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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure SDK for Java