你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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