TaskAgentHttpClientBase.GetDeploymentMachineGroupAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- actionFilter
- Nullable<MachineGroupActionFilter>
- 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
- actionFilter
- Nullable<MachineGroupActionFilter>
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.