共用方式為


AppPlatformBuildServiceAgentPoolCollection.GetAllAsync Method

Definition

List build service agent pool.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/buildServices/{buildServiceName}/agentPools
  • Operation Id: BuildServiceAgentPool_List
  • Default Api Version: 2022-12-01
  • Resource: AppPlatformBuildServiceAgentPoolResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppPlatform.AppPlatformBuildServiceAgentPoolResource> GetAllAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppPlatform.AppPlatformBuildServiceAgentPoolResource>
override this.GetAllAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppPlatform.AppPlatformBuildServiceAgentPoolResource>
Public Overridable Function GetAllAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AppPlatformBuildServiceAgentPoolResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to