Observação
O acesso a essa página exige autorização. Você pode tentar entrar ou alterar diretórios.
O acesso a essa página exige autorização. Você pode tentar alterar os diretórios.
Get Metrics function that takes in the MetricDefinitions (rather than names in the filter string) to allow users to cache the definitions themselves
Namespace: Microsoft.Azure.Insights
Assembly: Microsoft.Azure.Insights (in Microsoft.Azure.Insights.dll)
Syntax
Task<MetricListResponse> GetMetricsAsync(
string resourceUri,
string filterString,
IEnumerable<MetricDefinition> definitions,
CancellationToken cancellationToken
)
Task<MetricListResponse^>^ GetMetricsAsync(
String^ resourceUri,
String^ filterString,
IEnumerable<MetricDefinition^>^ definitions,
CancellationToken cancellationToken
)
abstract GetMetricsAsync :
resourceUri:string *
filterString:string *
definitions:IEnumerable<MetricDefinition> *
cancellationToken:CancellationToken -> Task<MetricListResponse>
Function GetMetricsAsync (
resourceUri As String,
filterString As String,
definitions As IEnumerable(Of MetricDefinition),
cancellationToken As CancellationToken
) As Task(Of MetricListResponse)
Parameters
resourceUri
Type: System.StringThe Resource Uri for the metrics
filterString
Type: System.StringThe filter string (no name specification allowed in this one)
definitions
Type: System.Collections.Generic.IEnumerable<MetricDefinition>The MetricDefinitions
cancellationToken
Type: System.Threading.CancellationTokenCancellation Token
Return Value
Type: System.Threading.Tasks.Task<MetricListResponse>
See Also
GetMetricsAsync Overload
IMetricOperations Interface
Microsoft.Azure.Insights Namespace
Return to top