MockableAppContainersSubscriptionResource.GetSessionPoolsAsync Method

Definition

Get the session pools in a given subscription.

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

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to