Поделиться через


IDiagnosticsOperations.GetSiteDetectorSlotWithHttpMessagesAsync Метод

Определение

Получить детектор

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.AppService.Fluent.Models.DetectorDefinitionInner>> GetSiteDetectorSlotWithHttpMessagesAsync (string resourceGroupName, string siteName, string diagnosticCategory, string detectorName, string slot, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSiteDetectorSlotWithHttpMessagesAsync : string * string * string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.AppService.Fluent.Models.DetectorDefinitionInner>>
Public Function GetSiteDetectorSlotWithHttpMessagesAsync (resourceGroupName As String, siteName As String, diagnosticCategory As String, detectorName As String, slot As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of DetectorDefinitionInner))

Параметры

resourceGroupName
String

Имя группы ресурсов, к которой принадлежит ресурс.

siteName
String

Имя сайта

diagnosticCategory
String

Категория диагностики

detectorName
String

Имя детектора

slot
String

Имя слота

customHeaders
Dictionary<String,List<String>>

Заголовки, которые будут добавлены в запрос.

cancellationToken
CancellationToken

Токен отмены.

Возвращаемое значение

Исключения

Возникает, когда операция возвращает недопустимый код состояния

Возникает, если не удается десериализовать ответ

Возникает, если обязательный параметр имеет значение NULL

Комментарии

Описание получения детектора

Применяется к