WorkspaceCollectionsOperationsExtensions.GetAccessKeysAsync(IWorkspaceCollectionsOperations, String, String, CancellationToken) Method

Definition

Retrieves the primary and secondary access keys for the specified Power BI Workspace Collection.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.PowerBIEmbedded.Models.WorkspaceCollectionAccessKeys> GetAccessKeysAsync (this Microsoft.Azure.Management.PowerBIEmbedded.IWorkspaceCollectionsOperations operations, string resourceGroupName, string workspaceCollectionName, System.Threading.CancellationToken cancellationToken = default);
static member GetAccessKeysAsync : Microsoft.Azure.Management.PowerBIEmbedded.IWorkspaceCollectionsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.PowerBIEmbedded.Models.WorkspaceCollectionAccessKeys>
<Extension()>
Public Function GetAccessKeysAsync (operations As IWorkspaceCollectionsOperations, resourceGroupName As String, workspaceCollectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of WorkspaceCollectionAccessKeys)

Parameters

operations
IWorkspaceCollectionsOperations

The operations group for this extension method.

resourceGroupName
String

Azure resource group

workspaceCollectionName
String

Power BI Embedded Workspace Collection name

cancellationToken
CancellationToken

The cancellation token.

Returns

Task<WorkspaceCollectionAccessKeys>

Applies to