Language

TaskAgentHttpClientBase.RefreshDeploymentTargetsAsync Method

Definition

Overloads

Name Description
RefreshDeploymentTargetsAsync(Guid, Int32, Object, CancellationToken)

[Preview API] Upgrade the deployment targets in a deployment group.

RefreshDeploymentTargetsAsync(String, Int32, Object, CancellationToken)

[Preview API] Upgrade the deployment targets in a deployment group.

RefreshDeploymentTargetsAsync(Guid, Int32, Object, CancellationToken)

[Preview API] Upgrade the deployment targets in a deployment group.

public virtual System.Threading.Tasks.Task RefreshDeploymentTargetsAsync(Guid project, int deploymentGroupId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member RefreshDeploymentTargetsAsync : Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.RefreshDeploymentTargetsAsync : Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

project
Guid

Project ID

deploymentGroupId
Int32

ID of the deployment group.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

RefreshDeploymentTargetsAsync(String, Int32, Object, CancellationToken)

[Preview API] Upgrade the deployment targets in a deployment group.

public virtual System.Threading.Tasks.Task RefreshDeploymentTargetsAsync(string project, int deploymentGroupId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member RefreshDeploymentTargetsAsync : string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task
override this.RefreshDeploymentTargetsAsync : string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

project
String

Project ID or project name

deploymentGroupId
Int32

ID of the deployment group.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to