BatchAccountResource.GetBatchAccountDetectorAsync メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
特定の 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 です。