TaskAgentHttpClientBase.GetDeploymentGroupsMetricsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| GetDeploymentGroupsMetricsAsync(Guid, String, String, Nullable<Int32>, Object, CancellationToken) |
[Preview API] Get a list of deployment group metrics. |
| GetDeploymentGroupsMetricsAsync(String, String, String, Nullable<Int32>, Object, CancellationToken) |
[Preview API] Get a list of deployment group metrics. |
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.
- 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.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.