ContainerAppManagedEnvironmentDetectorCollection.GetAllAsync Method

Definition

Get the list of diagnostics for a Managed Environment used to host container apps.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to