共用方式為


DiagnosticsOperationsExtensions.GetSiteDetectorAsync Method

Definition

Get Detector

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.DetectorDefinitionResource> GetSiteDetectorAsync (this Microsoft.Azure.Management.WebSites.IDiagnosticsOperations operations, string resourceGroupName, string siteName, string diagnosticCategory, string detectorName, System.Threading.CancellationToken cancellationToken = default);
static member GetSiteDetectorAsync : Microsoft.Azure.Management.WebSites.IDiagnosticsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Models.DetectorDefinitionResource>
<Extension()>
Public Function GetSiteDetectorAsync (operations As IDiagnosticsOperations, resourceGroupName As String, siteName As String, diagnosticCategory As String, detectorName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of DetectorDefinitionResource)

Parameters

operations
IDiagnosticsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

siteName
String

Site Name

diagnosticCategory
String

Diagnostic Category

detectorName
String

Detector Name

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Get Detector

Applies to