Language

TaskAgentHttpClientBase.UpdateServiceGroupAsync Method

Definition

Overloads

UpdateServiceGroupAsync(Guid, Int32, KubernetesServiceGroup, Object, CancellationToken)

[Preview API]

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.KubernetesServiceGroup> UpdateServiceGroupAsync(Guid project, int environmentId, Microsoft.TeamFoundation.DistributedTask.WebApi.KubernetesServiceGroup serviceGroup, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdateServiceGroupAsync : Guid * int * Microsoft.TeamFoundation.DistributedTask.WebApi.KubernetesServiceGroup * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.KubernetesServiceGroup>
override this.UpdateServiceGroupAsync : Guid * int * Microsoft.TeamFoundation.DistributedTask.WebApi.KubernetesServiceGroup * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.KubernetesServiceGroup>

Parameters

project
Guid

Project ID

environmentId
Int32
serviceGroup
KubernetesServiceGroup
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

UpdateServiceGroupAsync(String, Int32, KubernetesServiceGroup, Object, CancellationToken)

[Preview API]

public virtual System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.KubernetesServiceGroup> UpdateServiceGroupAsync(string project, int environmentId, Microsoft.TeamFoundation.DistributedTask.WebApi.KubernetesServiceGroup serviceGroup, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member UpdateServiceGroupAsync : string * int * Microsoft.TeamFoundation.DistributedTask.WebApi.KubernetesServiceGroup * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.KubernetesServiceGroup>
override this.UpdateServiceGroupAsync : string * int * Microsoft.TeamFoundation.DistributedTask.WebApi.KubernetesServiceGroup * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.TeamFoundation.DistributedTask.WebApi.KubernetesServiceGroup>

Parameters

project
String

Project ID or project name

environmentId
Int32
serviceGroup
KubernetesServiceGroup
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to