Bearbeiten

Freigeben über


TaskAgentHttpClientBase.GetDeploymentPoolsSummaryAsync Method

Definition

[Preview API] Get a list of deployment pool summaries.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentPoolSummary>> GetDeploymentPoolsSummaryAsync(string poolName = null, Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentPoolSummaryExpands> expands = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetDeploymentPoolsSummaryAsync : string * Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentPoolSummaryExpands> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentPoolSummary>>
override this.GetDeploymentPoolsSummaryAsync : string * Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentPoolSummaryExpands> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentPoolSummary>>

Parameters

poolName
String

Name of the deployment pool.

expands
Nullable<DeploymentPoolSummaryExpands>

Include these additional details in the returned objects.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to