TaskAgentHttpClientBase.GetDeploymentMachineGroupsAsync 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
GetDeploymentMachineGroupsAsync(Guid, String, Nullable<MachineGroupActionFilter>, Object, CancellationToken)
[Preview API]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentMachineGroup>> GetDeploymentMachineGroupsAsync(Guid project, string machineGroupName = null, Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.MachineGroupActionFilter> actionFilter = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetDeploymentMachineGroupsAsync : Guid * string * Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.MachineGroupActionFilter> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentMachineGroup>>
override this.GetDeploymentMachineGroupsAsync : Guid * string * Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.MachineGroupActionFilter> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentMachineGroup>>
Parameters
- project
- Guid
Project ID
- machineGroupName
- String
- actionFilter
- Nullable<MachineGroupActionFilter>
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetDeploymentMachineGroupsAsync(String, String, Nullable<MachineGroupActionFilter>, Object, CancellationToken)
[Preview API]
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentMachineGroup>> GetDeploymentMachineGroupsAsync(string project, string machineGroupName = null, Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.MachineGroupActionFilter> actionFilter = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetDeploymentMachineGroupsAsync : string * string * Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.MachineGroupActionFilter> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentMachineGroup>>
override this.GetDeploymentMachineGroupsAsync : string * string * Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.MachineGroupActionFilter> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentMachineGroup>>
Parameters
- project
- String
Project ID or project name
- machineGroupName
- String
- actionFilter
- Nullable<MachineGroupActionFilter>
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.