Udostępnij za pośrednictwem


AppServiceEnvironmentResource.GetDiagnosticsAsync(CancellationToken) Method

Definition

Description for Get diagnostic information for an App Service Environment.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/diagnostics
  • Operation Id: AppServiceEnvironments_ListDiagnostics
  • Default Api Version: 2024-04-01
  • Resource: AppServiceEnvironmentResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.HostingEnvironmentDiagnostics> GetDiagnosticsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDiagnosticsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.HostingEnvironmentDiagnostics>
override this.GetDiagnosticsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.HostingEnvironmentDiagnostics>
Public Overridable Function GetDiagnosticsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of HostingEnvironmentDiagnostics)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of HostingEnvironmentDiagnostics that may take multiple service requests to iterate over.

Applies to