共用方式為


BatchAccountOperationsExtensions.ListDetectorsAsync 方法

定義

取得指定 Batch 帳戶可用之偵測器的相關資訊。

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))

參數

operations
IBatchAccountOperations

這個擴充方法的作業群組。

resourceGroupName
String

包含 Batch 帳戶的資源群組名稱。

accountName
String

Batch 帳戶的名稱。

cancellationToken
CancellationToken

取消語彙基元。

傳回

適用於