Share via


MockableDevOpsInfrastructureSubscriptionResource.GetDevOpsPools 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.Pageable<Azure.ResourceManager.DevOpsInfrastructure.DevOpsPoolResource> GetDevOpsPools (System.Threading.CancellationToken cancellationToken = default);
abstract member GetDevOpsPools : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DevOpsInfrastructure.DevOpsPoolResource>
override this.GetDevOpsPools : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.DevOpsInfrastructure.DevOpsPoolResource>
Public Overridable Function GetDevOpsPools (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of DevOpsPoolResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to