Bearbeiten

Freigeben über


TaskAgentHttpClientBase.GetDeploymentGroupsMetricsAsync Method

Definition

Overloads

GetDeploymentGroupsMetricsAsync(Guid, String, String, Nullable<Int32>, Object, CancellationToken)

[Preview API] Get a list of deployment group metrics.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentGroupMetrics>> GetDeploymentGroupsMetricsAsync(Guid project, string deploymentGroupName = null, string continuationToken = null, Nullable<int> top = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetDeploymentGroupsMetricsAsync : Guid * string * string * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentGroupMetrics>>
override this.GetDeploymentGroupsMetricsAsync : Guid * string * string * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentGroupMetrics>>

Parameters

project
Guid

Project ID

deploymentGroupName
String

Name of the deployment group.

continuationToken
String

Get metrics for deployment groups with names greater than this continuationToken lexicographically.

top
Nullable<Int32>

Maximum number of deployment group metrics to return. Default is 50.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetDeploymentGroupsMetricsAsync(String, String, String, Nullable<Int32>, Object, CancellationToken)

[Preview API] Get a list of deployment group metrics.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentGroupMetrics>> GetDeploymentGroupsMetricsAsync(string project, string deploymentGroupName = null, string continuationToken = null, Nullable<int> top = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetDeploymentGroupsMetricsAsync : string * string * string * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentGroupMetrics>>
override this.GetDeploymentGroupsMetricsAsync : string * string * string * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentGroupMetrics>>

Parameters

project
String

Project ID or project name

deploymentGroupName
String

Name of the deployment group.

continuationToken
String

Get metrics for deployment groups with names greater than this continuationToken lexicographically.

top
Nullable<Int32>

Maximum number of deployment group metrics to return. Default is 50.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to