IUsageMetricsOperations.ListAsync Method (String, String, CancellationToken)

 

The List operation lists the usage metrics for the resource.

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

Function ListAsync (
	resourceUri As String,
	filterString As String,
	cancellationToken As CancellationToken
) As Task(Of UsageMetricListResponse)

Parameters

resourceUri
Type: System.String

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

filterString
Type: System.String

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 "".

cancellationToken
Type: System.Threading.CancellationToken

Cancellation token.

Return Value

Type: System.Threading.Tasks.Task(Of UsageMetricListResponse)

The List Usage Metric operation response.

Return to top
Show: