Compartilhar via


ManagersOperationsExtensions.ListMetricDefinitionAsync Método

Definição

Obtém as definições de métrica para o gerenciador especificado.

public static System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.StorSimple8000Series.Models.MetricDefinition>> ListMetricDefinitionAsync (this Microsoft.Azure.Management.StorSimple8000Series.IManagersOperations operations, string resourceGroupName, string managerName, System.Threading.CancellationToken cancellationToken = default);
static member ListMetricDefinitionAsync : Microsoft.Azure.Management.StorSimple8000Series.IManagersOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.StorSimple8000Series.Models.MetricDefinition>>
<Extension()>
Public Function ListMetricDefinitionAsync (operations As IManagersOperations, resourceGroupName As String, managerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of MetricDefinition))

Parâmetros

operations
IManagersOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos

managerName
String

O nome do gerente

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a