AppServiceEnvironmentResource.GetDiagnosticsAsync(CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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: 2023-12-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.