Freigeben über


BatchAccountResource.GetBatchAccountDetector Methode

Definition

Ruft Informationen zum angegebenen Detektor für ein bestimmtes Batch-Konto ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/detectors/{detectorId}
  • Vorgang 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)

Parameter

detectorId
String

Der Name des Detektors.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

detectorId ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

detectorId ist NULL.

Gilt für: