DevicesOperationsExtensions.ListMetricsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the metrics for the specified device.
public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.StorSimple8000Series.Models.Metrics>> ListMetricsAsync (this Microsoft.Azure.Management.StorSimple8000Series.IDevicesOperations operations, Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.StorSimple8000Series.Models.MetricFilter> odataQuery, string deviceName, string resourceGroupName, string managerName, System.Threading.CancellationToken cancellationToken = default);
static member ListMetricsAsync : Microsoft.Azure.Management.StorSimple8000Series.IDevicesOperations * Microsoft.Rest.Azure.OData.ODataQuery<Microsoft.Azure.Management.StorSimple8000Series.Models.MetricFilter> * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.StorSimple8000Series.Models.Metrics>>
<Extension()>
Public Function ListMetricsAsync (operations As IDevicesOperations, odataQuery As ODataQuery(Of MetricFilter), deviceName As String, resourceGroupName As String, managerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of Metrics))
Parameters
- operations
- IDevicesOperations
The operations group for this extension method.
- odataQuery
- ODataQuery<MetricFilter>
OData parameters to apply to the operation.
- deviceName
- String
The device name
- resourceGroupName
- String
The resource group name
- managerName
- String
The manager name
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET