Language

TaskAgentHttpClientBase.GenerateDeploymentMachineGroupAccessTokenAsync Method

Definition

Overloads

GenerateDeploymentMachineGroupAccessTokenAsync(Guid, Int32, Object, CancellationToken)

[Preview API]

public virtual System.Threading.Tasks.Task<string> GenerateDeploymentMachineGroupAccessTokenAsync(Guid project, int machineGroupId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GenerateDeploymentMachineGroupAccessTokenAsync : Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
override this.GenerateDeploymentMachineGroupAccessTokenAsync : Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>

Parameters

project
Guid

Project ID

machineGroupId
Int32
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GenerateDeploymentMachineGroupAccessTokenAsync(String, Int32, Object, CancellationToken)

[Preview API]

public virtual System.Threading.Tasks.Task<string> GenerateDeploymentMachineGroupAccessTokenAsync(string project, int machineGroupId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GenerateDeploymentMachineGroupAccessTokenAsync : string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
override this.GenerateDeploymentMachineGroupAccessTokenAsync : string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>

Parameters

project
String

Project ID or project name

machineGroupId
Int32
userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to