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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java