Freigeben über


SiteDiagnosticResource.GetSiteDiagnosticDetector Methode

Definition

Beschreibung für Get Detector

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/Diagnose/{diagnosticCategory}/detectors/{detectorName}
  • Vorgangs-IdDiagnostics_GetSiteDetector
public virtual Azure.Response<Azure.ResourceManager.AppService.SiteDiagnosticDetectorResource> GetSiteDiagnosticDetector (string detectorName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSiteDiagnosticDetector : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.SiteDiagnosticDetectorResource>
override this.GetSiteDiagnosticDetector : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppService.SiteDiagnosticDetectorResource>
Public Overridable Function GetSiteDiagnosticDetector (detectorName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SiteDiagnosticDetectorResource)

Parameter

detectorName
String

Detektorname.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

detectorName ist NULL.

Gilt für: