Usages Interface

public interface Usages

Resource collection API of Usages.

Method Summary

Modifier and Type Method and Description
abstract PagedIterable<UsageMetric> list(String resourceGroupName, String workspaceName)

Gets a list of usage metrics for a workspace.

abstract PagedIterable<UsageMetric> list(String resourceGroupName, String workspaceName, Context context)

Gets a list of usage metrics for a workspace.

Method Details

list

public abstract PagedIterable list(String resourceGroupName, String workspaceName)

Gets a list of usage metrics for a workspace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.

Returns:

a list of usage metrics for a workspace as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String resourceGroupName, String workspaceName, Context context)

Gets a list of usage metrics for a workspace.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
workspaceName - The name of the workspace.
context - The context to associate with this operation.

Returns:

a list of usage metrics for a workspace as paginated response with PagedIterable<T>.

Applies to