共用方式為


ApplicationInsightsDataClientExtensions.GetMetrics Method

Definition

Retrieve metric data

public static System.Collections.Generic.IList<Microsoft.Azure.ApplicationInsights.Models.MetricsResultsItem> GetMetrics (this Microsoft.Azure.ApplicationInsights.IApplicationInsightsDataClient operations, System.Collections.Generic.IList<Microsoft.Azure.ApplicationInsights.Models.MetricsPostBodySchema> body);
static member GetMetrics : Microsoft.Azure.ApplicationInsights.IApplicationInsightsDataClient * System.Collections.Generic.IList<Microsoft.Azure.ApplicationInsights.Models.MetricsPostBodySchema> -> System.Collections.Generic.IList<Microsoft.Azure.ApplicationInsights.Models.MetricsResultsItem>
<Extension()>
Public Function GetMetrics (operations As IApplicationInsightsDataClient, body As IList(Of MetricsPostBodySchema)) As IList(Of MetricsResultsItem)

Parameters

operations
IApplicationInsightsDataClient

The operations group for this extension method.

body
IList<MetricsPostBodySchema>

The batched metrics query.

Returns

Remarks

Gets metric values for multiple metrics

Applies to