Share via


MockableAppContainersSubscriptionResource.GetSessionPools 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-01-01
  • Resource: SessionPoolResource
public virtual Azure.Pageable<Azure.ResourceManager.AppContainers.SessionPoolResource> GetSessionPools(System.Threading.CancellationToken cancellationToken = default);
abstract member GetSessionPools : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppContainers.SessionPoolResource>
override this.GetSessionPools : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppContainers.SessionPoolResource>
Public Overridable Function GetSessionPools (Optional cancellationToken As CancellationToken = Nothing) As Pageable(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