MockableAppContainersSubscriptionResource.GetSessionPoolsAsync 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.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
An async collection of SessionPoolResource that may take multiple service requests to iterate over.