Compartilhar via


AppServiceEnvironmentResource.GetHostingEnvironmentDetectorAsync Método

Definição

Descrição para Obter Resposta do Detector de Ambiente de Hospedagem

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/detectores/{detectorName}
  • IdDiagnostics_GetHostingEnvironmentDetectorResponse de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.HostingEnvironmentDetectorResource>> GetHostingEnvironmentDetectorAsync (string detectorName, DateTimeOffset? startTime = default, DateTimeOffset? endTime = default, string timeGrain = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetHostingEnvironmentDetectorAsync : string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.HostingEnvironmentDetectorResource>>
override this.GetHostingEnvironmentDetectorAsync : string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.HostingEnvironmentDetectorResource>>
Public Overridable Function GetHostingEnvironmentDetectorAsync (detectorName As String, Optional startTime As Nullable(Of DateTimeOffset) = Nothing, Optional endTime As Nullable(Of DateTimeOffset) = Nothing, Optional timeGrain As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HostingEnvironmentDetectorResource))

Parâmetros

detectorName
String

Nome do Recurso do Detector.

startTime
Nullable<DateTimeOffset>

Hora de Início.

endTime
Nullable<DateTimeOffset>

Hora de Término.

timeGrain
String

Time Grain.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

detectorName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

detectorName é nulo.

Aplica-se a