Bearbeiten

Freigeben über


TaskAgentHttpClientBase.GetDeploymentMachineGroupAsync Method

Definition

Overloads

GetDeploymentMachineGroupAsync(String, Int32, Nullable<MachineGroupActionFilter>, Object, CancellationToken)

[Preview API]

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

Parameters

project
String

Project ID or project name

machineGroupId
Int32
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetDeploymentMachineGroupAsync(Guid, Int32, Nullable<MachineGroupActionFilter>, Object, CancellationToken)

[Preview API]

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

Parameters

project
Guid

Project ID

machineGroupId
Int32
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to