Share via


MetricsQueryResult.GetMetricByName(String) Method

Definition

Returns the MetricResult for the name.

public Azure.Monitor.Query.Models.MetricResult GetMetricByName (string name);
member this.GetMetricByName : string -> Azure.Monitor.Query.Models.MetricResult
Public Function GetMetricByName (name As String) As MetricResult

Parameters

name
String

The name of the Metric.

Returns

Applies to