ContainerAppDetectorCollection.GetAllAsync(CancellationToken) Method

Definition

Get the list of diagnostics for a given Container App.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/detectors.
  • Operation Id. : ContainerAppsDiagnostics_ListDetectors.
  • Default Api Version. : 2025-10-02-preview.
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppContainers.ContainerAppDetectorResource> GetAllAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppContainers.ContainerAppDetectorResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppContainers.ContainerAppDetectorResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ContainerAppDetectorResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to