Bearbeiten

Freigeben über


TaskAgentHttpClientBase.GetDeploymentMachineGroupsAsync Method

Definition

Overloads

GetDeploymentMachineGroupsAsync(Guid, String, Nullable<MachineGroupActionFilter>, Object, CancellationToken)

[Preview API]

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentMachineGroup>> GetDeploymentMachineGroupsAsync(Guid project, string machineGroupName = null, Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.MachineGroupActionFilter> actionFilter = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetDeploymentMachineGroupsAsync : Guid * string * Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.MachineGroupActionFilter> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentMachineGroup>>
override this.GetDeploymentMachineGroupsAsync : Guid * string * Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.MachineGroupActionFilter> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentMachineGroup>>

Parameters

project
Guid

Project ID

machineGroupName
String
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetDeploymentMachineGroupsAsync(String, String, Nullable<MachineGroupActionFilter>, Object, CancellationToken)

[Preview API]

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentMachineGroup>> GetDeploymentMachineGroupsAsync(string project, string machineGroupName = null, Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.MachineGroupActionFilter> actionFilter = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetDeploymentMachineGroupsAsync : string * string * Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.MachineGroupActionFilter> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentMachineGroup>>
override this.GetDeploymentMachineGroupsAsync : string * string * Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.MachineGroupActionFilter> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentMachineGroup>>

Parameters

project
String

Project ID or project name

machineGroupName
String
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to