Compartilhar via


WorkspaceCollectionsOperationsExtensions.RegenerateKeyAsync Método

Definição

Regenera a chave de acesso primária ou secundária para a Coleção de Workspaces do Power BI especificada.

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)

Parâmetros

operations
IWorkspaceCollectionsOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

Grupo de recursos do Azure

workspaceCollectionName
String

Power BI Embedded Nome da Coleção de Workspaces

body
WorkspaceCollectionAccessKey

Chave de acesso para regenerar

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a