Share via


AppServiceEnvironmentResource.GetDiagnostics(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.Pageable<Azure.ResourceManager.AppService.Models.HostingEnvironmentDiagnostics> GetDiagnostics (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDiagnostics : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.Models.HostingEnvironmentDiagnostics>
override this.GetDiagnostics : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.Models.HostingEnvironmentDiagnostics>
Public Overridable Function GetDiagnostics (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of HostingEnvironmentDiagnostics)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to