WorkspaceCollectionsOperationsExtensions.RegenerateKeyAsync 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.
Regenerates the primary or secondary access key for the specified Power BI Workspace Collection.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.PowerBIEmbedded.Models.WorkspaceCollectionAccessKeys> RegenerateKeyAsync (this Microsoft.Azure.Management.PowerBIEmbedded.IWorkspaceCollectionsOperations operations, string resourceGroupName, string workspaceCollectionName, Microsoft.Azure.Management.PowerBIEmbedded.Models.WorkspaceCollectionAccessKey body, System.Threading.CancellationToken cancellationToken = default);
static member RegenerateKeyAsync : Microsoft.Azure.Management.PowerBIEmbedded.IWorkspaceCollectionsOperations * string * string * Microsoft.Azure.Management.PowerBIEmbedded.Models.WorkspaceCollectionAccessKey * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.PowerBIEmbedded.Models.WorkspaceCollectionAccessKeys>
<Extension()>
Public Function RegenerateKeyAsync (operations As IWorkspaceCollectionsOperations, resourceGroupName As String, workspaceCollectionName As String, body As WorkspaceCollectionAccessKey, 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
Access key to regenerate
- cancellationToken
- CancellationToken
The cancellation token.