Dela via


BatchAccountOperationsExtensions.ListDetectorsAsync Metod

Definition

Hämtar information om de detektorer som är tillgängliga för ett visst Batch-konto.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Batch.Models.DetectorResponse>> ListDetectorsAsync (this Microsoft.Azure.Management.Batch.IBatchAccountOperations operations, string resourceGroupName, string accountName, System.Threading.CancellationToken cancellationToken = default);
static member ListDetectorsAsync : Microsoft.Azure.Management.Batch.IBatchAccountOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Batch.Models.DetectorResponse>>
<Extension()>
Public Function ListDetectorsAsync (operations As IBatchAccountOperations, resourceGroupName As String, accountName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of DetectorResponse))

Parametrar

operations
IBatchAccountOperations

Åtgärdsgruppen för den här tilläggsmetoden.

resourceGroupName
String

Namnet på resursgruppen som innehåller Batch-kontot.

accountName
String

Namnet på Batch-kontot.

cancellationToken
CancellationToken

Annulleringstoken.

Returer

Gäller för