Partilhar via


BatchAccountResource.GetBatchAccountDetector 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}
  • IdBatchAccount_GetDetector de operação
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)

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 era esperado que não estivesse vazio.

detectorId é nulo.

Aplica-se a