UsageMetricsOperationsExtensions.List Method (IUsageMetricsOperations, String, String)

 

The List operation lists the usage metrics for the resource.

Namespace:   Microsoft.Azure.Insights
Assembly:  Microsoft.Azure.Insights (in Microsoft.Azure.Insights.dll)

public static UsageMetricListResponse List(
	this IUsageMetricsOperations operations,
	string resourceUri,
	string filterString
)

Parameters

operations
Type: Microsoft.Azure.Insights.IUsageMetricsOperations

Reference to the Microsoft.Azure.Insights.IUsageMetricsOperations.

resourceUri
Type: System.String

Required. The resource identifier of the target resource to get usages for.

filterString
Type: System.String

Required. An OData $filter expression that supports querying by the name of the usage. For example, "name.value eq 'Percentage CPU'". Name is optional, meaning the expression may be "".

Return Value

Type: Microsoft.Azure.Insights.Models.UsageMetricListResponse

The List Usage Metric operation response.

Return to top
Show: