MockableDevOpsInfrastructureSubscriptionResource.GetDevOpsPoolsAsync Method

Definition

List Pool resources by subscription ID

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DevOpsInfrastructure/pools
  • Operation Id: Pool_ListBySubscription
  • Default Api Version: 2024-04-04-preview
  • Resource: DevOpsPoolResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.DevOpsInfrastructure.DevOpsPoolResource> GetDevOpsPoolsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDevOpsPoolsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DevOpsInfrastructure.DevOpsPoolResource>
override this.GetDevOpsPoolsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.DevOpsInfrastructure.DevOpsPoolResource>
Public Overridable Function GetDevOpsPoolsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of DevOpsPoolResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of DevOpsPoolResource that may take multiple service requests to iterate over.

Applies to