Compartilhar via


BatchAccountDetectorCollection.Get(String, CancellationToken) Método

Definição

Obtém informações sobre o detector especificado para uma determinada conta do Lote.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{accountName}/detectores/{detectorId}
  • Operação IdBatchAccount_GetDetector
public virtual Azure.Response<Azure.ResourceManager.Batch.BatchAccountDetectorResource> Get (string detectorId, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Batch.BatchAccountDetectorResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Batch.BatchAccountDetectorResource>
Public Overridable Function Get (detectorId As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of BatchAccountDetectorResource)

Parâmetros

detectorId
String

O nome do detector.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

detectorId é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

detectorId é nulo.

Aplica-se a