Partager via


MetricDefinitionsClient Interface

public interface MetricDefinitionsClient

An instance of this class provides access to all the operations defined in MetricDefinitionsClient.

Method Summary

Modifier and Type Method and Description
abstract PagedIterable<MetricDefinitionInner> list(String resourceUri)

Lists the metric definitions for the resource.

abstract PagedIterable<MetricDefinitionInner> list(String resourceUri, String metricnamespace, Context context)

Lists the metric definitions for the resource.

abstract PagedFlux<MetricDefinitionInner> listAsync(String resourceUri)

Lists the metric definitions for the resource.

abstract PagedFlux<MetricDefinitionInner> listAsync(String resourceUri, String metricnamespace)

Lists the metric definitions for the resource.

Method Details

list

public abstract PagedIterable list(String resourceUri)

Lists the metric definitions for the resource.

Parameters:

resourceUri - The identifier of the resource.

Returns:

represents collection of metric definitions as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String resourceUri, String metricnamespace, Context context)

Lists the metric definitions for the resource.

Parameters:

resourceUri - The identifier of the resource.
metricnamespace - Metric namespace to query metric definitions for.
context - The context to associate with this operation.

Returns:

represents collection of metric definitions as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync(String resourceUri)

Lists the metric definitions for the resource.

Parameters:

resourceUri - The identifier of the resource.

Returns:

represents collection of metric definitions as paginated response with PagedFlux<T>.

listAsync

public abstract PagedFlux listAsync(String resourceUri, String metricnamespace)

Lists the metric definitions for the resource.

Parameters:

resourceUri - The identifier of the resource.
metricnamespace - Metric namespace to query metric definitions for.

Returns:

represents collection of metric definitions as paginated response with PagedFlux<T>.

Applies to