Compartir a través de


SiteDiagnosticDetectorCollection.GetAsync(String, CancellationToken) Método

Definición

Descripción de Get Detector

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/diagnostics/{diagnosticCategory}/detectors/{detectorName}
  • IdDiagnostics_GetSiteDetector de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteDiagnosticDetectorResource>> GetAsync (string detectorName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteDiagnosticDetectorResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.SiteDiagnosticDetectorResource>>
Public Overridable Function GetAsync (detectorName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SiteDiagnosticDetectorResource))

Parámetros

detectorName
String

Nombre del detector.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

detectorName es una cadena vacía y se esperaba que no estuviera vacía.

detectorName es null.

Se aplica a