Edit

TaskAgentHttpClientBase.UpdateDeploymentMachineGroupMachinesAsync Method

Definition

Overloads

UpdateDeploymentMachineGroupMachinesAsync(Guid, Int32, IEnumerable<DeploymentMachine>, Object, CancellationToken)

[Preview API]

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentMachine>> UpdateDeploymentMachineGroupMachinesAsync(Guid project, int machineGroupId, System.Collections.Generic.IEnumerable<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentMachine> deploymentMachines, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdateDeploymentMachineGroupMachinesAsync : Guid * int * seq<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentMachine> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentMachine>>
override this.UpdateDeploymentMachineGroupMachinesAsync : Guid * int * seq<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentMachine> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentMachine>>

Parameters

project
Guid

Project ID

machineGroupId
Int32
deploymentMachines
IEnumerable<DeploymentMachine>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

UpdateDeploymentMachineGroupMachinesAsync(String, Int32, IEnumerable<DeploymentMachine>, Object, CancellationToken)

[Preview API]

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentMachine>> UpdateDeploymentMachineGroupMachinesAsync(string project, int machineGroupId, System.Collections.Generic.IEnumerable<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentMachine> deploymentMachines, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdateDeploymentMachineGroupMachinesAsync : string * int * seq<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentMachine> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentMachine>>
override this.UpdateDeploymentMachineGroupMachinesAsync : string * int * seq<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentMachine> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentMachine>>

Parameters

project
String

Project ID or project name

machineGroupId
Int32
deploymentMachines
IEnumerable<DeploymentMachine>
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to