Sdílet prostřednictvím


WorkspaceCollectionsOperationsExtensions.MigrateAsync Method

Definition

Migrates an existing Power BI Workspace Collection to a different resource group and/or subscription.

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

Parameters

operations
IWorkspaceCollectionsOperations

The operations group for this extension method.

resourceGroupName
String

Azure resource group

body
MigrateWorkspaceCollectionRequest

Workspace migration request

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to