Bearbeiten

Freigeben über


TaskAgentHttpClientBase.GetDeploymentMachinesAsync Method

Definition

Overloads

GetDeploymentMachinesAsync(Guid, Int32, IEnumerable<String>, String, Nullable<DeploymentMachineExpands>, Object, CancellationToken)

[Preview API]

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

Parameters

project
Guid

Project ID

deploymentGroupId
Int32
name
String
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetDeploymentMachinesAsync(String, Int32, IEnumerable<String>, String, Nullable<DeploymentMachineExpands>, Object, CancellationToken)

[Preview API]

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

The cancellation token to cancel operation.

Returns

Applies to