Edit

TaskAgentHttpClientBase.UpdateDeploymentTargetsAsync Method

Definition

Overloads

UpdateDeploymentTargetsAsync(Guid, Int32, IEnumerable<DeploymentTargetUpdateParameter>, Object, CancellationToken)

[Preview API] Update tags of a list of deployment targets in a deployment group.

UpdateDeploymentTargetsAsync(String, Int32, IEnumerable<DeploymentTargetUpdateParameter>, Object, CancellationToken)

[Preview API] Update tags of a list of deployment targets in a deployment group.

UpdateDeploymentTargetsAsync(Guid, Int32, IEnumerable<DeploymentTargetUpdateParameter>, Object, CancellationToken)

[Preview API] Update tags of a list of deployment targets in a deployment group.

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

Parameters

project
Guid

Project ID

deploymentGroupId
Int32

ID of the deployment group in which deployment targets are updated.

machines
IEnumerable<DeploymentTargetUpdateParameter>

Deployment targets with tags to udpdate.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

UpdateDeploymentTargetsAsync(String, Int32, IEnumerable<DeploymentTargetUpdateParameter>, Object, CancellationToken)

[Preview API] Update tags of a list of deployment targets in a deployment group.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentMachine>> UpdateDeploymentTargetsAsync(string project, int deploymentGroupId, System.Collections.Generic.IEnumerable<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentTargetUpdateParameter> machines, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdateDeploymentTargetsAsync : string * int * seq<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentTargetUpdateParameter> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentMachine>>
override this.UpdateDeploymentTargetsAsync : string * int * seq<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentTargetUpdateParameter> * 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

deploymentGroupId
Int32

ID of the deployment group in which deployment targets are updated.

machines
IEnumerable<DeploymentTargetUpdateParameter>

Deployment targets with tags to udpdate.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to