Share via


TilesOperationsExtensions.GenerateTokenAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.PowerBI.Api.Models.EmbedToken> GenerateTokenAsync (this Microsoft.PowerBI.Api.ITilesOperations operations, Guid groupId, Guid dashboardId, Guid tileId, Microsoft.PowerBI.Api.Models.GenerateTokenRequest requestParameters, System.Threading.CancellationToken cancellationToken = default);
static member GenerateTokenAsync : Microsoft.PowerBI.Api.ITilesOperations * Guid * Guid * Guid * Microsoft.PowerBI.Api.Models.GenerateTokenRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.PowerBI.Api.Models.EmbedToken>
<Extension()>
Public Function GenerateTokenAsync (operations As ITilesOperations, groupId As Guid, dashboardId As Guid, tileId As Guid, requestParameters As GenerateTokenRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of EmbedToken)

Parameters

operations
ITilesOperations
groupId
Guid
dashboardId
Guid
tileId
Guid
requestParameters
GenerateTokenRequest
cancellationToken
CancellationToken

Returns

Applies to