TaskAgentHttpClientBase.GetServiceGroupAsync 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
| GetServiceGroupAsync(Guid, Int32, Int32, Object, CancellationToken) |
[Preview API] |
| GetServiceGroupAsync(String, Int32, Int32, Object, CancellationToken) |
[Preview API] |
GetServiceGroupAsync(Guid, Int32, Int32, Object, CancellationToken)
[Preview API]
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.KubernetesServiceGroup> GetServiceGroupAsync(Guid project, int environmentId, int serviceGroupId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetServiceGroupAsync : Guid * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.KubernetesServiceGroup>
override this.GetServiceGroupAsync : Guid * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.KubernetesServiceGroup>
Parameters
- project
- Guid
Project ID
- environmentId
- Int32
- serviceGroupId
- Int32
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GetServiceGroupAsync(String, Int32, Int32, Object, CancellationToken)
[Preview API]
public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.KubernetesServiceGroup> GetServiceGroupAsync(string project, int environmentId, int serviceGroupId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetServiceGroupAsync : string * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.KubernetesServiceGroup>
override this.GetServiceGroupAsync : string * int * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.KubernetesServiceGroup>
Parameters
- project
- String
Project ID or project name
- environmentId
- Int32
- serviceGroupId
- Int32
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.