TaskAgentHttpClientBase.GenerateDeploymentGroupAccessTokenAsync 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
| GenerateDeploymentGroupAccessTokenAsync(Guid, Int32, Object, CancellationToken) |
[Preview API] GET a PAT token for managing (configuring, removing, tagging) deployment targets in a deployment group. |
| GenerateDeploymentGroupAccessTokenAsync(String, Int32, Object, CancellationToken) |
[Preview API] GET a PAT token for managing (configuring, removing, tagging) deployment targets in a deployment group. |
GenerateDeploymentGroupAccessTokenAsync(Guid, Int32, Object, CancellationToken)
[Preview API] GET a PAT token for managing (configuring, removing, tagging) deployment targets in a deployment group.
public virtual System.Threading.Tasks.Task<string> GenerateDeploymentGroupAccessTokenAsync(Guid project, int deploymentGroupId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GenerateDeploymentGroupAccessTokenAsync : Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
override this.GenerateDeploymentGroupAccessTokenAsync : Guid * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Parameters
- project
- Guid
Project ID
- deploymentGroupId
- Int32
ID of the deployment group in which deployment targets are managed.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
GenerateDeploymentGroupAccessTokenAsync(String, Int32, Object, CancellationToken)
[Preview API] GET a PAT token for managing (configuring, removing, tagging) deployment targets in a deployment group.
public virtual System.Threading.Tasks.Task<string> GenerateDeploymentGroupAccessTokenAsync(string project, int deploymentGroupId, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GenerateDeploymentGroupAccessTokenAsync : string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
override this.GenerateDeploymentGroupAccessTokenAsync : string * int * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<string>
Parameters
- project
- String
Project ID or project name
- deploymentGroupId
- Int32
ID of the deployment group in which deployment targets are managed.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.