BatchAccountResource.GetBatchAccountDetector メソッド

定義

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

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

パラメーター

detectorId
String

検出器の名前。

cancellationToken
CancellationToken

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

戻り値

例外

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

detectorId が null です。

適用対象