Interface MetricDefinitions

All Superinterfaces:
HasInner<com.microsoft.azure.management.monitor.implementation.MetricDefinitionsInner>, HasManager<com.microsoft.azure.management.monitor.implementation.MonitorManager>

public interface MetricDefinitions extends HasManager<com.microsoft.azure.management.monitor.implementation.MonitorManager>, HasInner<com.microsoft.azure.management.monitor.implementation.MetricDefinitionsInner>
Entry point for Monitor Metric Definitions API.
  • Method Details

    • listByResource

      List<MetricDefinition> listByResource(String resourceId)
      Lists Metric Definitions for a given resource.
      Parameters:
      resourceId - The resource Id.
      Returns:
      list of metric definitions.
    • listByResourceAsync

      rx.Observable<MetricDefinition> listByResourceAsync(String resourceId)
      Lists Metric Definitions for a given resource.
      Parameters:
      resourceId - The resource Id.
      Returns:
      a representation of the deferred computation of Metric Definitions list call.