Udostępnij za pośrednictwem


VolumesOperationsExtensions.ListMetricDefinitionAsync Method

Definition

Gets the metric definitions for the specified volume.

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

Parameters

operations
IVolumesOperations

The operations group for this extension method.

deviceName
String

The device name

volumeContainerName
String

The volume container name.

volumeName
String

The volume name.

resourceGroupName
String

The resource group name

managerName
String

The manager name

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to