com.azure.resourcemanager.monitor.models.MetricDefinitions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-monitor Show documentation
Show all versions of azure-resourcemanager-monitor Show documentation
This package contains Microsoft Azure Monitor SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.resourcemanager.monitor.models;
import com.azure.core.http.rest.PagedFlux;
import com.azure.core.http.rest.PagedIterable;
import com.azure.resourcemanager.monitor.MonitorManager;
import com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager;
/** Entry point for Monitor Metric Definitions API. */
public interface MetricDefinitions extends HasManager {
/**
* Lists Metric Definitions for a given resource.
*
* @param resourceId The resource Id.
* @return list of metric definitions.
*/
PagedIterable listByResource(String resourceId);
/**
* Lists Metric Definitions for a given resource.
*
* @param resourceId The resource Id.
* @return a representation of the deferred computation of Metric Definitions list call.
*/
PagedFlux listByResourceAsync(String resourceId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy