次の方法で共有


BatchAccountResource.GetBatchAccountDetectorAsync メソッド

定義

特定の Batch アカウントの特定の検出機能に関する情報を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/detectors/{detectorId}
  • 操作IdBatchAccount_GetDetector
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Batch.BatchAccountDetectorResource>> GetBatchAccountDetectorAsync (string detectorId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetBatchAccountDetectorAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Batch.BatchAccountDetectorResource>>
override this.GetBatchAccountDetectorAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Batch.BatchAccountDetectorResource>>
Public Overridable Function GetBatchAccountDetectorAsync (detectorId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of BatchAccountDetectorResource))

パラメーター

detectorId
String

ディテクタの名前。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

detectorId は空の文字列であり、空でないと想定されていました。

detectorId が null です。

適用対象