TaskAgentHttpClientBase.GetDeploymentGroupAsync 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
| GetDeploymentGroupAsync(Guid, Int32, Nullable<DeploymentGroupActionFilter>, Nullable<DeploymentGroupExpands>, Object, CancellationToken) |
[Preview API] Get a deployment group by its ID. |
| GetDeploymentGroupAsync(String, Int32, Nullable<DeploymentGroupActionFilter>, Nullable<DeploymentGroupExpands>, Object, CancellationToken) |
[Preview API] Get a deployment group by its ID. |
GetDeploymentGroupAsync(Guid, Int32, Nullable<DeploymentGroupActionFilter>, Nullable<DeploymentGroupExpands>, Object, CancellationToken)
[Preview API] Get a deployment group by its ID.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentGroup> GetDeploymentGroupAsync(Guid project, int deploymentGroupId, Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentGroupActionFilter> actionFilter = null, Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentGroupExpands> expand = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetDeploymentGroupAsync : Guid * int * Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentGroupActionFilter> * Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentGroupExpands> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentGroup>
override this.GetDeploymentGroupAsync : Guid * int * Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentGroupActionFilter> * Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentGroupExpands> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentGroup>
Parameters
- project
- Guid
Project ID
- deploymentGroupId
- Int32
ID of the deployment group.
- actionFilter
- Nullable<DeploymentGroupActionFilter>
Get the deployment group only if this action can be performed on it.
- expand
- Nullable<DeploymentGroupExpands>
Include these additional details in the returned object.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetDeploymentGroupAsync(String, Int32, Nullable<DeploymentGroupActionFilter>, Nullable<DeploymentGroupExpands>, Object, CancellationToken)
[Preview API] Get a deployment group by its ID.
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentGroup> GetDeploymentGroupAsync(string project, int deploymentGroupId, Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentGroupActionFilter> actionFilter = null, Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentGroupExpands> expand = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetDeploymentGroupAsync : string * int * Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentGroupActionFilter> * Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentGroupExpands> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentGroup>
override this.GetDeploymentGroupAsync : string * int * Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentGroupActionFilter> * Nullable<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentGroupExpands> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.DeploymentGroup>
Parameters
- project
- String
Project ID or project name
- deploymentGroupId
- Int32
ID of the deployment group.
- actionFilter
- Nullable<DeploymentGroupActionFilter>
Get the deployment group only if this action can be performed on it.
- expand
- Nullable<DeploymentGroupExpands>
Include these additional details in the returned object.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.