Share via


WorkspaceCollectionsOperationsExtensions.RegenerateKey Method

Definition

Regenerates the primary or secondary access key for the specified Power BI Workspace Collection.

public static Microsoft.Azure.Management.PowerBIEmbedded.Models.WorkspaceCollectionAccessKeys RegenerateKey (this Microsoft.Azure.Management.PowerBIEmbedded.IWorkspaceCollectionsOperations operations, string resourceGroupName, string workspaceCollectionName, Microsoft.Azure.Management.PowerBIEmbedded.Models.WorkspaceCollectionAccessKey body);
static member RegenerateKey : Microsoft.Azure.Management.PowerBIEmbedded.IWorkspaceCollectionsOperations * string * string * Microsoft.Azure.Management.PowerBIEmbedded.Models.WorkspaceCollectionAccessKey -> Microsoft.Azure.Management.PowerBIEmbedded.Models.WorkspaceCollectionAccessKeys
<Extension()>
Public Function RegenerateKey (operations As IWorkspaceCollectionsOperations, resourceGroupName As String, workspaceCollectionName As String, body As WorkspaceCollectionAccessKey) As WorkspaceCollectionAccessKeys

Parameters

operations
IWorkspaceCollectionsOperations

The operations group for this extension method.

resourceGroupName
String

Azure resource group

workspaceCollectionName
String

Power BI Embedded Workspace Collection name

body
WorkspaceCollectionAccessKey

Access key to regenerate

Returns

Applies to