Partager via


MetricNamespacesClient Interface

public interface MetricNamespacesClient

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

Method Summary

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

Lists the metric namespaces for the resource.

abstract PagedIterable<MetricNamespaceInner> list(String resourceUri, String startTime, Context context)

Lists the metric namespaces for the resource.

abstract PagedFlux<MetricNamespaceInner> listAsync(String resourceUri)

Lists the metric namespaces for the resource.

abstract PagedFlux<MetricNamespaceInner> listAsync(String resourceUri, String startTime)

Lists the metric namespaces for the resource.

Method Details

list

public abstract PagedIterable list(String resourceUri)

Lists the metric namespaces for the resource.

Parameters:

resourceUri - The identifier of the resource.

Returns:

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

list

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

Lists the metric namespaces for the resource.

Parameters:

resourceUri - The identifier of the resource.
startTime - The ISO 8601 conform Date start time from which to query for metric namespaces.
context - The context to associate with this operation.

Returns:

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

listAsync

public abstract PagedFlux listAsync(String resourceUri)

Lists the metric namespaces for the resource.

Parameters:

resourceUri - The identifier of the resource.

Returns:

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

listAsync

public abstract PagedFlux listAsync(String resourceUri, String startTime)

Lists the metric namespaces for the resource.

Parameters:

resourceUri - The identifier of the resource.
startTime - The ISO 8601 conform Date start time from which to query for metric namespaces.

Returns:

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

Applies to