MockableAppContainersSubscriptionResource.GetSessionPools 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.
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.